/external/python/cpython2/Lib/unittest/test/ |
D | test_suite.py | 18 return unittest.TestSuite(Test.Foo(n) for n in names) 29 eq_pairs = [(unittest.TestSuite(), unittest.TestSuite()), 30 (unittest.TestSuite(), unittest.TestSuite([])), 34 ne_pairs = [(unittest.TestSuite(), _mk_TestSuite('test_1')), 35 (unittest.TestSuite([]), _mk_TestSuite('test_1')), 49 suite = unittest.TestSuite() 61 suite = unittest.TestSuite([]) 76 suite_1 = unittest.TestSuite(tests()) 79 suite_2 = unittest.TestSuite(suite_1) 82 suite_3 = unittest.TestSuite(set(suite_1)) [all …]
|
D | test_loader.py | 21 tests = unittest.TestSuite([Foo('test_1'), Foo('test_2')]) 34 empty_suite = unittest.TestSuite() 49 class NotATestCase(unittest.TestSuite): 147 reference = [unittest.TestSuite([MyTestCase('test')])] 162 self.assertIsInstance(tests, unittest.TestSuite) 169 self.assertIsInstance(suite, unittest.TestSuite) 185 self.assertIsInstance(suite, unittest.TestSuite) 387 m.testsuite = unittest.TestSuite([MyTestCase('test')]) 440 return unittest.TestSuite([testcase_1, testcase_2]) 468 class SubTestSuite(unittest.TestSuite): [all …]
|
D | test_setups.py | 18 suite = unittest.TestSuite() 26 realSuite = unittest.TestSuite() 29 suite.addTest(unittest.TestSuite()) 30 realSuite.addTest(unittest.TestSuite()) 244 first = unittest.TestSuite((Test1('testOne'),)) 245 second = unittest.TestSuite((Test1('testTwo'),)) 246 third = unittest.TestSuite((Test2('testOne'),)) 247 fourth = unittest.TestSuite((Test2('testTwo'),)) 248 fifth = unittest.TestSuite((Test3('testOne'),)) 249 sixth = unittest.TestSuite((Test3('testTwo'),)) [all …]
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_suite.py | 20 return unittest.TestSuite(Test.Foo(n) for n in names) 31 eq_pairs = [(unittest.TestSuite(), unittest.TestSuite()) 32 ,(unittest.TestSuite(), unittest.TestSuite([])) 36 ne_pairs = [(unittest.TestSuite(), _mk_TestSuite('test_1')) 37 ,(unittest.TestSuite([]), _mk_TestSuite('test_1')) 51 suite = unittest.TestSuite() 66 suite = unittest.TestSuite([]) 84 suite_1 = unittest.TestSuite(tests()) 87 suite_2 = unittest.TestSuite(suite_1) 90 suite_3 = unittest.TestSuite(set(suite_1)) [all …]
|
D | test_loader.py | 46 tests = unittest.TestSuite([Foo('test_1'), Foo('test_2')]) 59 empty_suite = unittest.TestSuite() 74 class NotATestCase(unittest.TestSuite): 172 reference = [unittest.TestSuite([MyTestCase('test')])] 188 self.assertIsInstance(tests, unittest.TestSuite) 195 self.assertIsInstance(suite, unittest.TestSuite) 215 self.assertIsInstance(tests, unittest.TestSuite) 225 self.assertIsInstance(suite, unittest.TestSuite) 244 self.assertIsInstance(tests, unittest.TestSuite) 253 self.assertIsInstance(suite, unittest.TestSuite) [all …]
|
D | test_setups.py | 17 suite = unittest.TestSuite() 25 realSuite = unittest.TestSuite() 28 suite.addTest(unittest.TestSuite()) 29 realSuite.addTest(unittest.TestSuite()) 243 first = unittest.TestSuite((Test1('testOne'),)) 244 second = unittest.TestSuite((Test1('testTwo'),)) 245 third = unittest.TestSuite((Test2('testOne'),)) 246 fourth = unittest.TestSuite((Test2('testTwo'),)) 247 fifth = unittest.TestSuite((Test3('testOne'),)) 248 sixth = unittest.TestSuite((Test3('testTwo'),)) [all …]
|
/external/webrtc/webrtc/test/ |
D | test_suite.cc | 31 TestSuite::TestSuite(int argc, char** argv) { in TestSuite() function in webrtc::test::TestSuite 42 TestSuite::~TestSuite() { in ~TestSuite() 45 int TestSuite::Run() { in Run() 52 void TestSuite::Initialize() { in Initialize() 58 void TestSuite::Shutdown() { in Shutdown()
|
D | test_suite.h | 28 class TestSuite { 30 TestSuite(int argc, char** argv); 31 virtual ~TestSuite(); 41 RTC_DISALLOW_COPY_AND_ASSIGN(TestSuite);
|
/external/guice/core/test/com/google/inject/ |
D | SuiteUtils.java | 20 import junit.framework.TestSuite; 27 public static TestSuite removeSuppressedTests(TestSuite suite, Set<String> suppressedTestNames) { in removeSuppressedTests() 28 TestSuite result = new TestSuite(suite.getName()); in removeSuppressedTests() 37 if (test instanceof TestSuite) { in removeSuppressedTests() 38 result.addTest(removeSuppressedTests((TestSuite) test, suppressedTestNames)); in removeSuppressedTests()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteSinkTester.java | 26 import junit.framework.TestSuite; 46 static TestSuite tests(String name, ByteSinkFactory factory) { in tests() 47 TestSuite suite = new TestSuite(name); in tests() 50 TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); in tests() 56 private static TestSuite suiteForString(String name, ByteSinkFactory factory, in suiteForString() 59 TestSuite suite = suiteForBytes(name, factory, desc, bytes); in suiteForString() 66 private static TestSuite suiteForBytes(String name, ByteSinkFactory factory, in suiteForBytes() 68 TestSuite suite = new TestSuite(name + " [" + desc + "]"); in suiteForBytes()
|
D | CharSinkTester.java | 24 import junit.framework.TestSuite; 42 static TestSuite tests(String name, CharSinkFactory factory) { in tests() 43 TestSuite suite = new TestSuite(name); in tests() 46 TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); in tests() 52 static TestSuite suiteForString(String name, CharSinkFactory factory, in suiteForString() 54 TestSuite stringSuite = new TestSuite(name + " [" + desc + "]"); in suiteForString()
|
D | ByteSourceTester.java | 28 import junit.framework.TestSuite; 52 static TestSuite tests(String name, ByteSourceFactory factory, boolean testAsCharSource) { in tests() 53 TestSuite suite = new TestSuite(name); in tests() 65 private static TestSuite suiteForString(ByteSourceFactory factory, String string, in suiteForString() 67 TestSuite suite = suiteForBytes(factory, string.getBytes(Charsets.UTF_8), name, desc, true); in suiteForString() 74 private static TestSuite suiteForBytes(ByteSourceFactory factory, byte[] bytes, in suiteForBytes() 76 TestSuite suite = new TestSuite(name + " [" + desc + "]"); in suiteForBytes()
|
D | CharSourceTester.java | 24 import junit.framework.TestSuite; 46 static TestSuite tests(String name, CharSourceFactory factory) { in tests() 47 TestSuite suite = new TestSuite(name); in tests() 54 static TestSuite suiteForString(CharSourceFactory factory, String string, in suiteForString() 56 TestSuite suite = new TestSuite(name + " [" + desc + "]"); in suiteForString()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | FeatureSpecificTestSuiteBuilder.java | 29 import junit.framework.TestSuite; 180 public TestSuite createTestSuite() { in createTestSuite() 193 TestSuite suite = new TestSuite(name); in createTestSuite() 195 final TestSuite testerSuite = makeSuiteForTesterClass( in createTestSuite() 287 protected TestSuite makeSuiteForTesterClass( in makeSuiteForTesterClass() 289 final TestSuite candidateTests = new TestSuite(testerClass); in makeSuiteForTesterClass() 290 final TestSuite suite = filterSuite(candidateTests); in makeSuiteForTesterClass() 305 private TestSuite filterSuite(TestSuite suite) { in filterSuite() 306 TestSuite filtered = new TestSuite(suite.getName()); in filterSuite()
|
D | PerCollectionSizeTestSuiteBuilder.java | 23 import junit.framework.TestSuite; 62 @Override public TestSuite createTestSuite() { in createTestSuite() 90 TestSuite suite = new TestSuite(name); in createTestSuite() 108 TestSuite oneSizeSuite = oneSizeBuilder.createTestSuite(); in createTestSuite() 111 for (TestSuite derivedSuite : createDerivedSuites(oneSizeBuilder)) { in createTestSuite() 118 protected List<TestSuite> createDerivedSuites(FeatureSpecificTestSuiteBuilder< in createDerivedSuites() 120 return new ArrayList<TestSuite>(); in createDerivedSuites()
|
D | SortedSetTestSuiteBuilder.java | 25 import junit.framework.TestSuite; 51 @Override public TestSuite createTestSuite() { in createTestSuite() 61 protected List<TestSuite> createDerivedSuites(FeatureSpecificTestSuiteBuilder< in createDerivedSuites() 63 List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder); in createDerivedSuites() 81 final TestSuite createSubsetSuite(final FeatureSpecificTestSuiteBuilder<?, in createSubsetSuite()
|
/external/junit/src/main/java/org/junit/internal/runners/ |
D | JUnit38ClassRunner.java | 9 import junit.framework.TestSuite; 74 this(new TestSuite(klass.asSubclass(TestCase.class))); in JUnit38ClassRunner() 103 } else if (test instanceof TestSuite) { in makeDescription() 104 TestSuite ts = (TestSuite) test; in makeDescription() 139 private static String createSuiteDescription(TestSuite ts) { in createSuiteDescription() 149 } else if (getTest() instanceof TestSuite) { in filter() 150 TestSuite suite = (TestSuite) getTest(); in filter() 151 TestSuite filtered = new TestSuite(suite.getName()); in filter()
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/ |
D | AllTests.as | 2 import flexunit.framework.TestSuite; 5 public class AllTests extends TestSuite { 8 addTest(new TestSuite(TestANTLRStringStream)); 9 addTest(new TestSuite(TestBitSet)); 10 addTest(new TestSuite(TestDFA));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsCollectionTest.java | 44 import junit.framework.TestSuite; 66 TestSuite suite = new TestSuite(); in suite() 285 static TestSuite filterSuite() { in filterSuite() 286 TestSuite suite = new TestSuite("Filter"); in filterSuite() 294 static TestSuite filterMapSuite() { in filterMapSuite() 295 TestSuite suite = new TestSuite("FilterMap"); in filterMapSuite() 368 static TestSuite filterBiMapSuite() { in filterBiMapSuite() 369 TestSuite suite = new TestSuite("FilterBiMap"); in filterBiMapSuite() 423 static TestSuite filterSortedMapSuite() { in filterSortedMapSuite() 424 TestSuite suite = new TestSuite("FilterSortedMap"); in filterSortedMapSuite() [all …]
|
/external/junit/src/main/java/junit/framework/ |
D | TestSuite.java | 44 public class TestSuite implements Test { class 119 public TestSuite() { 128 public TestSuite(final Class<?> theClass) { 164 public TestSuite(Class<? extends TestCase> theClass, String name) { 172 public TestSuite(String name) { 181 public TestSuite(Class<?>... classes) { 189 return new TestSuite(each.asSubclass(TestCase.class)); 200 public TestSuite(Class<? extends TestCase>[] classes, String name) { 216 addTest(new TestSuite(testClass));
|
/external/vogar/src/vogar/target/junit/junit3/ |
D | TestSuiteTransformer.java | 25 import junit.framework.TestSuite; 56 if (test instanceof TestSuite) { in transformTest() 57 return transformSuite((TestSuite) test, defaultName, suiteDescription); in transformTest() 68 TestSuite testSuite, String defaultName, Description suiteDescription) { in transformSuite() 99 } else if (test instanceof TestSuite) { in makeDescription() 100 TestSuite testSuite = (TestSuite) test; in makeDescription()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
D | TestSuiteFactory.java | 67 public static TestSuite createTestSuite(File grammarFile) { in createTestSuite() 75 final TestSuite result = new TestSuite(grammarName, testFile); in createTestSuite() 116 public static boolean saveTestSuite(TestSuite testSuite) { in saveTestSuite() 135 public static String getScript(TestSuite testSuite) { in getScript() 148 public static TestSuite loadTestSuite(File file) { in loadTestSuite() 157 TestSuite result = new TestSuite("", file); in loadTestSuite()
|
/external/testng/src/test/java/test/sample/ |
D | JUnitSample4.java | 5 import junit.framework.TestSuite; 24 public static TestSuite suite() { in suite() 25 TestSuite ts = new TestSuite("Sample Suite"); in suite()
|
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/signature/ |
D | SignatureTest.java | 40 import junit.framework.TestSuite; 57 public static TestSuite suite() throws Exception { in suite() 58 TestSuite suite = new TestSuite(); in suite()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | SortedMultisetTestSuiteBuilder.java | 34 import junit.framework.TestSuite; 64 public TestSuite createTestSuite() { in createTestSuite() 66 TestSuite suite = super.createTestSuite(); in createTestSuite() 67 for (TestSuite subSuite : createDerivedSuites(this)) { in createTestSuite() 82 TestSuite createElementSetTestSuite(FeatureSpecificTestSuiteBuilder< in createElementSetTestSuite() 113 List<TestSuite> createDerivedSuites( in createDerivedSuites() 115 List<TestSuite> derivedSuites = Lists.newArrayList(); in createDerivedSuites() 147 private TestSuite createSubMultisetSuite( in createSubMultisetSuite() 247 private TestSuite createDescendingSuite( 278 private TestSuite createReserializedSuite(
|