Home
last modified time | relevance | path

Searched refs:testRule (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/clang/unittests/Tooling/
DTransformerTest.cpp137 void testRule(R Rule, StringRef Input, StringRef Expected) { in testRule() function in __anon989986640111::ClangRefactoringTestBase
184 testRule(ruleStrlenSize(), Input, Expected); in TEST_F()
190 testRule(ruleStrlenSize(), Input, Input); in TEST_F()
214 testRule(std::move(Rule), Input, Expected); in TEST_F()
232 testRule(Rule, Input, Expected); in TEST_F()
251 testRule(Rule, Input, Expected); in TEST_F()
269 testRule(Rule, Input, Expected); in TEST_F()
287 testRule(Rule, Input, Expected); in TEST_F()
304 testRule(Rule, Input, Expected); in TEST_F()
324 testRule(makeRule(declRefExpr(to(functionDecl(hasName("bad")))).bind(Ref), in TEST_F()
[all …]
/external/vogar/src/vogar/target/junit/
DRunnerParams.java34 private final TestRule testRule; field in RunnerParams
36 public RunnerParams(String qualification, String[] args, TestRule testRule) { in RunnerParams() argument
39 this.testRule = testRule; in RunnerParams()
51 return testRule; in getTestRule()
DApplyGlobalRulesBlockJUnit4ClassRunner.java33 private final TestRule testRule; field in ApplyGlobalRulesBlockJUnit4ClassRunner
35 public ApplyGlobalRulesBlockJUnit4ClassRunner(Class<?> klass, TestRule testRule) in ApplyGlobalRulesBlockJUnit4ClassRunner() argument
38 this.testRule = testRule; in ApplyGlobalRulesBlockJUnit4ClassRunner()
57 statement = testRule.apply(statement, getDescription()); in methodBlock()
DParentStatementRunner.java41 private final TestRule testRule; field in ParentStatementRunner
49 testRule = runnerParams.getTestRule(); in ParentStatementRunner()
71 statement = testRule.apply(statement, description); in runChild()
DStatementRunner.java39 private final TestRule testRule; field in StatementRunner
46 testRule = runnerParams.getTestRule(); in StatementRunner()
61 statement = testRule.apply(statement, description); in run()
DValidateTestMethodWhenRunBlockJUnit4ClassRunner.java37 protected ValidateTestMethodWhenRunBlockJUnit4ClassRunner(Class<?> klass, TestRule testRule) in ValidateTestMethodWhenRunBlockJUnit4ClassRunner() argument
39 super(klass, testRule); in ValidateTestMethodWhenRunBlockJUnit4ClassRunner()
/external/exoplayer/tree/extensions/ima/src/androidTest/java/com/google/android/exoplayer2/ext/ima/
DImaPlaybackTest.java72 @Rule public ActivityTestRule<HostActivity> testRule = new ActivityTestRule<>(HostActivity.class); field in ImaPlaybackTest
78 TestUtil.getString(/* context= */ testRule.getActivity(), PREROLL_ADS_RESPONSE_FILE_NAME); in playbackWithPrerollAdTag_playsAdAndContent()
82 testRule.getActivity().runTest(hostedTest, TIMEOUT_MS); in playbackWithPrerollAdTag_playsAdAndContent()
89 TestUtil.getString(/* context= */ testRule.getActivity(), MIDROLL_ADS_RESPONSE_FILE_NAME); in playbackWithMidrolls_playsAdAndContent()
93 testRule.getActivity().runTest(hostedTest, TIMEOUT_MS); in playbackWithMidrolls_playsAdAndContent()
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DDashDownloadTest.java53 @Rule public ActivityTestRule<HostActivity> testRule = new ActivityTestRule<>(HostActivity.class); field in DashDownloadTest
64 new DashTestRunner(TAG, testRule.getActivity()) in setUp()
70 tempFolder = Util.createTempDirectory(testRule.getActivity(), "ExoPlayerTest"); in setUp()
DCommonEncryptionDrmTest.java46 @Rule public ActivityTestRule<HostActivity> testRule = new ActivityTestRule<>(HostActivity.class); field in CommonEncryptionDrmTest
53 new DashTestRunner(TAG, testRule.getActivity()) in setUp()
DDashWidevineOfflineTest.java59 @Rule public ActivityTestRule<HostActivity> testRule = new ActivityTestRule<>(HostActivity.class); field in DashWidevineOfflineTest
64 new DashTestRunner(TAG, testRule.getActivity()) in setUp()
DDashStreamingTest.java87 @Rule public ActivityTestRule<HostActivity> testRule = new ActivityTestRule<>(HostActivity.class); field in DashStreamingTest
93 testRunner = new DashTestRunner(TAG, testRule.getActivity()); in setUp()
/external/junit/src/main/java/org/junit/runners/
DRuleContainer.java37 public void add(TestRule testRule) { in add() argument
38 testRules.add(testRule); in add()
/external/junit-params/src/test/java/junitparams/
DRulesTest.java53 TestRule testRule; field in RulesTest.ProtectedRuleTest
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...