- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 224 for assertNull (0.11 sec)
-
api/maven-api-settings/src/test/java/org/apache/maven/api/settings/SettingsTest.java
* under the License. */ package org.apache.maven.api.settings; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; class SettingsTest { @Test void testSetLocalRepository() { Settings s = Settings.newInstance(); s = s.withLocalRepository("xxx");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 1.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java
dataService.delete("id1"); assertNull(dataService.getAccessResult("id1", "http://www.id1.com/")); assertNotNull(dataService.getAccessResult("id2", "http://www.id2.com/")); dataService.store(accessResult1); assertNotNull(dataService.getAccessResult("id1", "http://www.id1.com/")); dataService.deleteAll(); assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.security; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.codelibs.core.exception.EmptyArgumentException; import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException; import org.junit.Test; /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
Thread.sleep(2000); assertTrue(expiredCount > 0); assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount()); TimeoutManager.getInstance().stop(); assertNull(TimeoutManager.getInstance().thread); Thread.sleep(10); int count = expiredCount; task.stop(); TimeoutManager.getInstance().start();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
/** * @throws Exception */ public void testGetResourceAsStreamNoException() throws Exception { assertNotNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String.class", "class")); assertNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String2.class", "class")); } /** * @throws Exception */ public void testGetBuildDir() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java
import org.eclipse.aether.util.version.GenericVersionScheme; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; /** */ public class ModelVersionParserTest {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/form/FormSchemeTest.java
content = "<input name=\"authenticity_token\" value=\"abcdefg\">"; assertNull(formScheme.getTokenValue(tokenPattern, content)); tokenPattern = "name=\"authenticity_token\" +value=\"([^\"]+)\""; content = "<input name=\"authenticity_token\" hoge value=\"abcdefg\">"; assertNull(formScheme.getTokenValue(tokenPattern, content)); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() { assertNull( "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
assertEquals( "getOrDefault(absent, def) should return the default value", v3(), getMap().getOrDefault(k3(), v3())); } public void testGetOrDefault_absentNullDefault() { assertNull("getOrDefault(absent, null) should return null", getMap().getOrDefault(k3(), null)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testGetOrDefault_absentNull() { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0)