- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 880 for assertEquals (0.09 sec)
-
api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java
.artifactId("maven-plugin-api") .version("1.0.0"); ExtendedPluginDescriptor descriptor = builder.build(); assertEquals("additional", descriptor.getAdditionalField()); assertEquals("org.apache.maven", descriptor.getGroupId()); }
Registered: 2024-11-03 03:35 - Last Modified: 2024-08-27 07:05 - 2.7K bytes - Viewed (0) -
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: 2024-11-03 00:10 - Last Modified: 2023-01-05 13:09 - 15.8K bytes - Viewed (0) -
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: 2024-11-03 00:10 - Last Modified: 2020-01-08 13:16 - 23K bytes - Viewed (0) -
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: 2024-11-01 12:43 - Last Modified: 2024-09-17 18:14 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java
Registered: 2024-10-31 13:40 - Last Modified: 2024-02-22 01:37 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
assertEquals(exp, transformer.getHostOnFile(url)); url = "file:"; exp = "localhost"; assertEquals(exp, transformer.getHostOnFile(url)); url = "file://"; exp = "localhost"; assertEquals(exp, transformer.getHostOnFile(url)); url = "file:///"; exp = "localhost"; assertEquals(exp, transformer.getHostOnFile(url));
Registered: 2024-10-31 13:40 - Last Modified: 2024-07-04 06:20 - 9.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
suggester.refresh(); assertEquals(2, suggester.getAllWordsNum()); assertEquals(2, suggester.getDocumentWordsNum()); assertEquals(1, suggester.getQueryWordsNum()); suggester.indexer().deleteAll(); suggester.refresh(); assertEquals(0, suggester.getAllWordsNum()); assertEquals(0, suggester.getDocumentWordsNum()); assertEquals(0, suggester.getQueryWordsNum()); }
Registered: 2024-11-08 09:08 - Last Modified: 2024-02-22 01:36 - 37K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
assertEquals(5, sitemaps.length); assertTrue(sitemapSet.isUrlSet()); assertFalse(sitemapSet.isIndex()); assertEquals("2005-01-01", sitemaps[0].getLastmod()); assertEquals("http://www.example.com/", sitemaps[0].getLoc()); assertEquals("monthly", ((SitemapUrl) sitemaps[0]).getChangefreq()); assertEquals("0.8", ((SitemapUrl) sitemaps[0]).getPriority());
Registered: 2024-11-10 03:50 - Last Modified: 2024-02-22 01:36 - 9.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/CustomUrlFilterImplTest.java
} public void test_include_processUrl() { assertEquals(0, includeFilter.cachedIncludeSet.size()); assertEquals(0, includeFilter.cachedExcludeSet.size()); includeFilter.processUrl("http://example.com/"); assertEquals(1, includeFilter.cachedIncludeSet.size()); assertEquals(0, includeFilter.cachedExcludeSet.size()); assertEquals("http://example.com/.*", includeFilter.cachedIncludeSet.toArray()[0]);
Registered: 2024-11-10 03:50 - Last Modified: 2024-02-22 01:36 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
final String value = RandomStringUtils.randomAlphabetic(550); assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 440)).length()); assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 450)).length()); assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 460)).length()); assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 470)).length());
Registered: 2024-10-31 13:40 - Last Modified: 2024-02-22 01:37 - 8.5K bytes - Viewed (0)