Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,056 for assertEquals (0.21 sec)

  1. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(0, stats.requestCount());
        assertEquals(0, stats.hitCount());
        assertEquals(1.0, stats.hitRate());
        assertEquals(0, stats.missCount());
        assertEquals(0.0, stats.missRate());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0.0, stats.loadExceptionRate());
        assertEquals(0, stats.loadCount());
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2019-06-30 14:58
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
    
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-09-06 17:04
    - 86.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals(TermQuery.class, clauses.get(0).getQuery().getClass());
            assertEquals("_default:fess", clauses.get(0).getQuery().toString());
            assertEquals(Occur.SHOULD, clauses.get(0).getOccur());
            assertEquals(TermQuery.class, clauses.get(1).getQuery().getClass());
            assertEquals("_default:codelibs", clauses.get(1).getQuery().toString());
            assertEquals(Occur.SHOULD, clauses.get(1).getOccur());
    
    Java
    - Registered: 2024-04-22 08:04
    - Last Modified: 2024-02-22 01:37
    - 5.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/RangeTest.java

        checkContains(range);
        assertTrue(range.hasLowerBound());
        assertEquals(4, (int) range.lowerEndpoint());
        assertEquals(OPEN, range.lowerBoundType());
        assertTrue(range.hasUpperBound());
        assertEquals(8, (int) range.upperEndpoint());
        assertEquals(OPEN, range.upperBoundType());
        assertFalse(range.isEmpty());
        assertEquals("(4..8)", range.toString());
        reserializeAndAssert(range);
      }
    
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2024-02-21 10:16
    - 24.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("foo", LOWER_HYPHEN.to(LOWER_CAMEL, "foo"));
        assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperCamel() {
        assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo"));
        assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperUnderscore() {
        assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo"));
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-05-04 09:41
    - 8.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Float.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Double.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Byte.MAX_VALUE));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
    Java
    - Registered: 2024-04-22 08:04
    - Last Modified: 2024-02-22 01:37
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertEquals(3, configList.size());
            final List<QueryBuilder> queryBuilderList = cb.query().getQueryBuilderList();
            assertEquals(2, queryBuilderList.size());
            assertEquals("TermQueryBuilder", queryBuilderList.get(0).getClass().getSimpleName());
            assertEquals("BoolQueryBuilder", queryBuilderList.get(1).getClass().getSimpleName());
    Java
    - Registered: 2024-04-22 08:04
    - Last Modified: 2024-02-22 01:37
    - 23.2K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(short.class));
        assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(Short.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(int.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(Integer.class));
        assertEquals(Long.valueOf(0), ArbitraryInstances.get(long.class));
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-09-06 17:04
    - 22.1K bytes
    - Viewed (0)
  9. 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)));
    Java
    - Registered: 2024-04-19 20:58
    - Last Modified: 2024-03-07 01:59
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        assertEquals(State.NEW, service.state());
        assertFalse(service.isRunning());
        assertFalse(service.running);
    
        service.startAsync();
        assertEquals(State.RUNNING, service.state());
        assertTrue(service.isRunning());
        assertTrue(service.running);
    
        service.stopAsync();
        assertEquals(State.TERMINATED, service.state());
        assertFalse(service.isRunning());
    Java
    - Registered: 2024-04-12 12:43
    - Last Modified: 2023-09-06 17:04
    - 29.3K bytes
    - Viewed (0)
Back to top