Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 508 for assertNull (0.05 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        void testDefaultConstructor() {
            SecurityDescriptor sd = new SecurityDescriptor();
            assertEquals(0, sd.getType());
            assertNull(sd.getAces());
            assertNull(sd.getOwnerUserSid());
            assertNull(sd.getOwnerGroupSid());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes SecurityDescriptor")
        void testConstructorWithBuffer() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class ConnectionTimeoutExceptionTest {
    
        @Test
        void testNoArgsConstructor() {
            // Test the no-argument constructor
            ConnectionTimeoutException exception = new ConnectionTimeoutException();
            assertNull(exception.getMessage(), "Message should be null for no-arg constructor");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/DfsTest.java

            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
        void testGetTrustedDomains_Success() throws IOException, SmbAuthException {
            // This test is complex due to static method dependencies and reflection access
            // For now, we'll test the disabled path which is safer
            testDfs.setDisabled(true);
            assertNull(testDfs.getTrustedDomains(auth));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class RequestTimeoutExceptionTest {
    
        @Test
        void testNoArgsConstructor() {
            // Test the constructor with no arguments
            RequestTimeoutException exception = new RequestTimeoutException();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
    
            assertNull(roleQueryHelper.cipher);
            assertEquals("\n", roleQueryHelper.valueSeparator);
            assertEquals(",", roleQueryHelper.roleSeparator);
            assertNull(roleQueryHelper.parameterKey);
            assertTrue(roleQueryHelper.encryptedParameterValue);
            assertNull(roleQueryHelper.headerKey);
            assertTrue(roleQueryHelper.encryptedHeaderValue);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            assertNull(matchedRule);
        }
    
        /**
         * Test getRule with null ResponseData
         */
        public void test_getRule_nullResponseData() {
            TestRule rule = new TestRule("rule1", true);
    
            ruleManager.addRule(rule);
    
            Rule matchedRule = ruleManager.getRule(null);
    
            assertNull(matchedRule);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    package jcifs.smb1.http;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    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.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.Principal;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertEquals("r1", kuromojiItem.getReading());
            assertEquals("p1", kuromojiItem.getPos());
            assertNull(kuromojiItem.getNewToken());
            assertNull(kuromojiItem.getNewSegmentation());
            assertNull(kuromojiItem.getNewReading());
            assertNull(kuromojiItem.getNewPos());
            assertFalse(kuromojiItem.isUpdated());
            assertFalse(kuromojiItem.isDeleted());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

        }
    
        public void test_constructor_withNullOutput() {
            // Test with null output
            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, null);
    
            assertNull(item.getOutput());
        }
    
        public void test_constructor_withUnsortedInputs() {
            // Test that inputs are sorted during construction
            String[] inputs = { "z", "a", "m" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top