Home
last modified time | relevance | path

Searched refs:forExactly (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DAndroidSdkRangeTest.java21 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()
DRequiredRangeTest.java42 var range2 = Range.forExactly(42); in testEqualsHashCode()
DAbstractSdkLevelSupportedRuleTest.java184 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/
DAndroidSdk.java156 public static Range forExactly(int level) { in forExactly() method in AndroidSdk.Range