- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 200 for assertAll (0.06 sec)
-
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue)); // don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertNull(cache.asMap().put(newKey, entry.getValue())); // this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(newValue, cache.getUnchecked(entry.getKey()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K 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) -
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) -
src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java
/** * @author shinsuke * */ public class StringConversionUtilTest extends TestCase { /** * @throws Exception */ public void testFromWindowsMapping() throws Exception { assertNull(StringConversionUtil.fromWindowsMapping(null)); assertEquals("", StringConversionUtil.fromWindowsMapping("")); assertEquals("abc 123", StringConversionUtil.fromWindowsMapping("abc 123"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class ResourceUtilTest extends UnitFessTestCase { public void test_resolve() { String value; value = null; assertNull(ResourceUtil.resolve(value)); value = ""; assertEquals("", ResourceUtil.resolve(value)); value = "a"; assertEquals(value, ResourceUtil.resolve(value)); value = "${a}";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K 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) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
Assert.assertNull(computeReplacement(escaper, c)); } /** * Asserts that a Unicode escaper does not escape the given character. * * @param escaper the non-null escaper to test * @param cp the Unicode code point to test */ public static void assertUnescaped(UnicodeEscaper escaper, int cp) { Assert.assertNull(computeReplacement(escaper, cp)); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
Assert.assertNull(computeReplacement(escaper, c)); } /** * Asserts that a Unicode escaper does not escape the given character. * * @param escaper the non-null escaper to test * @param cp the Unicode code point to test */ public static void assertUnescaped(UnicodeEscaper escaper, int cp) { Assert.assertNull(computeReplacement(escaper, cp)); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; /** */ class ComplexActivationTest { private File getPom(String name) { return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile(); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0)