Home
last modified time | relevance | path

Searched refs:runTest (Results 1 – 25 of 137) sorted by relevance

123456

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DContextPathTest.java161 runTest("/", "/", "", true, false, false); in testRootDefault()
163 runTest("/bar/", "/bar/", "", false, false, true); in testRootDefault()
165 runTest("/foo/xxx", "/foo/xxx", "", false, true, false); in testRootDefault()
167 runTest("/xxx", "/xxx", "", true, false, false); in testRootDefault()
173 runTest("/", "", "", true, false, false); in testRootExplicit()
175 runTest("/bar/", "", "", false, false, true); in testRootExplicit()
177 runTest("/foo/xxx", "", "", false, true, false); in testRootExplicit()
179 runTest("/xxx", "", "", true, false, false); in testRootExplicit()
185 runTest("/", "/", "", true, false, false); in testRootSpecific()
187 runTest("/bar/", "/bar", "", false, false, true); in testRootSpecific()
[all …]
/external/smali/smali/src/test/java/org/jf/smali/
DLexerTest.java61 runTest("DirectiveTest"); in DirectiveTest()
66 runTest("ByteLiteralTest"); in ByteLiteralTest()
71 runTest("ShortLiteralTest"); in ShortLiteralTest()
76 runTest("IntegerLiteralTest"); in IntegerLiteralTest()
81 runTest("LongLiteralTest"); in LongLiteralTest()
86 runTest("FloatLiteralTest"); in FloatLiteralTest()
91 runTest("CharLiteralTest"); in CharLiteralTest()
96 runTest("StringLiteralTest"); in StringLiteralTest()
101 runTest("MiscTest"); in MiscTest()
106 runTest("CommentTest", false); in CommentTest()
[all …]
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_4_5_6.pass.cpp139 runTest<Expect &> (M, C_<T&>(obj), expect); in runTestDispatch()
140 runTest<Expect const&> (M, C_<T const&>(obj), expect); in runTestDispatch()
141 runTest<Expect volatile&> (M, C_<T volatile&>(obj), expect); in runTestDispatch()
142 runTest<Expect const volatile&>(M, C_<T const volatile&>(obj), expect); in runTestDispatch()
144 runTest<Expect&&> (M, C_<T&&>(obj), expect); in runTestDispatch()
145 runTest<Expect const&&> (M, C_<T const&&>(obj), expect); in runTestDispatch()
146 runTest<Expect volatile&&> (M, C_<T volatile&&>(obj), expect); in runTestDispatch()
147 runTest<Expect const volatile&&>(M, C_<T const volatile&&>(obj), expect); in runTestDispatch()
153 runTest<Expect &> (M, obj, expect); in runTestPropCVDispatch()
154 runTest<Expect const&> (M, makeConst(obj), expect); in runTestPropCVDispatch()
[all …]
Dbullet_1_2_3.pass.cpp187 runTest(v); in runTestDispatch()
192 runTest(v); in runTestDispatch()
193 runTest(makeConst(v)); in runTestDispatch()
198 runTest(v); in runTestDispatch()
199 runTest(makeVolatile(v)); in runTestDispatch()
205 runTest(v); in runTestDispatch()
206 runTest(makeConst(v)); in runTestDispatch()
207 runTest(makeVolatile(v)); in runTestDispatch()
208 runTest(makeCV(v)); in runTestDispatch()
212 void runTest(const std::reference_wrapper<T>& obj) { in runTest() function
[all …]
/external/swiftshader/third_party/subzero/unittest/
DIceParseInstsTest.cpp60 EXPECT_FALSE(DumpMunger.runTest()); in TEST()
68 EXPECT_FALSE(Munger.runTest(ParseError)); in TEST()
74 EXPECT_DEATH(Munger.runTest(ParseError), ".*ERROR: Unable to continue.*"); in TEST()
100 EXPECT_TRUE(DumpMunger.runTest()); in TEST()
107 EXPECT_TRUE(Munger.runTest()); in TEST()
114 EXPECT_TRUE(Munger.runTest(ARRAY(Align0))); in TEST()
124 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST()
140 EXPECT_TRUE(Munger.runTest(ARRAY(Align29))); in TEST()
167 EXPECT_TRUE(DumpMunger.runTest()); in TEST()
172 EXPECT_TRUE(Munger.runTest()); in TEST()
[all …]
DBitcodeMunge.h43 bool runTest(const uint64_t Munges[], size_t MungeSize,
47 bool runTest(bool DisableTranslation = false) {
49 return runTest(NoMunges, 0, DisableTranslation);
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DAnalysisTest.java60 runTest("ConstructorTest", true); in ConstructorTest()
65 runTest("RegisterEqualityOnMergeTest", true); in RegisterEqualityOnMergeTest()
70 runTest("UninitRefIdentityTest", true); in UninitRefIdentityTest()
75 runTest("InstanceOfTest", true, true); in InstanceOfTest()
80 runTest("MultipleStartInstructionsTest", true); in MultipleStartInstructionsTest()
85 runTest("DuplicateTest", false); in DuplicateTest()
90 runTest("LocalTest", false); in LocalTest()
93 public void runTest(String test, boolean registerInfo) throws IOException, URISyntaxException { in runTest() method in AnalysisTest
94 runTest(test, registerInfo, false); in runTest()
97 …public void runTest(String test, boolean registerInfo, boolean isArt) throws IOException, URISynta… in runTest() method in AnalysisTest
DLargeLocalTest.java42 runTest("LargeEndLocal"); in testLargeEndLocal()
47 runTest("LargeRestartLocal"); in testLargeRestartLocal()
52 runTest("LargeStartLocal"); in testLargeStartLocal()
DDisassemblyTest.java59 protected void runTest(@Nonnull String testName) { in runTest() method in DisassemblyTest
60 runTest(testName, new BaksmaliOptions()); in runTest()
63 protected void runTest(@Nonnull String testName, @Nonnull BaksmaliOptions options) { in runTest() method in DisassemblyTest
/external/testng/src/test/java/test/thread/
DParallelSuiteTest.java18 runTest(5, 2, 2, null, Arrays.asList( in suitesShouldRunInParallel1()
25 runTest(5, 3, 3, null, Arrays.asList( in suitesShouldRunInParallel2()
43 private void runTest(int suiteThreadPoolSize, int expectedThreadCount, in runTest() method in ParallelSuiteTest
65 runTest(10, 5, 5, null, Arrays.asList( in suitesShouldRunInParallel4()
74 runTest(5, 5, 7, null, Arrays.asList( in suitesShouldRunInParallel5()
80 runTest(2, 2, 7, null, Arrays.asList( in suitesShouldRunInParallel6()
110 runTest(1, 1, 3, true, Arrays.asList( in suitesShouldRun1()
DFactoryTest.java17 runTest(null, 1); in verifyFactoryNotParallel()
26 runTest(XmlSuite.ParallelMode.METHODS, 2); in verifyFactoryParallelMethods()
31 runTest(XmlSuite.ParallelMode.TESTS, 1); in verifyFactoryParallelTests()
34 private void runTest(XmlSuite.ParallelMode parallelMode, int expectedThreadIdCount) { in runTest() method in FactoryTest
/external/testng/src/test/java/test/priority/
DPriorityTest.java12 private void runTest(Class<?> cls, String first, String second, boolean parallel) { in runTest() method in PriorityTest
22 runTest(WithPrioritySampleTest.class, "first", "second", true /* parallel */); in priorityInParallel1()
27 runTest(WithPrioritySample2Test.class, "second", "first", true /* parallel */); in priorityInParallel2()
32 runTest(WithPrioritySampleTest.class, "first", "second", false /* sequential */); in priorityInSequential1()
37 runTest(WithPrioritySample2Test.class, "second", "first", false /* sequential */); in priorityInSequential2()
/external/testng/src/test/java/test/factory/
DFactoryDataProviderTest.java18 runTest(FactoryDataProviderSampleTest.class, 41, 42); in factoryWithLocalDataProvider()
23 runTest(FactoryDataProviderStaticSampleTest.class, 43, 44); in factoryWithStaticDataProvider()
28 runTest(FactoryDataProviderWithNoArgCtorSampleErrorTest.class, 45, 46); in factoryWithNonStaticDataProvider()
34 runTest(FactoryDataProviderStaticSampleErrorTest.class, 43, 44); in factoryWithNonStaticDataProviderShouldFail()
37 private void runTest(Class<?> cls, int n1, int n2) { in runTest() method in FactoryDataProviderTest
/external/testng/src/test/java/test/configuration/
DGroupsTest.java23 runTest(ConfigurationGroupDataProviderSampleTest.class, in verifyDataProviderAfterGroups()
32 runTest(ConfigurationGroupInvocationCountSampleTest.class, in verifyParametersAfterGroups()
41 runTest(ConfigurationGroupBothSampleTest.class, in verifyBothAfterGroups()
48 private void runTest(Class cls, List<Integer> list, List<Integer> expected) { in runTest() method in GroupsTest
/external/testng/src/test/java/test/listeners/
DConfigurationListenerTest.java39 private void runTest(Class<?> cls, int expected) { in runTest() method in ConfigurationListenerTest
51 runTest(ConfigurationListenerSucceedSampleTest.class, 1 + 3); in shouldSucceed()
56 runTest(ConfigurationListenerFailSampleTest.class, 1 + 5); in shouldFail()
61 runTest(ConfigurationListenerSkipSampleTest.class, 1 + 5 + 7); // fail + skip in shouldSkip()
DExecutionListenerTest.java33 runTest(ExecutionListener1SampleTest.class, true /* add listener */, true /* should run */); in executionListenerWithXml()
38 runTest(ExecutionListener1SampleTest.class, false /* don't add listener */, in executionListenerWithoutListener()
44 runTest(ExecutionListener2SampleTest.class, false /* don't add listener */, in executionListenerAnnotation()
48 private void runTest(Class<?> listenerClass, boolean addListener, boolean expected) { in runTest() method in ExecutionListenerTest
DAlterSuiteListenerTest.java20 …XmlSuite suite = runTest(AlterSuiteListener1SampleTest.class, AlterSuiteNameListener.class.getName… in executionListenerWithXml()
26 … XmlSuite suite = runTest(AlterSuiteListener1SampleTest.class, null/*Donot add the listener*/); in executionListenerWithoutListener()
32 …XmlSuite suite = runTest(AlterSuiteListener1SampleTest.class, AlterXmlTestsInSuiteListener.class.g… in executionListenerWithXml2()
37 private XmlSuite runTest(Class<?> listenerClass, String listenerName) { in runTest() method in AlterSuiteListenerTest
/external/testng/src/test/java/test/
DReturnValueTest.java27 runTest(true); in suiteReturnValueTestShouldBeRun()
32 runTest(false); in suiteReturnValueTestShouldNotBeRun()
38 runTest(true); in testReturnValueTestShouldBeRun()
41 private void runTest(boolean allowed) { in runTest() method in ReturnValueTest
/external/testng/src/test/java/test/commandline/
DCommandLineOverridesXml.java18 runTest("go", null, Arrays.asList(new String[] { "f2" })); in commandLineGroupsShouldOverrideXml()
23 runTest(null, "go", Arrays.asList(new String[] { "f1" })); in commandLineExcludedGroupsShouldOverrideXml()
28 runTest(null, null, Arrays.asList(new String[] { "f1", "f2" })); in shouldRunBothMethods()
31 private void runTest(String group, String excludedGroups, List<String> methods) { in runTest() method in CommandLineOverridesXml
/external/testng/src/test/java/test/methodselectors/
DPriorityTest.java13 private void runTest(int priority, String[] passedTests) { in runTest() method in PriorityTest
41 runTest(-5, new String[] {}); in negativePriority()
46 runTest(5, new String[] { "alwaysRun" }); in lessThanTenPriority()
51 runTest(15, new String[] { "alwaysRun", "neverRun" }); in greaterThanTenPriority()
/external/testng/src/test/java/test/override/
DOverrideTest.java25 private void runTest(String include, String exclude) { in runTest() method in OverrideTest
49 runTest("goodGroup", null); in overrideIncludeShouldWork()
55 runTest(null, "badGroup"); in overrideExcludeShouldWork()
61 runTest("goodGroup", "badGroup"); in overrideIncludeAndExcludeShouldWork()
/external/testng/src/test/java/test/verify/
DVerifyTest.java12 private void runTest(Class<?> cls, int expected) { in runTest() method in VerifyTest
23 runTest(VerifySampleTest.class, 4); in verifyWithAnnotation()
28 runTest(VerifyNoListenersSampleTest.class, 3); in verifyWithoutAnnotation()
/external/testng/src/test/java/test/dependent/
DGroupByInstancesTest.java16 runTest(false); in dontGroupByInstances()
21 runTest(true); in groupByInstances()
24 private void runTest(boolean group) { in runTest() method in GroupByInstancesTest
/external/testng/src/test/java/test/invocationcount/
DFailedInvocationCountTest.java10 private void runTest(boolean skip, in runTest() method in FailedInvocationCountTest
28 runTest(true, 4, 1, 5); in verifyGloballyShouldStop()
33 runTest(false, 4, 6, 0); in verifyGloballyShouldNotStop()
/external/testng/src/test/java/test/issue107/
DIssue107Test.java27 runTest(suite); in testSuiteParameterModificationFromListener()
34 runTest(suite); in testSuiteParameterSetFromListener()
37 private void runTest(XmlSuite suite) { in runTest() method in Issue107Test

123456