Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 667 for assertNotNull (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            assertNotNull(userInfoHelper.getUserCodeFromRequest(request));
            buf.append("12345ABCDE");
            request.setParameter("userCode", buf.toString());
            assertNotNull(userInfoHelper.getUserCodeFromRequest(request));
            buf.append("12345ABCDE");
            request.setParameter("userCode", buf.toString());
            assertNotNull(userInfoHelper.getUserCodeFromRequest(request));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            assertNotNull(exception);
            assertEquals("Not Found: http://example.com/child Parent: http://example.com/parent", exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

        public void testPreauthSaltGeneration() {
            byte[] salt1 = preauthService.generatePreauthSalt();
            byte[] salt2 = preauthService.generatePreauthSalt();
    
            assertNotNull(salt1);
            assertNotNull(salt2);
            assertEquals(32, salt1.length); // 32 bytes as per SMB 3.1.1 spec
            assertEquals(32, salt2.length);
            assertFalse(java.util.Arrays.equals(salt1, salt2)); // Should be different
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            Process mockProcess = createMockProcess("test output\nline2");
    
            JobProcess jobProcess = new JobProcess(mockProcess);
    
            assertNotNull(jobProcess);
            assertSame(mockProcess, jobProcess.getProcess());
            assertNotNull(jobProcess.getInputStreamThread());
            assertEquals("InputStreamThread", jobProcess.getInputStreamThread().getName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

    package jcifs.internal.smb1.trans.nt;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.atLeastOnce;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            ParseException parseException = new ParseException("Test parse error");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            assertNotNull(queryParseException);
            assertEquals(parseException, queryParseException.getCause());
            assertTrue(queryParseException instanceof FessSystemException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            // Assert object_attributes fields
            assertNotNull(msrpcLsarOpenPolicy2.object_attributes);
            assertEquals(24, msrpcLsarOpenPolicy2.object_attributes.length);
    
            // Assert security_quality_of_service fields
            assertNotNull(msrpcLsarOpenPolicy2.object_attributes.security_quality_of_service);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
            CommandExecutionException exception = new CommandExecutionException(null, null);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            authenticator.setLoginCredential(expectedCredential);
    
            // Execute
            LoginCredential result = authenticator.getLoginCredential();
    
            // Verify
            assertNotNull(result);
            assertEquals(expectedCredential, result);
            assertEquals("testuser", ((TestLoginCredential) result).getUsername());
            assertEquals("testpass", ((TestLoginCredential) result).getPassword());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (1)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            ContentCache cache = new ContentCache(data);
    
            assertNotNull(cache);
        }
    
        @Test
        public void testFileBasedCacheConstructor() throws IOException {
            tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir);
            ContentCache cache = new ContentCache(tempFile);
    
            assertNotNull(cache);
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top