Home
last modified time | relevance | path

Searched refs:isBefore (Results 1 – 25 of 29) sorted by relevance

12

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DJavaVersionTest.java50 assertTrue(new JavaVersion("1.7.0_80").isBefore("1.8.0_92")); in should_compare_with_given_version()
52 assertTrue(new JavaVersion("1.8.0_31").isBefore("1.8.0_92")); in should_compare_with_given_version()
54 assertFalse(new JavaVersion("1.8.0_92").isBefore("1.8.0_92")); in should_compare_with_given_version()
56 assertFalse(new JavaVersion("1.8.0_162").isBefore("1.8.0_92")); in should_compare_with_given_version()
57 assertFalse(new JavaVersion("1.8.0_162").isBefore("1.8")); in should_compare_with_given_version()
59 assertFalse(new JavaVersion("9.0.1").isBefore("1.8.0_92")); in should_compare_with_given_version()
DJavaVersion.java61 public boolean isBefore(final String version) { in isBefore() method in JavaVersion
/external/testng/src/main/java/org/testng/internal/
DConfigurationMethod.java159 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) { in createSuiteConfigurationMethods() argument
161 isBefore, in createSuiteConfigurationMethods()
162 !isBefore, in createSuiteConfigurationMethods()
175 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) { in createTestConfigurationMethods() argument
179 isBefore, in createTestConfigurationMethods()
180 !isBefore, in createTestConfigurationMethods()
191 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) { in createClassConfigurationMethods() argument
197 isBefore, in createClassConfigurationMethods()
198 !isBefore, in createClassConfigurationMethods()
207 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) in createBeforeConfigurationMethods() argument
[all …]
/external/jacoco/org.jacoco.core.test.validation.java7/src/org/jacoco/core/test/validation/java7/
DTryWithResourcesTest.java31 if (!isJDKCompiler || JAVA_VERSION.isBefore("11")) { in assertTry()
43 if (JAVA_VERSION.isBefore("1.8.0_92")) { in assertReturnInBodyClose()
64 } else if (JAVA_VERSION.isBefore("8")) { in assertEmptyClose()
66 } else if (JAVA_VERSION.isBefore("9")) { in assertEmptyClose()
77 } else if (JAVA_VERSION.isBefore("9")) { in assertThrowInBodyClose()
79 } else if (JAVA_VERSION.isBefore("11")) { in assertThrowInBodyClose()
/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/
DFinallyTest.java65 if (isJDKCompiler && JAVA_VERSION.isBefore("1.8")) { in assertTwoRegions1()
74 if (isJDKCompiler && JAVA_VERSION.isBefore("1.8")) { in assertTwoRegionsReturn1()
83 if (isJDKCompiler && JAVA_VERSION.isBefore("1.8")) { in assertTwoRegionsReturn2()
92 if (isJDKCompiler && JAVA_VERSION.isBefore("1.8")) { in assertEmptyTry1()
101 if (isJDKCompiler && JAVA_VERSION.isBefore("1.8")) { in assertEmptyTry2()
149 if (JAVA_VERSION.isBefore("10")) { in gotos()
182 if (isJDKCompiler && JAVA_VERSION.isBefore("1.8")) { in gotos()
DEnumSwitchTest.java30 if (isJDKCompiler && JAVA_VERSION.isBefore("1.6")) { in assertSwitch()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DRange.java80 return (begin.isBefore(other.begin) || begin.equals(other.begin)) && in contains()
96 return begin.isBefore(other.begin) && end.isAfter(other.end); in strictlyContains()
103 return position.isAfter(begin) && position.isBefore(end); in strictlyContains()
113 public boolean isBefore(Position position) { in isBefore() method in Range
114 return end.isBefore(position); in isBefore()
DPosition.java112 public boolean isBefore(Position position) { in isBefore() method in Position
126 if (isBefore(o)) { in compareTo()
/external/jacoco/org.jacoco.core.test.validation.java8/src/org/jacoco/core/test/validation/java8/
DBadCycleInterfaceTest.java31 if (JAVA_VERSION.isBefore("1.8.0_152")) { in method_execution_sequence()
40 if (JAVA_VERSION.isBefore("1.8.0_152")) { in assertBaseClInit()
54 if (JAVA_VERSION.isBefore("1.8.0_152")) { in assertChildDefault()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_Range.txt14 …Line 58) begin.isBefore(other.begin) ==> com.github.javaparser.Position.isBefore(com.github.javapa…
16 …Line 62) end.isBefore(position) ==> com.github.javaparser.Position.isBefore(com.github.javaparser.…
Dcom_github_javaparser_Position.txt6 Line 114) isBefore(o) ==> com.github.javaparser.Position.isBefore(com.github.javaparser.Position)
Dcom_github_javaparser_ast_Node.txt36 …Line 328) range.isBefore(position) ==> com.github.javaparser.Range.isBefore(com.github.javaparser.…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
DRange.java58 return begin.isBefore(other.begin) && end.isAfter(other.end); in contains()
61 public boolean isBefore(Position position) { in isBefore() method in Range
62 return end.isBefore(position); in isBefore()
DPosition.java100 public boolean isBefore(Position position) { in isBefore() method in Position
114 if (isBefore(o)) { in compareTo()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DPositionRangeSteps.java99 assertTrue(secondPosition.isBefore(position)); in thenItIsBeforeTheFirstPosition()
101 assertTrue(secondRange.isBefore(position)); in thenItIsBeforeTheFirstPosition()
117 assertFalse(secondPosition.isBefore(position)); in thenItIsNotBeforeTheFirstPosition()
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DDeadlineTest.java76 assertTrue(Deadline.after(0, TimeUnit.DAYS, ticker).isBefore(d)); in timeCanOverflow()
88 assertTrue(d.isBefore(Deadline.after(0, TimeUnit.DAYS, ticker))); in timeCanUnderflow()
96 assertTrue(d.isBefore(d2)); in deadlineClamps()
100 assertFalse(d.isBefore(d3)); in deadlineClamps()
101 assertFalse(d3.isBefore(d)); in deadlineClamps()
141 assertTrue(before.isBefore(after)); in deadlineDoesNotOverflowOrUnderflow()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DRange.java285 if (isBefore(element)) { in elementCompareTo()
342 if (isBefore(element)) { in fit()
451 public boolean isBefore(final T element) {
471 return isBefore(otherRange.minimum);
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DDoubleRangeTest.java225 assertFalse(range1.isBefore(null)); in testIsBefore()
227 assertFalse(range1.isBefore(5d)); in testIsBefore()
228 assertFalse(range1.isBefore(10d)); in testIsBefore()
229 assertFalse(range1.isBefore(15d)); in testIsBefore()
230 assertFalse(range1.isBefore(20d)); in testIsBefore()
231 assertTrue(range1.isBefore(25d)); in testIsBefore()
DLongRangeTest.java240 assertFalse(range1.isBefore(null)); in testIsBefore()
242 assertFalse(range1.isBefore(5L)); in testIsBefore()
243 assertFalse(range1.isBefore(10L)); in testIsBefore()
244 assertFalse(range1.isBefore(15L)); in testIsBefore()
245 assertFalse(range1.isBefore(20L)); in testIsBefore()
246 assertTrue(range1.isBefore(25L)); in testIsBefore()
DIntegerRangeTest.java225 assertFalse(range1.isBefore(null)); in testIsBefore()
227 assertFalse(range1.isBefore(5)); in testIsBefore()
228 assertFalse(range1.isBefore(10)); in testIsBefore()
229 assertFalse(range1.isBefore(15)); in testIsBefore()
230 assertFalse(range1.isBefore(20)); in testIsBefore()
231 assertTrue(range1.isBefore(25)); in testIsBefore()
DRangeTest.java328 assertFalse(intRange.isBefore(null)); in testIsBefore()
330 assertFalse(intRange.isBefore(5)); in testIsBefore()
331 assertFalse(intRange.isBefore(10)); in testIsBefore()
332 assertFalse(intRange.isBefore(15)); in testIsBefore()
333 assertFalse(intRange.isBefore(20)); in testIsBefore()
334 assertTrue(intRange.isBefore(25)); in testIsBefore()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DDeadline.java91 public boolean isBefore(Deadline other) { in isBefore() method in Deadline
100 return isBefore(other) ? this : other; in minimum()
/external/jacoco/org.jacoco.core.test.validation.java14/src/org/jacoco/core/test/validation/java14/
DInstanceofTest.java29 if (isJDKCompiler && JAVA_VERSION.isBefore("15")) { in assertInstanceof()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DNode.java328 return range.isBefore(position); in isPositionedBefore()
/external/icu/android_icu4j/testing/src/com/android/icu/test/util/
DExtendedTimeZoneParameterizedTest.java154 while (instant.isBefore(end)) { in testAllTransitions()

12