- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 491 for assertNull (0.05 seconds)
-
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 33.4.0 */ public static void assertNull(String message, Object object) { assertEquals(message, null, object); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
private static final BigDecimal ZERO = new BigDecimal("0"); /** * @throws Exception */ public void testToBigDecimal() throws Exception { assertNull(BigDecimalConversionUtil.toBigDecimal(null)); assertSame(ZERO, BigDecimalConversionUtil.toBigDecimal(ZERO)); assertEquals(new BigDecimal("1"), BigDecimalConversionUtil.toBigDecimal(Byte.valueOf((byte) 1)));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 4.9K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.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; class RepositorySystemTest extends AbstractRepositoryTestCase { @Test void testResolveVersionRange() throws Exception {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.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.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyInt;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/test/java/jcifs/CIFSExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.IOException; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
// Test unavailable SID type (type 3 - DOMAIN) assertNull(sambaHelper.getAccountId(createMockSID(3, "Domain"))); // Test unavailable SID type (type 6 - DELETED) assertNull(sambaHelper.getAccountId(createMockSID(6, "Deleted Account"))); // Test unavailable SID type (type 7 - INVALID) assertNull(sambaHelper.getAccountId(createMockSID(7, "Invalid Account"))); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (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/"));Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 15.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
} } @Test public void test_getName() { // Initialize without container emptyGenerator = new EmptyGenerator(); // Test default name (null) assertNull(emptyGenerator.getName()); // Test after setting name emptyGenerator.setName("testGenerator"); assertEquals("testGenerator", emptyGenerator.getName()); // Test changing nameCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
final byte[] result = Base64Util.decode(""); assertNull("Empty string should return null", result); } /** * Test decode with null * * @throws Exception */ public void testDecode_Null() throws Exception { final byte[] result = Base64Util.decode(null); assertNull("Null should return null", result); } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.anyInt;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0)