Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 667 for assertNotNull (0.04 sec)

  1. 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)
  2. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            AvSingleHost avSingleHost = new AvSingleHost(mockConfig);
    
            assertNotNull(avSingleHost);
            assertEquals(AvPair.MsvAvSingleHost, avSingleHost.getType());
            byte[] value = avSingleHost.getRaw();
            assertNotNull(value);
            assertEquals(48, value.length); // Expected size: 8 + 8 + 32
    
            // Verify the machine ID part
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            assertNotNull(request);
        }
    
        @Test
        @DisplayName("Test setMaxOutputResponse method")
        void testSetMaxOutputResponse() {
            setupMockConfig();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
            int maxOutput = 4096;
    
            request.setMaxOutputResponse(maxOutput);
    
            assertNotNull(request);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            assertTrue(true);
        }
    
        public void test_init_configuration() {
            PopularWordHelper testHelper = new PopularWordHelper();
            testHelper.init();
    
            assertNotNull(testHelper.fessConfig);
            assertNotNull(testHelper.cache);
        }
    
        public void test_CACHE_KEY_SPLITTER() {
            assertEquals('\n', PopularWordHelper.CACHE_KEY_SPLITTER);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            super.tearDown();
        }
    
        // Test constructor
        public void test_constructor() {
            ScriptEngineFactory factory = new ScriptEngineFactory();
            assertNotNull(factory);
            assertNotNull(factory.scriptEngineMap);
            assertTrue(factory.scriptEngineMap.isEmpty());
        }
    
        // Test add method with valid parameters
        public void test_add_validParameters() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // First execution
            String result1 = aggregateLogJob.execute();
            assertNotNull(result1);
            assertTrue(result1.contains("Error 1"));
    
            // Second execution
            String result2 = aggregateLogJob.execute();
            assertNotNull(result2);
            assertTrue(result2.contains("Error 2"));
    
            // Results should be independent
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test that constructor works properly
            assertNotNull(new LtrQueryRescorer());
        }
    
        public void test_evaluate_withBlankModelName() {
            // Test when model name is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacTest.java

                try {
                    Pac pac = new Pac(pacData, keys);
                    assertNotNull(pac.getServerSignature());
                    assertNotNull(pac.getKdcSignature());
                } catch (PACDecodingException e) {
                    // Expected due to invalid logon info structure
                    assertNotNull(e.getMessage());
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertNotNull("Retention annotation should be present", retention);
            assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation target elements
        public void test_targetElements() {
            final Target target = UriType.class.getAnnotation(Target.class);
            assertNotNull("Target annotation should be present", target);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            int requestedState = Smb2LeaseState.SMB2_LEASE_FULL;
    
            Smb2LeaseKey key = leaseManager.requestLease(path, requestedState);
    
            assertNotNull(key);
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(requestedState, entry.getLeaseState());
            assertEquals(path, entry.getPath());
            assertEquals(1, entry.getEpoch());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top