Searched refs:forExactly (Results 1 – 4 of 4) sorted by relevance
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/ |
D | AndroidSdkRangeTest.java | 21 import static com.android.adservices.shared.testing.AndroidSdk.Range.forExactly; 73 Range exactly33Directly = forExactly(33); in testIsInRange() 121 Range only33Exactly = forExactly(33); in testEqualsHashCode() 185 mergeValidAndAssertResult(forExactly(32), forAtLeast(32), forAtMost(32)); in testMergeRange_valid() 186 mergeValidAndAssertResult(forExactly(32), forAtLeast(32), forExactly(32), forAtMost(32)); in testMergeRange_valid() 188 forExactly(32), forAtLeast(32), forExactly(32), forRange(32, 32), forAtMost(32)); in testMergeRange_valid() 198 mergeValidAndAssertResult(forExactly(33), forRange(32, 33), forRange(33, 34)); in testMergeRange_valid() 207 mergeValidAndAssertResult(forExactly(32), forAnyLevel(), forExactly(32)); in testMergeRange_valid() 213 mergeInvalidAndAssertThrows(forExactly(32), forAtLeast(33)); in testMergeRange_invalid() 214 mergeInvalidAndAssertThrows(forExactly(32), forAtMost(31)); in testMergeRange_invalid()
|
D | RequiredRangeTest.java | 42 var range2 = Range.forExactly(42); in testEqualsHashCode()
|
D | AbstractSdkLevelSupportedRuleTest.java | 184 assertGetRequiredRangeForUnannotatedTest(/* ruleRange= */ Range.forExactly(42)); in testGetRequiredRange_unannotatedTest() 352 new RequiredRange(Range.forExactly(U.getLevel()), REASON_U), in testGetRequiredRange_annotatedTestClass_unannotatedTest() 413 new RequiredRange(Range.forExactly(U.getLevel()), REASON, REASON_U), in testGetRequiredRange_annotatedTestClass_annotatedTest()
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/ |
D | AndroidSdk.java | 156 public static Range forExactly(int level) { in forExactly() method in AndroidSdk.Range
|