Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals(Severity.FATAL, problem.getSeverity());
    
            problem = new DefaultProblem(null, Severity.ERROR, null, -1, -1, null);
            assertEquals(Severity.ERROR, problem.getSeverity());
    
            problem = new DefaultProblem(null, Severity.WARNING, null, -1, -1, null);
            assertEquals(Severity.WARNING, problem.getSeverity());
        }
    
        @Test
        void testGetLineNumber() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. 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. 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)
  8. 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)
  9. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. 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)
Back to top