01: /*******************************************************************************
02: * Copyright (c) 2004, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.debug.jdi.tests;
11:
12: import junit.framework.TestSuite;
13:
14: /**
15: */
16: public class AutomatedSuite extends TestSuite {
17:
18: /**
19: * returns an instance of AutomatedSuite
20: * @return a new test suite
21: */
22: public static TestSuite suite() {
23: return new AutomatedSuite();
24: }
25:
26: /**
27: * runs the specified tests
28: */
29: public AutomatedSuite() {
30: AbstractJDITest.parseArgs(new String[0]);
31:
32: addTest(new TestSuite(AccessibleTest.class));
33: addTest(new TestSuite(ArrayReferenceTest.class));
34: addTest(new TestSuite(ArrayTypeTest.class));
35: addTest(new TestSuite(BooleanValueTest.class));
36: addTest(new TestSuite(BreakpointRequestTest.class));
37: addTest(new TestSuite(ByteValueTest.class));
38: addTest(new TestSuite(CharValueTest.class));
39: addTest(new TestSuite(ClassLoaderReferenceTest.class));
40: addTest(new TestSuite(ClassPrepareEventTest.class));
41: addTest(new TestSuite(ClassPrepareRequestTest.class));
42: addTest(new TestSuite(ClassTypeTest.class));
43: addTest(new TestSuite(DoubleValueTest.class));
44: addTest(new TestSuite(EventRequestManagerTest.class));
45: addTest(new TestSuite(EventRequestTest.class));
46: addTest(new TestSuite(EventTest.class));
47: addTest(new TestSuite(ExceptionEventTest.class));
48: addTest(new TestSuite(ExceptionRequestTest.class));
49: addTest(new TestSuite(FieldTest.class));
50: addTest(new TestSuite(FloatValueTest.class));
51: addTest(new TestSuite(HotCodeReplacementTest.class));
52: addTest(new TestSuite(IntegerValueTest.class));
53: addTest(new TestSuite(InterfaceTypeTest.class));
54: addTest(new TestSuite(LocalVariableTest.class));
55: addTest(new TestSuite(LocatableTest.class));
56: addTest(new TestSuite(LocationTest.class));
57: addTest(new TestSuite(LongValueTest.class));
58: addTest(new TestSuite(MethodTest.class));
59: addTest(new TestSuite(MethodEntryRequestTest.class));
60: addTest(new TestSuite(MethodExitRequestTest.class));
61: addTest(new TestSuite(MirrorTest.class));
62:
63: addTest(new TestSuite(ModificationWatchpointEventTest.class));
64:
65: addTest(new TestSuite(ObjectReferenceTest.class));
66: addTest(new TestSuite(PrimitiveValueTest.class));
67: addTest(new TestSuite(ReferenceTypeTest.class));
68: addTest(new TestSuite(ShortValueTest.class));
69: addTest(new TestSuite(StackFrameTest.class));
70: addTest(new TestSuite(StepEventTest.class));
71: addTest(new TestSuite(StringReferenceTest.class));
72: addTest(new TestSuite(ThreadDeathEventTest.class));
73: addTest(new TestSuite(ThreadGroupReferenceTest.class));
74: addTest(new TestSuite(ThreadReferenceTest.class));
75: addTest(new TestSuite(ThreadStartEventTest.class));
76: addTest(new TestSuite(TypeComponentTest.class));
77: addTest(new TestSuite(TypeTest.class));
78: addTest(new TestSuite(ValueTest.class));
79:
80: addTest(new TestSuite(WatchpointEventTest.class));
81: addTest(new TestSuite(WatchpointRequestTest.class));
82:
83: addTest(new TestSuite(VirtualMachineExitTest.class));
84: addTest(new TestSuite(VMDisconnectEventTest.class));
85: addTest(new TestSuite(VMDisposeTest.class));
86:
87: //Java 1.6 capability tests
88: addTest(new TestSuite(HeapWalkingTests.class));
89: addTest(new TestSuite(ConstantPoolTests.class));
90: addTest(new TestSuite(SourceNameFilterTests.class));
91: addTest(new TestSuite(MethodReturnValuesTests.class));
92: addTest(new TestSuite(ForceEarlyReturnTests.class));
93: addTest(new TestSuite(MonitorFrameInfoTests.class));
94: addTest(new TestSuite(ProvideArgumentsTests.class));
95: addTest(new TestSuite(ContendedMonitorTests.class));
96: }
97:
98: }
|