Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for assertEquals (0.09 sec)

  1. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            final String virtualHost = "aaa";
    
            assertEquals(1, indexingHelper.deleteByVirtualHost(virtualHost));
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals("virtual_host", resultMap.get("field"));
            assertEquals(virtualHost, resultMap.get("value"));
        }
    
        public void test_calculateDocumentSize() {
            assertEquals(0, indexingHelper.calculateDocumentSize(Collections.emptyMap()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                }
            };
    
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName(null));
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName(""));
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName("ja"));
            assertEquals(Locale.JAPANESE, fessConfig.getQueryLocaleFromName("test_ja"));
            assertEquals(Locale.CHINESE, fessConfig.getQueryLocaleFromName("test_zh"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        assertEquals("", MoreFiles.getFileExtension(root()));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath(".")));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath("..")));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath("...")));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah")));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah.")));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            assertEquals("4.0.0", ReflectionValueExtractor.evaluate("project.modelVersion", project));
    
            assertEquals("org.apache.maven", ReflectionValueExtractor.evaluate("project.groupId", project));
    
            assertEquals("maven-core", ReflectionValueExtractor.evaluate("project.artifactId", project));
    
            assertEquals("Maven", ReflectionValueExtractor.evaluate("project.name", project));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            final Map<String, String> map = (Map) obj;
            assertEquals("タイトル", map.get("title"));
            assertEquals("第一章 第一節 ほげほげふがふが LINK 第2章 第2節", map.get("body"));
            final List<String> list = new ArrayList<String>();
            list.add("リスト1");
            list.add("リスト2");
            list.add("リスト3");
            assertEquals(list, map.get("list"));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileAttributesTest.java

                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
                        assertEquals(time, f.lastModified());
                        assertEquals(time, f.lastAccess());
                        assertEquals(time, f.createTime());
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                    .filter(d -> "test:mydep:jar".equals(d.getManagementKey()))
                    .findFirst()
                    .get();
            assertEquals("0.2", dep.getVersion());
            assertEquals(0, result.getProblems().size());
        }
    
        /**
         * This test has
         *   - a BOM import which manages the dep to 0.1
         *   - then a directly managed dependency to 0.2
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

                assertNotNull(ntcreds.getUsername());
                assertEquals(user, ntcreds.getUsername());
                assertNotNull(ntcreds.getUserDomain());
                if ( dom != null ) {
                    assertEquals(dom, ntcreds.getUserDomain());
                }
                assertNotNull(ntcreds.getPassword());
                assertEquals(pass, ntcreds.getPassword());
    
                f.exists();
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileLocationTest.java

                SmbResourceLocator fl = c.getLocator();
                assertEquals("1.2.3.4", fl.getServer());
                assertEquals(SmbConstants.TYPE_SHARE, fl.getType());
                assertEquals("share", fl.getShare());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://1.2.3.4/share/", fl.getCanonicalURL());
                assertEquals("/share/", fl.getURLPath());
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/StringsTest.java

      public void testCommonPrefix() {
        assertEquals("", Strings.commonPrefix("", ""));
        assertEquals("", Strings.commonPrefix("abc", ""));
        assertEquals("", Strings.commonPrefix("", "abc"));
        assertEquals("", Strings.commonPrefix("abcde", "xyz"));
        assertEquals("", Strings.commonPrefix("xyz", "abcde"));
        assertEquals("", Strings.commonPrefix("xyz", "abcxyz"));
        assertEquals("a", Strings.commonPrefix("abc", "aaaaa"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top