- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 880 for assertEquals (0.09 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
d1.setGroupId("myGroupId"); assertNotNull(dm.getDependencies()); assertEquals(0, dm.getDependencies().size()); dm.addDependency(d1); assertNotNull(dm.getDependencies()); assertEquals(1, dm.getDependencies().size()); dm.getDependencies().get(0).setArtifactId("myArtifactId"); assertEquals("myArtifactId", dm.getDependencies().get(0).getArtifactId()); dm.setDependencies(null);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
public class MultisetCountTester<E> extends AbstractMultisetTester<E> { public void testCount_0() { assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3())); } @CollectionSize.Require(absent = ZERO) public void testCount_1() { assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0())); } @CollectionSize.Require(SEVERAL)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
assertTrue(extractorFactory.getExtractor(key) instanceof LhaExtractor); } public void test_builder() { assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent()); assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent()); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:13 UTC 2024 - 6.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java
SmbAuthentication smbAuthentication; smbAuthentication = new SmbAuthentication(); assertEquals("smb1://", smbAuthentication.getPathPrefix()); smbAuthentication = new SmbAuthentication(); smbAuthentication.setServer("hoge"); assertEquals("smb1://hoge/", smbAuthentication.getPathPrefix()); smbAuthentication = new SmbAuthentication();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
return collector; } }; List<String> result = Resources.readLines(resource, US_ASCII, collectAndLowercaseAndTrim); assertEquals(3600, result.size()); assertEquals("ALICE'S ADVENTURES IN WONDERLAND", result.get(0)); assertEquals("THE END", result.get(result.size() - 1)); } public void testCopyToOutputStream() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
assertTrue(content.contains("テスト")); assertEquals("タイトル", data.getValues("title")[0]); } public void test_getHtml_empty() { final InputStream in = new ByteArrayInputStream("".getBytes()); final String content = htmlExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertEquals("", content); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.7K bytes - Viewed (0) -
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) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
server.enqueue(MockResponse(body = "abc2")) val request = Request(server.url("/")) client.newCall(request).execute().use { response -> assertEquals(200, response.code) } client.connectionPool.evictAll() assertEquals(0, client.connectionPool.connectionCount()) // Force reuse. This appears flaky (30% of the time) even though sessions are reused.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
assertEquals(size - oldValues.size(), multimap().size()); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesWithDuplicates() { int size = multimap().size(); List<V> oldValues = new ArrayList<>(multimap().get(k0())); List<V> values = asList(v0(), v3(), v0()); assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0)