Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 814 for assertequal (0.1 sec)

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

        assertEquals(0, actual.indexOf(list(1, 3)));
        assertEquals(1, actual.indexOf(list(1, 4)));
        assertEquals(2, actual.indexOf(list(2, 3)));
        assertEquals(3, actual.indexOf(list(2, 4)));
        assertEquals(-1, actual.indexOf(list(3, 1)));
    
        assertEquals(-1, actual.indexOf(list(1)));
        assertEquals(-1, actual.indexOf(list(1, 1, 1)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(-1, empty.read());
      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
        assertEquals(ASCII.length(), CharStreams.exhaust(buf));
        assertEquals(0, buf.remaining());
        assertEquals(0, CharStreams.exhaust(buf));
    
        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(-1, empty.read());
      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
        assertEquals(ASCII.length(), CharStreams.exhaust(buf));
        assertEquals(0, buf.remaining());
        assertEquals(0, CharStreams.exhaust(buf));
    
        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. 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)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            Object[] artifacts = new Object[] {a.artifact, c.artifact, d1.artifact, b2.artifact, e.artifact, g.artifact};
            assertEquals(createSet(artifacts), res.getArtifacts(), "Check artifact list");
            assertEquals("1.0", getArtifact("d", res.getArtifacts()).getVersion(), "Check version");
            assertEquals("2.0", getArtifact("b", res.getArtifacts()).getVersion(), "Check version");
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

              @Override
              public void run() {
                runCalled.getAndIncrement();
              }
            },
            directExecutor());
        list.execute();
        assertEquals(1, runCalled.get());
        list.execute();
        assertEquals(1, runCalled.get());
      }
    
      public void testExecute_idempotentConcurrently() throws InterruptedException {
        final CountDownLatch okayToRun = new CountDownLatch(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
        resetWithHole();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/org/codelibs/fess/entity/ParamMapTest.java

            assertNull(paramMap.get("xxx"));
            assertEquals("111", paramMap.get("aaa"));
            assertEquals("222", paramMap.get("aaa_bbb"));
            assertEquals("222", paramMap.get("aaaBbb"));
            assertEquals("222", paramMap.get("AaaBbb"));
            assertNull(paramMap.get("aaabbb"));
            assertEquals("333", paramMap.get("aaa_bbb_ccc"));
            assertEquals("333", paramMap.get("aaaBbbCcc"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top