Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 11 of 11) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DRuleBasedCollatorTest.java43 String rule = "&9 < a < b < c < d"; in testHashCode() local
45 RuleBasedCollator coll = new RuleBasedCollator(rule); in testHashCode()
46 RuleBasedCollator same = new RuleBasedCollator(rule); in testHashCode()
60 String rule = "&9 < a < b < c < d < e"; in testEqualsObject() local
61 RuleBasedCollator coll = new RuleBasedCollator(rule); in testEqualsObject()
65 RuleBasedCollator other = new RuleBasedCollator(rule); in testEqualsObject()
77 String rule = "&9 < c < b < a"; in testCompareStringString() local
78 RuleBasedCollator coll = new RuleBasedCollator(rule); in testCompareStringString()
95 String rule = "&9 < a = b < c"; in testGetRules() local
96 RuleBasedCollator coll = new RuleBasedCollator(rule); in testGetRules()
[all …]
/libcore/dalvik/test-rules/src/test/java/libcore/dalvik/system/
DCloseGuardSupportTest.java43 @Rule public TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardSupportTest.DoesReleaseResource
58 @Rule public TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardSupportTest.DoesReleaseResourceTwice
76 @Rule public TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardSupportTest.DoesNotReleaseResource
94 @Rule public TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardSupportTest.DoesNotReleaseResourceDueToFailure
114 @Rule public TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardSupportTest.ResourceOwnerDoesNotOverrideFinalize
134 @Rule public TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardSupportTest.ResourceOwnerOverridesFinalizeButDoesNotReportLeak
157 @Rule public TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardSupportTest.ResourceOwnerOverridesFinalizeAndReportsLeak
/libcore/test-rules/src/main/java/libcore/junit/util/
DSwitchTargetSdkVersionRule.java66 TestRule rule;
69 rule = new SwitchVMRuntimeUsingReflection();
72 rule = new VMRuntimeNotSupported();
75 INSTANCE = rule;
/libcore/test-rules/src/main/java/libcore/junit/junit3/
DTestCaseWithRules.java98 for (Object rule : rules) { in runBare()
99 if (rule instanceof TestRule) { in runBare()
100 statement = ((TestRule) rule).apply(statement, description); in runBare()
102 statement = ((MethodRule) rule).apply(statement, frameworkMethod, this); in runBare()
/libcore/ojluni/src/main/java/java/time/zone/
DIcuZoneRulesProvider.java225 AnnualTimeZoneRule rule, int dstSavingMillisBefore) { in toZoneOffsetTransitionRule() argument
226 DateTimeRule dateTimeRule = rule.getRule(); in toZoneOffsetTransitionRule()
281 ZoneOffset standardOffset = millisToOffset(rule.getRawOffset()); in toZoneOffsetTransitionRule()
282 ZoneOffset offsetBefore = millisToOffset(rule.getRawOffset() + dstSavingMillisBefore); in toZoneOffsetTransitionRule()
284 rule.getRawOffset() + rule.getDSTSavings()); in toZoneOffsetTransitionRule()
DZoneRules.java417 for (ZoneOffsetTransitionRule rule : lastRules) { in writeExternal()
418 rule.writeExternal(out); in writeExternal()
/libcore/luni/src/test/java9language/
Djarjar_rules_java9_language_features.txt1 rule libcore.internal.** libcore.internal.repackaged.@1
/libcore/luni/src/test/java/libcore/java/text/
DCollatorTest.java100 String rule = "&9 < a < b < c < d < e"; in testEqualsObject() local
101 RuleBasedCollator coll = new RuleBasedCollator(rule); in testEqualsObject()
105 RuleBasedCollator other = new RuleBasedCollator(rule); in testEqualsObject()
/libcore/dalvik/src/test/java/libcore/dalvik/system/
DCloseGuardTest.java35 public TestRule rule = this::preserveEnabledState; field in CloseGuardTest
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java63 public MockitoRule mockitoRule = MockitoJUnit.rule();
DFiles2Test.java100 public MockitoRule mockitoRule = MockitoJUnit.rule();