BasicFunctionTest.java (91745ed9) BasicFunctionTest.java (9edf8282)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 39 unchanged lines hidden (view full) ---

48 *
49 */
50public class BasicFunctionTest {
51
52 @Rule
53 public Logger log = Logger.getLogger(this);
54
55 @BeforeClass
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 39 unchanged lines hidden (view full) ---

48 *
49 */
50public class BasicFunctionTest {
51
52 @Rule
53 public Logger log = Logger.getLogger(this);
54
55 @BeforeClass
56 public static void beforeClass() throws Exception {
56 public static void beforeClass() {
57 app.clean();
58 }
59
60 @AfterClass
57 app.clean();
58 }
59
60 @AfterClass
61 public static void afterClass() throws Exception {
62 app.close();
61 public static void afterClass() {
62 app.stop();
63 }
64
65 @Before
66 public void before() {
63 }
64
65 @Before
66 public void before() {
67 app.close();
67 app.stop();
68 app.start();
69 }
68 app.start();
69 }
70
70
71 @Test
72 public void smokeTest() {
73 File smoketestOutput = new File(aoo.getUserInstallation(), "user/temp");
74 prepareData("TestExtension.oxt");
75 // Open sample file smoketestdoc.sxw
76 open(prepareData("smoketestdoc.sxw"));
77 writer.waitForEnabled(10, 2);

--- 605 unchanged lines hidden ---
71
72 @Test
73 public void smokeTest() {
74 File smoketestOutput = new File(aoo.getUserInstallation(), "user/temp");
75 prepareData("TestExtension.oxt");
76 // Open sample file smoketestdoc.sxw
77 open(prepareData("smoketestdoc.sxw"));
78 writer.waitForEnabled(10, 2);

--- 605 unchanged lines hidden ---