- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 880 for assertEquals (0.06 sec)
-
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
roleSet = buildByParameter(roleQueryHelperImpl, getMockRequest()); assertEquals(0, roleSet.size()); roleQueryHelperImpl.parameterKey = "fess1"; getMockRequest().setParameter("aaa", "bbb"); roleSet = buildByParameter(roleQueryHelperImpl, getMockRequest()); assertEquals(0, roleSet.size()); roleQueryHelperImpl.encryptedParameterValue = false;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 14.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertEquals("java", depArtifact.getProperty("language", null)); assertEquals("jar", depArtifact.getProperty("type", null)); assertEquals("true", depArtifact.getProperty("constitutesBuildPath", null)); assertEquals("false", depArtifact.getProperty("includesDependencies", null)); assertEquals(4, depArtifact.getProperties().size()); assertEquals("compile", dep2.getScope());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
multiset.add("foo", 2); multiset.add("bar"); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo")); assertEquals("[foo x 2, bar]", multiset.toString()); } public void testCreateFromIterable() { Multiset<String> multiset = TreeMultiset.create(asList("foo", "bar", "foo")); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
public void testComputeIfPresent_supportedPresent() { assertEquals( "computeIfPresent(present, function) should return new value", v3(), getMap() .computeIfPresent( k0(), (k, v) -> { assertEquals(k0(), k); assertEquals(v0(), v); return v3(); }));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
assertEquals(2, cms.count("a")); assertTrue(cms.removeExactly("c", 0)); assertEquals(0, cms.count("c")); assertFalse(cms.removeExactly("a", 4)); assertEquals(2, cms.count("a")); assertTrue(cms.removeExactly("a", 2)); assertEquals(0, cms.count("a")); assertTrue(cms.removeExactly("b", 2)); assertEquals(1, cms.count("b")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
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) -
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/collect/EvictingQueueTest.java
assertEquals("one", queue.peek()); assertEquals(3, queue.size()); assertEquals(0, queue.remainingCapacity()); assertTrue(queue.add("four")); assertEquals("two", queue.element()); assertEquals("two", queue.peek()); assertEquals(3, queue.size()); assertEquals(0, queue.remainingCapacity()); assertEquals("two", queue.remove()); assertEquals(2, queue.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("", StringUtil.substringToLast("abc", "c")); assertEquals("c", StringUtil.substringToLast("abc", "b")); assertEquals("c", StringUtil.substringToLast("abcbc", "b")); assertEquals("abc", StringUtil.substringToLast("abc", "")); assertEquals("abc", StringUtil.substringToLast("abc", null)); assertEquals("abc", StringUtil.substringToLast("abc", "dddd"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0)