KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > WhiteBoxTests


1 // $Id: WhiteBoxTests.java,v 1.2 2004/05/12 17:26:50 anicoara Exp $
2
// =====================================================================
3
//
4
// (history at end)
5
//
6

7
8
9 // used packages
10
import junit.framework.*;
11 import ch.ethz.prose.crosscut.AllLocationsTest;
12 import ch.ethz.prose.crosscut.FunctionalCrosscutTest;
13 import ch.ethz.prose.engine.JoinPointManagerTest;
14
15 /**
16  * JUnit testcase for White box tests. These tests <em>should</em>
17  * reside in the same package as the tested class and they
18  * test the <em>implementation</em> of these classes, usually
19  * realized as package-scoped methods.
20  *
21  * @version $Revision: 1.2 $
22  * @author Andrei Popovici
23  */

24 public
25 class WhiteBoxTests extends TestCase {
26
27
28
29   // fixture
30

31   /**
32    * Construct test with given name.
33    * @param name test name
34    */

35   public WhiteBoxTests(String JavaDoc name)
36   {
37     super(name);
38   }
39
40   private static Process JavaDoc dummyTarget;
41   /**
42    * Set up fixture.
43    */

44   protected void setUp()
45   {
46   }
47
48   protected void tearDown()
49     {
50     }
51
52   /**
53    * Test suite.
54    * @return test instance
55    */

56   public static
57   Test suite()
58   {
59       TestSuite testSuite = new TestSuite();
60       // here begin the tests
61

62       testSuite.addTest(JoinPointManagerTest.suite());
63       testSuite.addTest(FunctionalCrosscutTest.suite());
64       testSuite.addTest(AllLocationsTest.suite());
65
66       // here end the tests
67
return testSuite;
68   }
69
70
71
72 }
73
74
75 //======================================================================
76
//
77
// $Log: WhiteBoxTests.java,v $
78
// Revision 1.2 2004/05/12 17:26:50 anicoara
79
// Adapt Junit tests to 3.8.1 version and the new package structure
80
//
81
// Revision 1.1.1.1 2003/07/02 15:30:42 apopovic
82
// Imported from ETH Zurich
83
//
84
// Revision 1.4 2003/05/05 14:02:57 popovici
85
// renaming from runes to prose
86
//
87
// Revision 1.3 2003/03/04 18:36:32 popovici
88
// Organization of imprts
89
//
90
// Revision 1.2 2002/02/05 10:44:24 smarkwal
91
// JVMDI-sepcific code replaced by JVMAI, implementation-classes and reflection-package removed
92
//
93
// Revision 1.1.1.1 2001/11/29 18:13:28 popovici
94
// Sources from runes
95
//
96
// Revision 1.1.2.14 2001/11/21 11:56:32 popovici
97
//
98
// -The sun.tools.agent and ch.ethz.inf.util.JVMDIUtil functionality
99
// replaced with the iks.jvmdi package. References to this old
100
// functionality replaced throughout the code.
101
// -Partial reimplementation of the ch.ethz.inf.iks.runes classes,
102
// part of their functionality moved to the ch.ethz.prose.reflect
103
// abstract classes. New classes and functionality added to the
104
// ch.ethz.prose.reflect package, partially to reflect the
105
// more stable features taken from the iks.runes packages, partially
106
// to reflect the structure of the VM (constant pool, etc). Functionality in
107
// ch.ethz.prose.crosscut and the junit classes adapted to use the
108
// new form of the ch.ethz.prose.reflect package
109
//
110
// Revision 1.1.2.13 2001/07/15 13:28:36 popovici
111
// Minor change due to different package renamings.
112
//
113
// Revision 1.1.2.12 2001/07/11 12:40:41 popovici
114
// InvertionTest Removed because of errors
115
//
116
// Revision 1.1.2.11 2001/05/28 15:16:59 ppsieber
117
// TestMotion added.
118
//
119
// Revision 1.1.2.10 2001/03/27 09:29:41 popovici
120
// inf.runes.tengwar -> runes.tengwar, runes.demo.tengwar->iks.demo.tengwar renamings
121
//
122
// Revision 1.1.2.9 2001/03/26 15:07:59 mrmuller
123
// adapted to new package structure
124
//
125
// Revision 1.1.2.8 2001/02/15 12:50:00 popovici
126
// SourceDependentExtensionTest added
127
//
128
// Revision 1.1.2.7 2001/02/12 17:05:39 mrmuller
129
// moved WebServerTest to BlackBoxTest and removed JiniExtensionSystemTest from BlackBoxTests
130
//
131
// Revision 1.1.2.6 2001/02/05 13:29:29 mrmuller
132
// for WebServerTest
133
//
134
// Revision 1.1.2.5 2001/01/05 17:02:06 groos
135
// test ArrayAndObjectStorageTest added.
136
//
137
// Revision 1.1.2.4 2000/12/27 11:06:09 groos
138
// - tengwar package added
139
// - test suite PersistencyManagerTest added
140
//
141
// Revision 1.1.2.3 2000/10/30 16:00:38 popovici
142
// Updated with the renaming of 'JoinPointManagerImplTest' to 'AbstractJoinPointManagerTest'
143
//
144
// Revision 1.1.2.2 2000/10/24 18:06:51 popovici
145
// New tests added
146
//
147
// Revision 1.1.2.1 2000/10/23 18:58:43 popovici
148
// Test 'FunctionalCrosscut' added; general documentation added.
149
//
150
// Revision 1.1 2000/10/16 11:38:32 popovici
151
// Initial Revision
152
//
153
//
154
Popular Tags