- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,796 for ToString (0.19 sec)
-
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertTrue(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE); assertEquals("1.4", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND); assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE); restriction = restrictions.get(2); assertEquals("1.5", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 44.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
public void testToString_minimal() { assertNotNull("toString() should not return null", collection.toString()); } @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyCollection.toString should return []", "[]", collection.toString()); } @CollectionSize.Require(ONE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java
} @CollectionSize.Require(ONE) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToStringSingleton() { assertEquals("{" + k0() + "=[" + v0() + "]}", multimap().toString()); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testToStringWithNullKey() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString()); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashBytes(input.getBytes(UTF_8)).toString()); } public void testKnownInputs_mixedAlgorithms() throws Exception {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
assertTrue(doc.entrySet().stream() .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[0].toLowerCase())), doc.toString()); assertFalse(doc.entrySet().stream() .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[2].toLowerCase())), doc.toString()); } } @Test public void searchTestWithLabel() throws Exception {
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 18.6K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt
CacheControl.Builder() .maxAge(2, TimeUnit.DAYS) .build() assertThat(cacheControl.toString()).isEqualTo("max-age=172800") assertThat(cacheControl.toString()).isSameAs(cacheControl.toString()) } @Test @Throws(Exception::class) fun timeDurationTruncatedToMaxValue() { val cacheControl = CacheControl.Builder()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertEquals(expected, helper.toString()); // Call toString again assertEquals(expected, helper.toString()); // Make sure the cached value is reset when we modify the helper at all final String expected2 = "TestClass{field1=1, value1, field2=value2, 2}"; helper.addValue(2); assertEquals(expected2, helper.toString()); }
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/src/com/google/common/hash/MacHashFunction.java
private final Key key; private final String toString; private final int bits; private final boolean supportsClone; MacHashFunction(String algorithmName, Key key, String toString) { this.prototype = getMac(algorithmName, key); this.key = checkNotNull(key); this.toString = checkNotNull(toString); this.bits = prototype.getMacLength() * Byte.SIZE;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 15 22:31:55 GMT 2022 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
public void testToString_minimal() { assertNotNull("toString() should not return null", collection.toString()); } @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyCollection.toString should return []", "[]", collection.toString()); } @CollectionSize.Require(ONE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
private final String toString; MessageDigestHashFunction(String algorithmName, String toString) { this.prototype = getMessageDigest(algorithmName); this.bytes = prototype.getDigestLength(); this.toString = checkNotNull(toString); this.supportsClone = supportsClone(prototype); } MessageDigestHashFunction(String algorithmName, int bytes, String toString) { this.toString = checkNotNull(toString);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 25 20:32:46 GMT 2022 - 5K bytes - Viewed (0)