- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 358 for fOo (0.03 seconds)
-
guava-tests/test/com/google/common/net/PercentEscaperTest.java
public void testCustomEscaper_withpercent() { UnicodeEscaper e = new PercentEscaper("%", false); assertThat(e.escape("foo|bar")).isEqualTo("foo%7Cbar"); assertThat(e.escape("foo%7Cbar")).isEqualTo("foo%7Cbar"); // idempotent } /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */ @SuppressWarnings("nullness") // test of a bogus call
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
* fieldDesc.getFieldValue(foo); // Retrieve the value of Foo's field * } * * for (ConstructorDesc constructorDesc : beanDesc.getConstructorDescs()) { * constructorDesc.newInstance(...); // Create an instance of Foo * } * * for (String methodName : beanDesc.getMethodNames()) { * for (MethodDesc methodDesc : beanDesc.getMethodDescs(methodName)) { * methodDesc.invoke(foo, ...); // Invoke Foo's method * }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 7.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* * <p>For example: * * {@snippet : * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) { * return new ForwardingFoo(foo); * } * }); * } * * @author Ben Yu * @since 14.0 */ @GwtIncompatible @J2ktIncompatible @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
assertThat(findClassesToTest(ImmutableList.of(Foo.class))).containsExactly(Foo.class); assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class))) .containsExactly(Foo.class); } public void testFindClassesToTest_publicApiOnly() { sanityTests.publicApiOnly(); assertThat(findClassesToTest(ImmutableList.of(Foo.class))).isEmpty();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 02:48:50 GMT 2024 - 5.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator(); Iterator<String> filtered = filter(unfiltered, equalTo("foo")); List<String> expected = singletonList("foo"); List<String> actual = Lists.newArrayList(filtered); assertEquals(expected, actual); } public void testFilterNoMatch() { Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
return ("{" + c + "}").toCharArray(); } }; EscaperAsserts.assertBasic(wrappingEscaper); // '[' and '@' lie either side of [A-Z]. assertThat(wrappingEscaper.escape("[FOO@BAR]")).isEqualTo("{[}FOO{@}BAR{]}"); } public void testSafeRange_maxLessThanMin() throws IOException { // Basic escaping of unsafe chars (wrap them in {,}'s) CharEscaper wrappingEscaper =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 18 15:41:04 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
} @Test @DisplayName("writeSetupWireFormat writes subCommand and padding") void testWriteSetup() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("foo"); byte[] buf = new byte[2]; int r = cmd.writeSetupWireFormat(buf, 0); assertEquals(2, r); byte subCmd = (byte) getPrivateField(cmd, "subCommand"); assertEquals(subCmd, buf[0]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
private fun someClasses(): Sequence<Path> { val directory = projectDir.resolve("classes") touchFile(directory.resolve("com/acme/Foo.class")) touchFile(directory.resolve("com/acme/internal/FooInternal.class")) touchFile(directory.resolve("com/foo/internal/FooInternal.class")) touchFile(directory.resolve("javax/servlet/http/HttpServletRequest.class"))Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 25 08:50:34 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
List<? super String> list) { return notSubtype(list); } // Can't test getSupertype() or getSubtype() because JDK reflection doesn't consider // Foo<?> and Foo<? extends Bar> equal for class Foo<T extends Bar> @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public UseIterable<?> explicitTypeBoundIsSubtypeOfImplicitTypeBound(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0)