Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 880 for assertEquals (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              ImmutableMap<Range<Integer>, Integer> descendingMap = rangeMap.asDescendingMapOfRanges();
              assertEquals(expectedAsMap, asMap);
              assertEquals(expectedAsMap, descendingMap);
              SerializableTester.reserializeAndAssert(asMap);
              SerializableTester.reserializeAndAssert(descendingMap);
              assertEquals(
                  ImmutableList.copyOf(asMap.entrySet()).reverse(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/app/pager/CharMappingPagerTest.java

            charmappingpager.clear();
            assertEquals(0, charmappingpager.getAllRecordCount());
            assertEquals(0, charmappingpager.getAllPageCount());
            assertEquals(false, charmappingpager.isExistPrePage());
            assertEquals(false, charmappingpager.isExistNextPage());
            assertEquals(25, charmappingpager.getPageSize());
            assertEquals(1, charmappingpager.getCurrentPageNumber());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        Object[] array = collection.toArray();
        assertEquals(Object[].class, array.getClass());
      }
    
      public void testToArray_emptyArray() {
        E[] empty = getSubjectGenerator().createArray(0);
        E[] array = collection.toArray(empty);
        assertEquals(
            "toArray(emptyT[]) should return an array of type T", empty.getClass(), array.getClass());
        assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.PerformanceTestCoverage
    import model.PerformanceTestType
    import model.Stage
    import model.StageName
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class PerformanceTestBuildTypeTest {
        init {
            DslContext.initForTest()
        }
    
        private
        val buildModel = CIBuildModel(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/app/pager/AccessTokenPagerTest.java

            accesstokenpager.clear();
            assertEquals(0, accesstokenpager.getAllRecordCount());
            assertEquals(0, accesstokenpager.getAllPageCount());
            assertEquals(false, accesstokenpager.isExistPrePage());
            assertEquals(false, accesstokenpager.isExistNextPage());
            assertEquals(25, accesstokenpager.getPageSize());
            assertEquals(1, accesstokenpager.getCurrentPageNumber());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        // the underlying supplier hasn't executed yet
        assertEquals(0, countingSupplier.calls);
    
        assertEquals(10, (int) memoizedSupplier.get());
    
        // now it has
        assertEquals(1, countingSupplier.calls);
    
        assertEquals(10, (int) memoizedSupplier.get());
    
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
      }
    
      public void testMemoize() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/SuppliersTest.java

        // the underlying supplier hasn't executed yet
        assertEquals(0, countingSupplier.calls);
    
        assertEquals(10, (int) memoizedSupplier.get());
    
        // now it has
        assertEquals(1, countingSupplier.calls);
    
        assertEquals(10, (int) memoizedSupplier.get());
    
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
      }
    
      public void testMemoize() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

    import java.util.function.Consumer;
    import java.util.logging.Logger;
    
    import static org.codelibs.curl.io.ContentOutputStream.PREFIX;
    import static org.codelibs.curl.io.ContentOutputStream.SUFFIX;
    import static org.junit.Assert.assertEquals;
    
    public class IOIntegrationTest {
    
        private static final Logger logger = Logger.getLogger(IOIntegrationTest.class.getName());
    
        class MockCurlRequest extends CurlRequest {
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/AppendableWriterTest.java

        writer.write(',');
        writer.write(0xBEEF0020); // only lower 16 bits are important
        writer.write("Wo");
        writer.write("Whirled".toCharArray(), 3, 2);
        writer.write("Mad! Mad, I say", 2, 2);
    
        assertEquals("Hello, World!", builder.toString());
      }
    
      public void testAppendMethods() throws IOException {
        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/RandomAccessFileTest.java

                        writeRandom(bufSize, l, raf);
                        assertEquals(l, raf.getFilePointer());
                        raf.seek(0);
                        assertEquals(0, raf.getFilePointer());
                        verifyRandom(bufSize, l, raf);
                        assertEquals(l, raf.getFilePointer());
                    }
                    assertEquals(l, f.length());
                }
                finally {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
Back to top