- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 814 for assertequal (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
@CollectionSize.Require(absent = ZERO) public void testGetOrDefault_present() { assertEquals( "getOrDefault(present, def) should return the associated value", v0(), getMap().getOrDefault(k0(), v3())); } @CollectionSize.Require(absent = ZERO) public void testGetOrDefault_presentNullDefault() { assertEquals( "getOrDefault(present, null) should return the associated value", v0(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
assertEquals(allRecordCount, list.getAllRecordCount()); assertEquals(100, list.getAllPageCount()); assertEquals(1000, list.getCurrentEndRecordNumber()); assertEquals(100, list.getCurrentPageNumber()); assertEquals(991, list.getCurrentStartRecordNumber()); assertEquals(0, list.getOffset());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 25.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
public void test() throws Exception { assertTrue(handler.getStoredLogRecords().isEmpty()); ExampleClassUnderTest.foo(); LogRecord record = handler.getStoredLogRecords().get(0); assertEquals(Level.INFO, record.getLevel()); assertEquals("message", record.getMessage()); assertSame(EXCEPTION, record.getThrown()); } public void testConcurrentModification() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
import org.apache.maven.project.MavenProject; import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * A test which demonstrates maven's recursive inheritance where * a distinct value is taken from each parent contributing to * the final model of the project being assembled. There is no
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-tests/test/com/google/common/cache/CacheRefreshTest.java
assertEquals(expectedLoads, loader.getLoadCount()); assertEquals(expectedReloads, loader.getReloadCount()); // refresh 0 ticker.advance(1, MILLISECONDS); assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); expectedReloads++; assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); assertEquals(Integer.valueOf(2), cache.getUnchecked(2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertEquals(3, configList.size()); final List<QueryBuilder> queryBuilderList = cb.query().getQueryBuilderList(); assertEquals(2, queryBuilderList.size()); assertEquals("TermQueryBuilder", queryBuilderList.get(0).getClass().getSimpleName()); assertEquals("BoolQueryBuilder", queryBuilderList.get(1).getClass().getSimpleName());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/NtlmTest.java
assertEquals(origFlags, parsed.getFlags()); if ( parsed.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED) ) { assertEquals(suppliedDomain, parsed.getSuppliedDomain()); } if ( parsed.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED) ) { assertEquals(suppliedWorkstation, parsed.getSuppliedWorkstation()); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 16 10:38:43 UTC 2018 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
assertEquals("", documentHelper.appendLineNumber("L", null)); assertEquals("", documentHelper.appendLineNumber("L", "")); assertEquals("", documentHelper.appendLineNumber("L", " ")); assertEquals("", documentHelper.appendLineNumber("L", "\n")); assertEquals("", documentHelper.appendLineNumber("L", "\n\n")); assertEquals("", documentHelper.appendLineNumber("L", "\n \n"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11K bytes - Viewed (0) -
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) -
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)