Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,786 for toString (0.19 sec)

  1. 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: 2024-04-07 03:35
    - Last Modified: 2023-09-06 08:39
    - 44.3K bytes
    - Viewed (0)
  2. 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: 2024-04-12 12:43
    - Last Modified: 2018-01-09 20:10
    - 3K bytes
    - Viewed (0)
  3. 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: 2024-04-12 12:43
    - Last Modified: 2018-01-09 20:10
    - 2.7K bytes
    - Viewed (0)
  4. 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: 2024-04-12 12:43
    - Last Modified: 2023-09-06 17:04
    - 13.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      public void testToString_minimal() {
        assertNotNull("toString() should not return null", getMap().toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
      @CollectionSize.Require(ONE)
    Java
    - Registered: 2024-04-12 12:43
    - Last Modified: 2018-01-09 20:10
    - 3.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      public void testToString_minimal() {
        assertNotNull("toString() should not return null", getMap().toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
      @CollectionSize.Require(ONE)
    Java
    - Registered: 2024-04-12 12:43
    - Last Modified: 2018-01-09 20:10
    - 3.4K bytes
    - Viewed (0)
  7. 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: 2024-04-08 08:04
    - Last Modified: 2024-02-22 01:37
    - 18.6K bytes
    - Viewed (1)
  8. 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: 2024-04-12 11:42
    - Last Modified: 2024-01-08 01:13
    - 7.3K bytes
    - Viewed (0)
  9. android/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: 2024-04-12 12:43
    - Last Modified: 2018-01-09 20:10
    - 2.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypesTest.java

        assertEquals(jvmType1.toString(), ourType1.toString());
        assertEquals(jvmType2.toString(), ourType2.toString());
      }
    
      public void testNewArrayTypeOfArray() {
        Type jvmType = new TypeCapture<int[][]>() {}.capture();
        Type ourType = Types.newArrayType(int[].class);
        assertEquals(jvmType.toString(), ourType.toString());
    Java
    - Registered: 2024-04-12 12:43
    - Last Modified: 2024-02-22 17:15
    - 14.8K bytes
    - Viewed (0)
Back to top