Home
last modified time | relevance | path

Searched refs:TestSuite (Results 1 – 25 of 554) sorted by relevance

12345678910>>...23

/external/python/cpython2/Lib/unittest/test/
Dtest_suite.py18 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 …]
Dtest_loader.py21 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 …]
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_suite.py21 return unittest2.TestSuite(Test.Foo(n) for n in names)
30 eq_pairs = [(unittest2.TestSuite(), unittest2.TestSuite()),
31 (unittest2.TestSuite(), unittest2.TestSuite([])),
35 ne_pairs = [(unittest2.TestSuite(), _mk_TestSuite('test_1')),
36 (unittest2.TestSuite([]), _mk_TestSuite('test_1')),
50 suite = unittest2.TestSuite()
62 suite = unittest2.TestSuite([])
77 suite_1 = unittest2.TestSuite(tests())
80 suite_2 = unittest2.TestSuite(suite_1)
83 suite_3 = unittest2.TestSuite(set(suite_1))
[all …]
Dtest_loader.py23 tests = unittest2.TestSuite([Foo('test_1'), Foo('test_2')])
37 empty_suite = unittest2.TestSuite()
52 class NotATestCase(unittest2.TestSuite):
155 reference = [unittest2.TestSuite([MyTestCase('test')])]
172 self.assertIsInstance(tests, unittest2.TestSuite)
179 self.assertIsInstance(suite, unittest2.TestSuite)
195 self.assertIsInstance(suite, unittest2.TestSuite)
406 m.testsuite = unittest2.TestSuite([MyTestCase('test')])
465 return unittest2.TestSuite([testcase_1, testcase_2])
495 class SubTestSuite(unittest2.TestSuite):
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_suite.py20 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 …]
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Dfilter_pull_request_tests.py24 class TestSuite: class
47 _CORE_TEST_SUITE = TestSuite(['c'])
48 _CPP_TEST_SUITE = TestSuite(['c++'])
49 _CSHARP_TEST_SUITE = TestSuite(['csharp'])
50 _NODE_TEST_SUITE = TestSuite(['grpc-node'])
51 _OBJC_TEST_SUITE = TestSuite(['objc'])
52 _PHP_TEST_SUITE = TestSuite(['php', 'php7'])
53 _PYTHON_TEST_SUITE = TestSuite(['python'])
54 _RUBY_TEST_SUITE = TestSuite(['ruby'])
55 _LINUX_TEST_SUITE = TestSuite(['linux'])
[all …]
/external/grpc-grpc/tools/run_tests/python_utils/
Dfilter_pull_request_tests.py24 class TestSuite: class
47 _CORE_TEST_SUITE = TestSuite(['c'])
48 _CPP_TEST_SUITE = TestSuite(['c++'])
49 _CSHARP_TEST_SUITE = TestSuite(['csharp'])
50 _NODE_TEST_SUITE = TestSuite(['grpc-node'])
51 _OBJC_TEST_SUITE = TestSuite(['objc'])
52 _PHP_TEST_SUITE = TestSuite(['php', 'php7'])
53 _PYTHON_TEST_SUITE = TestSuite(['python'])
54 _RUBY_TEST_SUITE = TestSuite(['ruby'])
55 _LINUX_TEST_SUITE = TestSuite(['linux'])
[all …]
/external/libchrome/base/test/
Dtest_suite.cc76 ASSERT_FALSE(TestSuite::IsMarkedMaybe(test_info)) in OnTestStart()
138 TestSuite test_suite(argc, argv); in RunUnitTestsUsingBaseTestSuite()
140 Bind(&TestSuite::Run, Unretained(&test_suite))); in RunUnitTestsUsingBaseTestSuite()
143 TestSuite::TestSuite(int argc, char** argv) : initialized_command_line_(false) { in TestSuite() function in base::TestSuite
152 TestSuite::TestSuite(int argc, wchar_t** argv) in TestSuite() function in base::TestSuite
162 TestSuite::~TestSuite() { in ~TestSuite()
167 void TestSuite::InitializeFromCommandLine(int argc, char** argv) { in InitializeFromCommandLine()
178 void TestSuite::InitializeFromCommandLine(int argc, wchar_t** argv) { in InitializeFromCommandLine()
186 void TestSuite::PreInitialize() { in PreInitialize()
210 bool TestSuite::IsMarkedMaybe(const testing::TestInfo& test) { in IsMarkedMaybe()
[all …]
Dtest_suite.h33 class TestSuite {
38 TestSuite(int argc, char** argv);
40 TestSuite(int argc, wchar_t** argv);
42 virtual ~TestSuite();
98 DISALLOW_COPY_AND_ASSIGN(TestSuite);
/external/guice/core/test/com/google/inject/
DSuiteUtils.java22 import junit.framework.TestSuite;
26 public static TestSuite removeSuppressedTests(TestSuite suite, Set<String> suppressedTestNames) { in removeSuppressedTests()
27 TestSuite result = new TestSuite(suite.getName()); in removeSuppressedTests()
36 if (test instanceof TestSuite) { in removeSuppressedTests()
37 result.addTest(removeSuppressedTests((TestSuite) test, suppressedTestNames)); in removeSuppressedTests()
/external/guava/guava-tests/test/com/google/common/io/
DByteSinkTester.java30 import junit.framework.TestSuite;
44 static TestSuite tests(String name, ByteSinkFactory factory) { in tests()
45 TestSuite suite = new TestSuite(name); in tests()
48 TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); in tests()
54 private static TestSuite suiteForString( in suiteForString()
57 TestSuite suite = suiteForBytes(name, factory, desc, bytes); in suiteForString()
65 private static TestSuite suiteForBytes( in suiteForBytes()
67 TestSuite suite = new TestSuite(name + " [" + desc + "]"); in suiteForBytes()
DCharSinkTester.java26 import junit.framework.TestSuite;
39 static TestSuite tests(String name, CharSinkFactory factory) { in tests()
40 TestSuite suite = new TestSuite(name); in tests()
43 TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); in tests()
49 static TestSuite suiteForString( in suiteForString()
51 TestSuite stringSuite = new TestSuite(name + " [" + desc + "]"); in suiteForString()
/external/guava/android/guava-tests/test/com/google/common/io/
DByteSinkTester.java30 import junit.framework.TestSuite;
44 static TestSuite tests(String name, ByteSinkFactory factory) { in tests()
45 TestSuite suite = new TestSuite(name); in tests()
48 TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); in tests()
54 private static TestSuite suiteForString( in suiteForString()
57 TestSuite suite = suiteForBytes(name, factory, desc, bytes); in suiteForString()
65 private static TestSuite suiteForBytes( in suiteForBytes()
67 TestSuite suite = new TestSuite(name + " [" + desc + "]"); in suiteForBytes()
DCharSinkTester.java27 import junit.framework.TestSuite;
40 static TestSuite tests(String name, CharSinkFactory factory) { in tests()
41 TestSuite suite = new TestSuite(name); in tests()
44 TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); in tests()
50 static TestSuite suiteForString( in suiteForString()
52 TestSuite stringSuite = new TestSuite(name + " [" + desc + "]"); in suiteForString()
/external/antlr/runtime/ActionScript/project/test/org/antlr/runtime/test/
DAllTests.as2 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/android/guava-testlib/src/com/google/common/collect/testing/
DFeatureSpecificTestSuiteBuilder.java40 import junit.framework.TestSuite;
173 public TestSuite createTestSuite() { in createTestSuite()
186 TestSuite suite = new TestSuite(name); in createTestSuite()
188 final TestSuite testerSuite = in createTestSuite()
270 protected TestSuite makeSuiteForTesterClass(Class<? extends AbstractTester<?>> testerClass) { in makeSuiteForTesterClass()
271 final TestSuite candidateTests = new TestSuite(testerClass); in makeSuiteForTesterClass()
272 final TestSuite suite = filterSuite(candidateTests); in makeSuiteForTesterClass()
287 private TestSuite filterSuite(TestSuite suite) { in filterSuite()
288 TestSuite filtered = new TestSuite(suite.getName()); in filterSuite()
DPerCollectionSizeTestSuiteBuilder.java29 import junit.framework.TestSuite;
56 public TestSuite createTestSuite() { in createTestSuite()
84 TestSuite suite = new TestSuite(name); in createTestSuite()
103 TestSuite oneSizeSuite = oneSizeBuilder.createTestSuite(); in createTestSuite()
106 for (TestSuite derivedSuite : createDerivedSuites(oneSizeBuilder)) { in createTestSuite()
113 protected List<TestSuite> createDerivedSuites( in createDerivedSuites()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DFeatureSpecificTestSuiteBuilder.java40 import junit.framework.TestSuite;
173 public TestSuite createTestSuite() { in createTestSuite()
186 TestSuite suite = new TestSuite(name); in createTestSuite()
188 final TestSuite testerSuite = in createTestSuite()
270 protected TestSuite makeSuiteForTesterClass(Class<? extends AbstractTester<?>> testerClass) { in makeSuiteForTesterClass()
271 final TestSuite candidateTests = new TestSuite(testerClass); in makeSuiteForTesterClass()
272 final TestSuite suite = filterSuite(candidateTests); in makeSuiteForTesterClass()
287 private TestSuite filterSuite(TestSuite suite) { in filterSuite()
288 TestSuite filtered = new TestSuite(suite.getName()); in filterSuite()
DPerCollectionSizeTestSuiteBuilder.java29 import junit.framework.TestSuite;
56 public TestSuite createTestSuite() { in createTestSuite()
84 TestSuite suite = new TestSuite(name); in createTestSuite()
103 TestSuite oneSizeSuite = oneSizeBuilder.createTestSuite(); in createTestSuite()
106 for (TestSuite derivedSuite : createDerivedSuites(oneSizeBuilder)) { in createTestSuite()
113 protected List<TestSuite> createDerivedSuites( in createDerivedSuites()
/external/junit/src/main/java/org/junit/internal/runners/
DJUnit38ClassRunner.java12 import junit.framework.TestSuite;
78 this(new TestSuite(klass.asSubclass(TestCase.class))); in JUnit38ClassRunner()
107 } else if (test instanceof TestSuite) { in makeDescription()
108 TestSuite ts = (TestSuite) test; in makeDescription()
143 private static String createSuiteDescription(TestSuite ts) { in createSuiteDescription()
153 } else if (getTest() instanceof TestSuite) { in filter()
154 TestSuite suite = (TestSuite) getTest(); in filter()
155 TestSuite filtered = new TestSuite(suite.getName()); in filter()
/external/vogar/src/vogar/target/junit/junit3/
DTestSuiteTransformer.java25 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/junit/src/main/java/junit/framework/
DTestSuite.java43 public class TestSuite implements Test { class
108 public TestSuite() {
117 public TestSuite(final Class<?> theClass) {
153 public TestSuite(Class<? extends TestCase> theClass, String name) {
161 public TestSuite(String name) {
170 public TestSuite(Class<?>... classes) {
178 return new TestSuite(each.asSubclass(TestCase.class));
189 public TestSuite(Class<? extends TestCase>[] classes, String name) {
205 addTest(new TestSuite(testClass));
/external/guava/guava-tests/test/com/google/common/collect/
DMapsCollectionTest.java54 import junit.framework.TestSuite;
64 TestSuite suite = new TestSuite(); in suite()
300 static TestSuite filterSuite() { in filterSuite()
301 TestSuite suite = new TestSuite("Filter"); in filterSuite()
309 static TestSuite filterMapSuite() { in filterMapSuite()
310 TestSuite suite = new TestSuite("FilterMap"); in filterMapSuite()
391 static TestSuite filterBiMapSuite() { in filterBiMapSuite()
392 TestSuite suite = new TestSuite("FilterBiMap"); in filterBiMapSuite()
452 static TestSuite filterSortedMapSuite() { in filterSortedMapSuite()
453 TestSuite suite = new TestSuite("FilterSortedMap"); in filterSortedMapSuite()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DMapsCollectionTest.java54 import junit.framework.TestSuite;
64 TestSuite suite = new TestSuite(); in suite()
300 static TestSuite filterSuite() { in filterSuite()
301 TestSuite suite = new TestSuite("Filter"); in filterSuite()
309 static TestSuite filterMapSuite() { in filterMapSuite()
310 TestSuite suite = new TestSuite("FilterMap"); in filterMapSuite()
391 static TestSuite filterBiMapSuite() { in filterBiMapSuite()
392 TestSuite suite = new TestSuite("FilterBiMap"); in filterBiMapSuite()
452 static TestSuite filterSortedMapSuite() { in filterSortedMapSuite()
453 TestSuite suite = new TestSuite("FilterSortedMap"); in filterSortedMapSuite()
[all …]
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/model/
DTestSuiteFactory.java67 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()

12345678910>>...23