Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 550 for assertEquals (0.2 sec)

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

        assertEquals("b", cycle.next());
        assertTrue(cycle.hasNext());
        assertEquals("a", cycle.next());
        cycle.remove();
        assertEquals(Collections.singletonList("b"), iterable);
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        cycle.remove();
        assertEquals(Collections.emptyList(), iterable);
        assertFalse(cycle.hasNext());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            pnList = qrList.getPageNumberList();
            assertEquals(7, pnList.size());
            assertEquals("1", pnList.get(0));
            assertEquals("2", pnList.get(1));
            assertEquals("3", pnList.get(2));
            assertEquals("4", pnList.get(3));
            assertEquals("5", pnList.get(4));
            assertEquals("6", pnList.get(5));
            assertEquals("7", pnList.get(6));
    
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        Entry<String, Integer> entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(1, (int) entry.getValue());
        entry = entries.next();
        assertEquals("foo", entry.getKey());
        assertEquals(2, (int) entry.getValue());
        entry.setValue(4);
        entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(3, (int) entry.getValue());
        assertFalse(entries.hasNext());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        public void test_getSearchRole() {
            assertEquals("1test", systemHelper.getSearchRoleByUser("test"));
            assertEquals("Rtest", systemHelper.getSearchRoleByRole("test"));
            assertEquals("2test", systemHelper.getSearchRoleByGroup("test"));
    
            assertEquals("1", systemHelper.getSearchRoleByUser(""));
            assertEquals("R", systemHelper.getSearchRoleByRole(""));
            assertEquals("2", systemHelper.getSearchRoleByGroup(""));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFileTest.java

            assertEquals(3, itemList1.size());
            assertEquals(3, itemList1.getAllRecordCount());
            assertEquals(1, itemList1.getCurrentPageNumber());
            assertEquals(20, itemList1.getPageSize());
    
            final PagingList<StemmerOverrideItem> itemList2 = stemmerOverrideFile.selectList(2, 2);
            assertEquals(1, itemList2.size());
            assertEquals(3, itemList2.getAllRecordCount());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "test", false);
            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "******@****.***", true);
            assertEquals(2, list.size());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertEquals(ImmutableMap.of(1, "foo", 2, "baz"), testInstance.row('a'));
          assertEquals(ImmutableMap.of(1, "bar"), testInstance.row('b'));
          assertEquals(ImmutableMap.of(), testInstance.row('c'));
        }
      }
    
      public void testRowKeySet() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    
        // same value
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertTrue(segment.replace(key, hash, oldValue, newValue));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    
        // same value
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertTrue(segment.replace(key, hash, oldValue, newValue));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1)));
        // The following assumes all elements are distinct.
        assertEquals(0, copy.lastIndexOf(list.get(0)));
        assertEquals(0, head.lastIndexOf(list.get(0)));
        assertEquals(0, tail.lastIndexOf(list.get(1)));
        assertEquals(-1, head.lastIndexOf(list.get(size - 1)));
        assertEquals(-1, tail.lastIndexOf(list.get(0)));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top