HomeSort by relevance Sort by last modified time
    Searched refs:testSuite (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebUnitTests.cpp 38 static TestSuite* testSuite = 0;
45 testSuite = new TestSuite(argc, argv);
50 int result = testSuite->Run();
57 delete testSuite;
58 testSuite = 0;
RunAllTests.cpp 48 // TestSuite must be created before SetUpTestEnvironment so it performs
50 // fact that chromium multi-dll build requires that the TestSuite object be created
62 TestSuite testSuite(argc, argv);
64 int result = testSuite.Run();
  /cts/tests/tests/hardware/src/android/hardware/cts/
SensorMeasurementTests.java 20 import junit.framework.TestSuite;
46 TestSuite testSuite = new TestSuite();
49 createEventNormTestCases(testSuite);
50 createStandardDeviationTestCases(testSuite);
52 return testSuite;
65 private static void createEventNormTestCases(TestSuite testSuite) {
82 testSuite.addTest(test)
    [all...]
SensorFrequencyTests.java 20 import junit.framework.TestSuite;
47 TestSuite testSuite = new TestSuite();
50 createMaxFrequencyExpectedTestCases(testSuite);
52 //createMaxFrequencyTestCases(testSuite);
53 //createJitteringTestCases(testSuite);
55 return testSuite;
61 private static void createMaxFrequencyTestCases(TestSuite testSuite) {
    [all...]
SensorEventOrderingTests.java 20 import junit.framework.TestSuite;
42 TestSuite testSuite = new TestSuite();
45 createEventOrderingTestCases(testSuite);
47 return testSuite;
57 private static void createEventOrderingTestCases(TestSuite testSuite) {
81 testSuite.addTest(test);
SensorIntegrationTests.java 19 import junit.framework.TestSuite;
55 TestSuite testSuite = new TestSuite();
58 addTestToSuite(testSuite, "testSensorsWithSeveralClients");
59 addTestToSuite(testSuite, "testSensorsMovingRates");
60 createStoppingTestCases(testSuite);
62 return testSuite;
175 private static void createStoppingTestCases(TestSuite testSuite) {
    [all...]
  /frameworks/base/test-runner/tests/src/android/test/suitebuilder/
SmokeTestSuiteBuilderTest.java 20 import junit.framework.TestSuite;
27 TestSuite testSuite = new SmokeTestSuiteBuilder(getClass())
30 List<String> testCaseNames = ListTestCaseNames.getTestCaseNames(testSuite);
InstrumentationTestSuiteBuilderTest.java 28 import junit.framework.TestSuite;
53 TestSuite testSuite = new OuterTest()
55 List<String> testCaseNames = getTestCaseNames(testSuite);
66 TestSuite suite = builder.build();
UnitTestSuiteBuilderTest.java 27 import junit.framework.TestSuite;
44 TestSuite testSuite = unitTestSuiteBuilder.build();
45 Assert.assertEquals(0, ListTestCaseNames.getTestCaseNames(testSuite).size());
59 TestSuite suite = builder.build();
TestSuiteBuilderTest.java 34 import junit.framework.TestSuite;
114 TestSuite testSuite = testSuiteBuilder.build();
115 assertContentsInOrder(getTestCaseNames(testSuite),
136 TestSuite testSuite = new OuterTest().buildTestsUnderHereRecursively();
137 assertContentsInOrder(getTestCaseNames(testSuite),
168 TestSuite suite = builder.build();
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
gUnitAdapter.java 36 import org.antlr.gunit.swingui.model.TestSuite;
45 private TestSuite testSuite;
47 public gUnitAdapter(TestSuite suite) throws IOException, ClassNotFoundException {
51 testSuite = suite;
55 if (testSuite == null)
56 throw new IllegalArgumentException("Null testsuite.");
62 final CharStream input = new ANTLRFileStream(testSuite.getTestSuiteFile().getCanonicalPath());
72 testSuite.getTestSuiteFile().getParent(), testSuite);
    [all...]
NotifiedTestExecuter.java 40 private TestSuite testSuite ;
42 public NotifiedTestExecuter(GrammarInfo grammarInfo, ClassLoader loader, String testsuiteDir, TestSuite suite) {
45 testSuite = suite;
55 final Rule rule = testSuite.getRule(ruleName);
68 final Rule rule = testSuite.getRule(ruleName);
TestSuiteAdapter.java 33 * Adapter class for gunit parser to save information into testsuite object.
38 private TestSuite model ;
41 public TestSuiteAdapter(TestSuite testSuite) {
42 model = testSuite;
  /cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/
CtsNativeScanner.java 40 String testSuite = null;
43 testSuite = getArg(args, ++i, "Missing value for test suite");
50 if (testSuite == null) {
56 TestScanner scanner = new TestScanner(reader, testSuite);
TestScanner.java 34 * suite:TestSuite
45 TestScanner(BufferedReader reader, String testSuite) {
46 mTestSuite = testSuite;
  /frameworks/base/test-runner/src/android/test/
TestCaseUtil.java 23 import junit.framework.TestSuite;
77 if (workingTest instanceof TestSuite) {
78 TestSuite testSuite = (TestSuite) workingTest;
79 Enumeration enumeration = testSuite.tests();
102 * method that returns a TestSuite including the TestCase itself,
127 } else if (test instanceof TestSuite) {
128 TestSuite testSuite = (TestSuite) test
    [all...]
  /system/core/libctest/
ctest.c 39 } TestSuite;
42 static TestSuite* getTestSuite() {
43 static TestSuite* suite = NULL;
49 suite = calloc(1, sizeof(TestSuite));
59 TestSuite* testSuite = getTestSuite();
60 assert(testSuite->size <= MAX_TESTS);
62 int index = testSuite->size;
63 testSuite->testNames[index] = name;
64 testSuite->tests[index] = test
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
RuleListController.java 49 import org.antlr.gunit.swingui.model.TestSuite;
61 private TestSuite testSuite = null;
71 private void setTestSuite(TestSuite newTestSuite) {
72 testSuite = newTestSuite;
77 public void initialize(TestSuite ts) {
145 if(testSuite == null)
150 return testSuite.getRuleCount();
154 return testSuite.getRule(index);
  /frameworks/base/test-runner/tests/src/android/test/
AndroidTestRunnerTest.java 27 import junit.framework.TestSuite;
51 mAndroidTestRunner.setTestClassName(TestSuite.class.getName(), null);
57 assertEquals(TestSuite.class.getSimpleName(), mAndroidTestRunner.getTestClassName());
198 public TestSuite getTestSuite() {
199 TestSuite testSuite = new TestSuite();
200 testSuite.addTestSuite(OneTestTestCase.class);
201 return testSuite;
210 public static TestSuite suite()
    [all...]
InstrumentationTestRunnerTest.java 29 import junit.framework.TestSuite;
71 TestSuite testSuite = new TestSuite();
72 testSuite.addTestSuite(PlaceHolderTest.class);
73 mInstrumentationTestRunner.setAllTestsSuite(testSuite);
87 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test),
189 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test),
207 private TestSuite mTestSuite;
208 private TestSuite mDefaultTestSuite
    [all...]
TestCaseUtilTest.java 21 import junit.framework.TestSuite;
28 TestSuite testSuite = new TwoTestsInTestSuite();
30 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testSuite, false);
62 assertEquals("", TestCaseUtil.getTestName(new TestSuite()));
86 TestSuite suite = new TestSuite(OneTestTestSuite.class.getName());
92 public static class TwoTestsInTestSuite extends TestSuite {
94 TestSuite suite = new TestSuite(TwoTestsInTestSuite.class.getName())
    [all...]
  /external/llvm/utils/lit/lit/
TestFormats.py 59 def getTestsInExecutable(self, testSuite, path_in_suite, execpath,
67 yield lit.Test.Test(testSuite, testPath, localConfig)
69 def getTestsInDirectory(self, testSuite, path_in_suite,
71 source_path = testSuite.getSourcePath(path_in_suite)
82 testSuite, dirpath_in_suite, execpath,
87 testSuite, path_in_suite, filepath,
117 def getTestsInDirectory(self, testSuite, path_in_suite,
119 source_path = testSuite.getSourcePath(path_in_suite)
130 yield lit.Test.Test(testSuite, path_in_suite + (filename,),
163 def getTestsInDirectory(self, testSuite, path_in_suite
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
GrammarInfo.java 89 public void addRuleTestSuite(gUnitTestSuite testSuite) {
90 this.ruleTestSuites.add(testSuite);
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
TestSuiteFactory.java 62 * Factory method: create a testsuite from ANTLR grammar. Save the test
67 public static TestSuite createTestSuite(File grammarFile) {
75 final TestSuite result = new TestSuite(grammarName, testFile);
115 /* Save testsuite to *.gunit file. */
116 public static boolean saveTestSuite(TestSuite testSuite) {
117 final String data = getScript(testSuite);
119 FileWriter fw = new FileWriter(testSuite.getTestSuiteFile());
131 * Get the text script from the testSuite
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestSuite.java 33 * Data structure that represents a "TestSuite" XML element and its children.
35 class TestSuite extends AbstractXmlPullParser {
37 static final String TAG = "TestSuite";
42 Map<String, TestSuite> mChildSuiteMap = new LinkedHashMap<String, TestSuite>();
46 * @param testSuite
48 public TestSuite(String suiteName) {
52 public TestSuite() {
85 TestSuite suite = getTestSuite(rootName);
91 * Gets all the child {@link TestSuite}
    [all...]

Completed in 184 milliseconds

1 2