- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 237 for testBar (0.38 seconds)
-
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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testStringConverter_nullPointerTester() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(Ints.stringConverter()); } public void testTryParse() { tryParseAndAssertEquals(0, "0"); tryParseAndAssertEquals(0, "-0");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/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 { @Keep @Require @NotTesterAnnotation public void test() {} }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testNulls_interface() { tester.testNulls(AnInterface.class); } public void testNulls_abstractClass() { tester.testNulls(AnAbstractClass.class); } public void testNulls_enum() throws Exception { tester.testNulls(OneConstantEnum.class); tester.testNulls(NoConstantEnum.class); tester.testNulls(TimeUnit.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
super.verify(elements); } } public void testVerifyGetsCalled() { TesterThatCountsCalls tester = new TesterThatCountsCalls(); tester.test(); assertEquals( "Should have verified once per stimulus executed", tester.numCallsToVerify, tester.numCallsToNewTargetIterator * STEPS); } public void testVerifyCanThrowAssertionThatFailsTest() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ParameterTest.java
} } } public void testEquals() { EqualsTester tester = new EqualsTester(); for (Method method : ParameterTest.class.getDeclaredMethods()) { for (Parameter param : Invokable.from(method).getParameters()) { tester.addEqualityGroup(param); } } tester.testEquals(); } @SuppressWarnings("unused") private void someMethod(int i, int j) {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ParameterTest.java
} } } public void testEquals() { EqualsTester tester = new EqualsTester(); for (Method method : ParameterTest.class.getDeclaredMethods()) { for (Parameter param : Invokable.from(method).getParameters()) { tester.addEqualityGroup(param); } } tester.testEquals(); } @SuppressWarnings("unused") private void someMethod(int i, int j) {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
return super.setValue(value); } private static final long serialVersionUID = 0; } static class TestMap<K, V> extends SynchronizedMapTest.TestMap<K, V> implements NavigableMap<K, V> { public TestMap(NavigableMap<K, V> delegate, Object mutex) { super(delegate, mutex); } @Override protected NavigableMap<K, V> delegate() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
android/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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
assertThrows(NullPointerException.class, () -> Atomics.newReferenceArray(null)); } public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicConstructors(Atomics.class); // there aren't any tester.testAllPublicStaticMethods(Atomics.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0)