Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 814 for assertequal (0.07 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertThat(factory.getTypeParameters()).hasLength(2);
        assertEquals(type.getTypeParameters()[0], factory.getTypeParameters()[0]);
        assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
        ParameterizedType returnType = (ParameterizedType) factory.getReturnType().getType();
        assertEquals(type, returnType.getRawType());
        assertEquals(
            ImmutableList.copyOf(type.getTypeParameters()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertThat(factory.getTypeParameters()).hasLength(2);
        assertEquals(type.getTypeParameters()[0], factory.getTypeParameters()[0]);
        assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
        ParameterizedType returnType = (ParameterizedType) factory.getReturnType().getType();
        assertEquals(type, returnType.getRawType());
        assertEquals(
            ImmutableList.copyOf(type.getTypeParameters()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

        assertNull(table.put("foo", 3, cellValue('c')));
        assertEquals((Character) 'a', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertSize(3);
        assertEquals((Character) 'd', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
        assertSize(3);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(new BigDecimal("1"), BigDecimalConversionUtil.toBigDecimal(Byte.valueOf((byte) 1)));
            assertEquals(new BigDecimal("10"), BigDecimalConversionUtil.toBigDecimal(Short.valueOf((short) 10)));
            assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            collector.add(Severity.WARNING, null, 42, 127, e2);
    
            assertEquals(2, collector.getProblems().size());
    
            Problem p1 = collector.getProblems().get(0);
            assertEquals(Severity.ERROR, p1.getSeverity());
            assertEquals("MESSAGE1", p1.getMessage());
            assertEquals(-1, p1.getLineNumber());
            assertEquals(-1, p1.getColumnNumber());
            assertNull(p1.getException());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        FreshValueGenerator generator = new FreshValueGenerator();
        generator.addSampleInstances(String.class, ImmutableList.of("a", "b"));
        assertEquals("a", generator.generateFresh(String.class));
        assertEquals("b", generator.generateFresh(String.class));
        assertEquals("a", generator.generateFresh(String.class));
      }
    
      public void testAddSampleInstances_oneInstance() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        assertEquals(singleton(array), set);
      }
    
      @GwtIncompatible // ImmutableSet.chooseTableSize
      public void testChooseTableSize() {
        assertEquals(8, ImmutableSet.chooseTableSize(3));
        assertEquals(8, ImmutableSet.chooseTableSize(4));
    
        assertEquals(1 << 29, ImmutableSet.chooseTableSize(1 << 28));
        assertEquals(1 << 29, ImmutableSet.chooseTableSize((1 << 29) * 3 / 5));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

      public void testToString() {
        // With ports.
        assertEquals("foo:101", "" + HostAndPort.fromString("foo:101"));
        assertEquals(":102", HostAndPort.fromString(":102").toString());
        assertEquals("[1::2]:103", HostAndPort.fromParts("1::2", 103).toString());
        assertEquals("[::1]:104", HostAndPort.fromString("[::1]:104").toString());
    
        // Without ports.
        assertEquals("foo", "" + HostAndPort.fromString("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top