- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 304 for testdr (0.09 sec)
-
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
/** * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding * wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; } /** * Tests that the forwarding wrapper returned by {@code wrapperFunction} properly forwards method
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
src/test/resources/org/codelibs/core/xml/test1.xml
Shinsuke Sugaya <******@****.***> 1419757266 +0900
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Sun Dec 28 09:01:06 UTC 2014 - 200 bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
public void testNullEqualityGroup() { EqualsTester tester = new EqualsTester(); assertThrows(NullPointerException.class, () -> tester.addEqualityGroup((Object[]) null)); } public void testNullObjectInEqualityGroup() { EqualsTester tester = new EqualsTester(); NullPointerException e = assertThrows(NullPointerException.class, () -> tester.addEqualityGroup(1, null, 3));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.isDone()); assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); } public void testCancel() throws Exception { assertTrue(future.cancel(true)); tester.testCancelledFuture(); } /** Tests the initial state of the future. */ public void testCreate() throws Exception { SettableFuture<Integer> future = SettableFuture.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} return requirements; } /** * Find all the tester annotations declared on a tester class or method. * * @param classOrMethod a class or method whose tester annotations to find * @return an iterable sequence of tester annotations on the class */ public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return !disjoint(a, b); } private static Method extractMethod(Test test) { if (test instanceof AbstractTester) { AbstractTester<?> tester = (AbstractTester<?>) test; return getMethod(tester.getClass(), tester.getTestMethodName()); } else if (test instanceof TestCase) { TestCase testCase = (TestCase) test; return getMethod(testCase.getClass(), testCase.getName()); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
@Require @NotTesterAnnotation class Tester {} assertThat(getTesterAnnotations(Tester.class)) .containsExactly(Tester.class.getAnnotation(Require.class)); } public void testGetTesterAnnotations_method() throws Exception { class Tester { @Require @NotTesterAnnotation public void test() {} } Method method = Tester.class.getMethod("test");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeNonGwtTest.java
import junit.framework.TestCase; /** * Test cases for {@link Range} which cannot run as GWT tests. * * @author Gregory Kick * @see RangeTest */ public class RangeNonGwtTest extends TestCase { public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Range.class); tester.testAllPublicStaticMethods(Range.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) { // probably URISyntaxException or IllegalArgumentException // fall back to copying URLs to files in the testDir == null block below } } if (testDir == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
this.tester = EquivalenceTester.of(equivalenceMock); } /** Test null reference yields error */ public void testOf_nullPointerException() { assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null)); } public void testTest_noData() { tester.test(); } public void testTest() { Object group1Item1 = new TestObject(1, 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8.3K bytes - Viewed (0)