- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 224 for assertNull (0.16 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
assertEquals("123.123.123.123", ftpInfo.getHost()); assertEquals(9999, ftpInfo.getPort()); assertEquals("/", ftpInfo.getParent()); assertNull(ftpInfo.getName()); value = "ftp://123.123.123.123/test.txt"; ftpInfo = new FtpClient.FtpInfo(value); assertEquals(value, ftpInfo.toUrl());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
assertSame(mirrorA, mirrorSelector.getMirror(repo, Arrays.asList(mirrorA))); assertNull(mirrorSelector.getMirror(repo, Arrays.asList(mirrorB))); assertSame(mirrorC, mirrorSelector.getMirror(repo, Arrays.asList(mirrorC))); assertNull(mirrorSelector.getMirror(repo, Arrays.asList(mirrorD))); } /** * Build an ArtifactRepository object. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import java.lang.reflect.Method; import org.junit.Test; /** * @author higa * */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; @Deprecated class DefaultUpdateCheckManagerTest extends AbstractArtifactComponentTestCase { @Inject private ArtifactFactory artifactFactory;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
assertEqualInOrder(values, multimap().get(key)); if (!values.isEmpty()) { assertEqualInOrder(values, multimap().asMap().get(key)); assertFalse(multimap().isEmpty()); } else { assertNull(multimap().asMap().get(key)); } assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
@IgnoreJRERequirement // We opt into library desugaring for our tests. 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 31 14:51:04 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
/** * Asserts that the given object is non-null, with a better failure message than {@link * TestCase#assertNull(String, Object)}. * * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does * not include the value of the object. * * @since NEXT */ public static void assertNull(String message, Object object) { assertEquals(message, null, object); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 21:41:47 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
/** * Asserts that the given object is non-null, with a better failure message than {@link * TestCase#assertNull(String, Object)}. * * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does * not include the value of the object. * * @since NEXT */ public static void assertNull(String message, Object object) { assertEquals(message, null, object); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 21:41:47 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
} }; Function<Object, String> backward = toStringFunction(); Converter<String, Number> converter = Converter.<String, Number>from(forward, backward); assertNull(converter.convert(null)); assertNull(converter.reverse().convert(null)); assertEquals((Integer) 5, converter.convert("5")); assertEquals("5", converter.reverse().convert(5)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
accessResultDataImpl.setTransformerName("xmlTransformer"); final Object obj = xmlTransformer.getData(accessResultDataImpl); assertNull(obj); } public void test_dataClass() { assertNull(xmlTransformer.dataClass); assertEquals(Map.class, xmlMapTransformer.dataClass); } public void test_getData_dataMap() throws Exception {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0)