- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 298 for assertNotNull (0.28 sec)
-
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
ScheduledJob scheduledJob = new ScheduledJob(); JobNotFoundException exception = new JobNotFoundException(scheduledJob); assertNotNull(exception); assertNotNull(exception.getMessage()); assertTrue(exception.getMessage().contains("ScheduledJob")); assertNull(exception.getCause()); } public void test_constructorWithString() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
// ## Act & Assert ## assertNotNull(Curl.get("https://secure.example.com/path?param=value")); assertNotNull(Curl.post("http://api.example.com/v1/resource")); assertNotNull(Curl.put("ftp://files.example.com/upload")); assertNotNull(Curl.delete("http://localhost:8080/delete")); assertNotNull(Curl.head("https://cdn.example.com/assets/file.js"));Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
assertNotNull(exception); assertEquals(message, exception.getMessage()); assertNotNull(exception.getCause()); assertEquals(middleCause, exception.getCause()); assertEquals("Middle cause", exception.getCause().getMessage()); assertNotNull(exception.getCause().getCause());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructorWithNullMessageAndCause() { // Test constructor with null message and cause ThemeException exception = new ThemeException(null, null); assertNotNull(exception); assertNull(exception.getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } public void test_constructor_withNullMessage() { // Test constructor with null message SearchEngineClientException exception = new SearchEngineClientException(null); assertNotNull(exception);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
AvFlags avFlags = new AvFlags(rawBytes); assertNotNull(avFlags, "AvFlags object should not be null"); assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)"); // Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 }; AvFlags zeroAvFlags = new AvFlags(zeroBytes); assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA); assertNotNull(mac); assertEquals(16, mac.length); // Test with a different key usage byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA); assertNotNull(mac2); assertEquals(16, mac2.length); // Test with another key usage
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
SpnegoException ex1 = new SpnegoException((String) null); assertNotNull(ex1); assertNull(ex1.getMessage()); assertNull(ex1.getCause()); }); assertDoesNotThrow(() -> { SpnegoException ex2 = new SpnegoException("msg", null); assertNotNull(ex2); assertEquals("msg", ex2.getMessage()); assertNull(ex2.getCause());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } public void test_constructor_withNullMessage() { // Test constructor with null message PluginException exception = new PluginException(null); assertNotNull(exception); assertNull(exception.getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertNotNull(response); assertEquals(24, response.length); } // Test getNTLMResponse @Test void testGetNTLMResponse() { byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 }; byte[] response = NtlmPasswordAuthentication.getNTLMResponse("password", challenge); assertNotNull(response); assertEquals(24, response.length);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0)