Skip to main content
summaryrefslogtreecommitdiffstats
blob: b9886731704773d17968e8a53941e96dd16c00f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*******************************************************************************
 * Copyright (c) 2004, 2007 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Boeing - initial API and implementation
 *******************************************************************************/
package org.eclipse.osee.ats;

import static org.junit.Assert.assertTrue;
import org.eclipse.osee.ats.actions.AtsTest_Demo_Action_Suite;
import org.eclipse.osee.ats.artifact.log.AtsLogTest;
import org.eclipse.osee.ats.artifact.log.LogItemTest;
import org.eclipse.osee.ats.artifact.note.AtsNoteTest;
import org.eclipse.osee.ats.artifact.note.NoteItemTest;
import org.eclipse.osee.ats.config.AtsBranchConfigurationTest;
import org.eclipse.osee.ats.editor.SMAPrintTest;
import org.eclipse.osee.ats.health.AtsValidateAtsDatabaseTest;
import org.eclipse.osee.ats.navigate.AtsNavigateItemsToMassEditorTest;
import org.eclipse.osee.ats.navigate.AtsNavigateItemsToTaskEditorTest;
import org.eclipse.osee.ats.navigate.AtsNavigateItemsToWorldViewTest;
import org.eclipse.osee.ats.render.RendererManagerTest;
import org.eclipse.osee.ats.util.AtsDeleteManagerTest;
import org.eclipse.osee.ats.util.AtsImageTest;
import org.eclipse.osee.ats.util.AtsXWidgetsExampleBlamTest;
import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.ats.util.ImportActionsViaSpreadsheetTest;
import org.eclipse.osee.ats.workflow.SMAPromptChangeStatusTest;
import org.eclipse.osee.ats.world.search.AtsTest_Demo_World_Search_Suite;
import org.eclipse.osee.framework.core.client.ClientSessionManager;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;

@RunWith(Suite.class)
@Suite.SuiteClasses({
   AtsNavigateItemsToMassEditorTest.class,
   AtsNavigateItemsToTaskEditorTest.class,
   AtsNavigateItemsToWorldViewTest.class,
   AtsTest_Demo_World_Search_Suite.class,
   AtsBranchConfigurationTest.class,
   AtsTest_Demo_Action_Suite.class,
   AtsTest_Demo_Access_Suite.class,
   ImportActionsViaSpreadsheetTest.class,
   AtsTest_Demo_Column_Suite.class,
   AtsTest_Demo_Util_Suite.class,
   LogItemTest.class,
   AtsLogTest.class,
   NoteItemTest.class,
   AtsNoteTest.class,
   RendererManagerTest.class,
   SMAPrintTest.class,
   AtsImageTest.class,
   SMAPromptChangeStatusTest.class,
   AtsDeleteManagerTest.class,
   AtsValidateAtsDatabaseTest.class,
   AtsXWidgetsExampleBlamTest.class,
//   AtsPurgeTest.class,
//
})
/**
 * @author Donald G. Dunne
 */
public class AtsTest_Demo_Suite {

   @BeforeClass
   public static void setUp() throws Exception {
      OseeProperties.setIsInTest(true);
      assertTrue("Demo Application Server must be running.",
         ClientSessionManager.getAuthenticationProtocols().contains("demo"));
      assertTrue("Client must authenticate using demo protocol",
         ClientSessionManager.getSession().getAuthenticationProtocol().equals("demo"));
      System.out.println("\n\nBegin " + AtsTest_Demo_Suite.class.getSimpleName());
      DemoTestUtil.setUpTest();
   }

   @AfterClass
   public static void tearDown() throws Exception {
      System.out.println("End " + AtsTest_Demo_Suite.class.getSimpleName());
   }
}

Back to the top