- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for foobar (0.4 sec)
-
guava-tests/test/com/google/common/io/BaseEncodingTest.java
public void testBase32Offset() { testEncodesWithOffset(base32(), "foobar", 0, 6, "MZXW6YTBOI======"); testEncodesWithOffset(base32(), "foobar", 1, 5, "N5XWEYLS"); testEncodesWithOffset(base32(), "foobar", 2, 3, "N5RGC==="); testEncodesWithOffset(base32(), "foobar", 3, 1, "MI======"); testEncodesWithOffset(base32(), "foobar", 4, 0, ""); } public void testBase32Hex() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Aug 25 16:34:08 GMT 2022 - 24.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
} public void testTruncate() { assertEquals("foobar", Ascii.truncate("foobar", 10, "...")); assertEquals("fo...", Ascii.truncate("foobar", 5, "...")); assertEquals("foobar", Ascii.truncate("foobar", 6, "...")); assertEquals("...", Ascii.truncate("foobar", 3, "...")); assertEquals("foobar", Ascii.truncate("foobar", 10, "…")); assertEquals("foo…", Ascii.truncate("foobar", 4, "…"));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
assertEquals("foo", LOWER_CAMEL.to(LOWER_CAMEL, "foo")); assertEquals("fooBar", LOWER_CAMEL.to(LOWER_CAMEL, "fooBar")); } public void testLowerCamelToUpperCamel() { assertEquals("Foo", LOWER_CAMEL.to(UPPER_CAMEL, "foo")); assertEquals("FooBar", LOWER_CAMEL.to(UPPER_CAMEL, "fooBar")); assertEquals("HTTP", LOWER_CAMEL.to(UPPER_CAMEL, "hTTP")); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
public void testBase32Offset() { testEncodesWithOffset(base32(), "foobar", 0, 6, "MZXW6YTBOI======"); testEncodesWithOffset(base32(), "foobar", 1, 5, "N5XWEYLS"); testEncodesWithOffset(base32(), "foobar", 2, 3, "N5RGC==="); testEncodesWithOffset(base32(), "foobar", 3, 1, "MI======"); testEncodesWithOffset(base32(), "foobar", 4, 0, ""); } public void testBase32Hex() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 24.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
assertEquals("foo", LOWER_CAMEL.to(LOWER_CAMEL, "foo")); assertEquals("fooBar", LOWER_CAMEL.to(LOWER_CAMEL, "fooBar")); } public void testLowerCamelToUpperCamel() { assertEquals("Foo", LOWER_CAMEL.to(UPPER_CAMEL, "foo")); assertEquals("FooBar", LOWER_CAMEL.to(UPPER_CAMEL, "fooBar")); assertEquals("HTTP", LOWER_CAMEL.to(UPPER_CAMEL, "hTTP")); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
} public void testTruncate() { assertEquals("foobar", Ascii.truncate("foobar", 10, "...")); assertEquals("fo...", Ascii.truncate("foobar", 5, "...")); assertEquals("foobar", Ascii.truncate("foobar", 6, "...")); assertEquals("...", Ascii.truncate("foobar", 3, "...")); assertEquals("foobar", Ascii.truncate("foobar", 10, "…")); assertEquals("foo…", Ascii.truncate("foobar", 4, "…"));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertTrue(toTest, toTest.matches(".*\\{\\}")); } public void testConstructor_stringObject() { String toTest = MoreObjects.toStringHelper("FooBar").toString(); assertEquals("FooBar{}", toTest); } @GwtIncompatible // Class names are obfuscated in GWT public void testToStringHelper_localInnerClass() { // Local inner classes have names ending like "Outer.$1Inner"
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:24:55 GMT 2024 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
} public void testEncodedLength_invalidStrings() { testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0); testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6); testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0); testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6); testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ObjectsTest.java
public class ObjectsTest extends TestCase { public void testEqual() throws Exception { assertTrue(Objects.equal(1, 1)); assertTrue(Objects.equal(null, null)); // test distinct string objects String s1 = "foobar"; String s2 = new String(s1); assertTrue(Objects.equal(s1, s2)); assertFalse(Objects.equal(s1, null)); assertFalse(Objects.equal(null, s1)); assertFalse(Objects.equal("foo", "bar"));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
* Tests for the MessageDigestHashFunction. * * @author Kurt Alfred Kluever */ public class MessageDigestHashFunctionTest extends TestCase { private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar"); // From "How Provider Implementations Are Requested and Supplied" from // http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.2K bytes - Viewed (0)