Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 880 for assertEquals (0.07 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-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            MavenProject project5 = getProject(pom5);
    
            assertEquals("p4", project4.getName());
    
            // ----------------------------------------------------------------------
            // Value inherited from p3
            // ----------------------------------------------------------------------
    
            assertEquals("2000", project4.getInceptionYear());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertUnicodeEscaping(e, "%F4%8F%BF%BF", '\uDBFF', '\uDFFF');
    
        // simple string tests
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      /** Tests the various ways that the space character can be handled */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            collector.add(Severity.WARNING, null, 42, 127, e2);
    
            assertEquals(2, collector.getProblems().size());
    
            Problem p1 = collector.getProblems().get(0);
            assertEquals(Severity.ERROR, p1.getSeverity());
            assertEquals("MESSAGE1", p1.getMessage());
            assertEquals(-1, p1.getLineNumber());
            assertEquals(-1, p1.getColumnNumber());
            assertNull(p1.getException());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        assertNull(map.putInstance(int.class, 0));
        assertNull(map.putInstance(Integer.class, 1));
        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(int.class));
        assertEquals(1, (int) map.getInstance(Integer.class));
    
        assertEquals(0, (int) map.putInstance(int.class, null));
        assertEquals(1, (int) map.putInstance(Integer.class, null));
    
        assertNull(map.getInstance(int.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

        void testV4Model() {
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(model));
        }
    
        @Test
        void testV4ModelVersion() {
            Model m = model.withModelVersion("4.1.0");
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(m));
        }
    
        @Test
        void testV4ModelRoot() {
            Model m = model.withRoot(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

      public void testToString() {
        // With ports.
        assertEquals("foo:101", "" + HostAndPort.fromString("foo:101"));
        assertEquals(":102", HostAndPort.fromString(":102").toString());
        assertEquals("[1::2]:103", HostAndPort.fromParts("1::2", 103).toString());
        assertEquals("[::1]:104", HostAndPort.fromString("[::1]:104").toString());
    
        // Without ports.
        assertEquals("foo", "" + HostAndPort.fromString("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertEquals(1, synonymItem.getId());
            assertEquals(2, synonymItem.getInputs().length);
            assertEquals("a", synonymItem.getInputs()[0]);
            assertEquals("A", synonymItem.getInputs()[1]);
            assertEquals(2, synonymItem.getOutputs().length);
            assertEquals("b", synonymItem.getOutputs()[0]);
            assertEquals("B", synonymItem.getOutputs()[1]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top