Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 814 for assertequal (0.23 sec)

  1. 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(""));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals("java", depArtifact.getProperty("language", null));
            assertEquals("jar", depArtifact.getProperty("type", null));
            assertEquals("true", depArtifact.getProperty("constitutesBuildPath", null));
            assertEquals("false", depArtifact.getProperty("includesDependencies", null));
            assertEquals(4, depArtifact.getProperties().size());
    
            assertEquals("compile", dep2.getScope());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        assertSame(original.rowMap(), transpose.columnMap());
        assertSame(original.values(), transpose.values());
        assertEquals(original.row(1), transpose.column(1));
        assertEquals(original.row(2), transpose.column(2));
        assertEquals(original.column("foo"), transpose.row("foo"));
        assertEquals(original.column("bar"), transpose.row("bar"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
        assertEquals("[foo x 2, bar]", multiset.toString());
      }
    
      public void testCreateFromIterable() {
        Multiset<String> multiset = TreeMultiset.create(asList("foo", "bar", "foo"));
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        assertEquals(2, cms.count("a"));
        assertTrue(cms.removeExactly("c", 0));
        assertEquals(0, cms.count("c"));
    
        assertFalse(cms.removeExactly("a", 4));
        assertEquals(2, cms.count("a"));
        assertTrue(cms.removeExactly("a", 2));
        assertEquals(0, cms.count("a"));
        assertTrue(cms.removeExactly("b", 2));
        assertEquals(1, cms.count("b"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
        assertEquals(initialSize - 1, getMap().inverse().size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

            List<V> expectedValues = copyToList(values);
    
            assertTrue(multimap().put(key, value));
            expectedValues.add(value);
    
            assertGet(key, expectedValues);
            assertEquals(value, values.get(values.size() - 1));
          }
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        initThreeCopies();
        assertEquals(3, getMultiset().count(e0()));
        Multiset.Entry<E> entry = getOnlyElement(getMultiset().entrySet());
        assertEquals(3, entry.getCount());
        assertTrue(getMultiset().remove(e0()));
        assertEquals(2, entry.getCount());
        assertTrue(getMultiset().elementSet().remove(e0()));
        assertEquals(0, entry.getCount());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testCreate_empty() {
        assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.closedOpen(1, 1), integers()));
        assertEquals(ImmutableSet.of(), ContiguousSet.closedOpen(1, 1));
        assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.openClosed(5, 5), integers()));
        assertEquals(
            ImmutableSet.of(), ContiguousSet.create(Range.lessThan(Integer.MIN_VALUE), integers()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
            Object[] o = {};
            assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top