Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 508 for assertNull (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
        assertEquals((Character) 'a', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            // Arrange & Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException();
    
            // Assert
            assertNull(ex.getMessage(), "Default ctor should not set a message");
            assertNull(ex.getCause(), "Default ctor should not set a cause");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            void testDefaultConstructor() {
                TransportException exception = new TransportException();
    
                assertNotNull(exception);
                assertNull(exception.getMessage());
                assertNull(exception.getRootCause());
                assertTrue(exception instanceof IOException);
            }
    
            @Test
            @DisplayName("Should create exception with message")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        public void test_constructor() {
            // Test default constructor
            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_instanceOf() {
            // Test that exception is instance of RuntimeException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

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

            // Verify
            assertNull(result);
        }
    
        public void test_getResponse_withUnsetType() {
            // Execute - requesting type without setting response
            ActionResponse result = authenticator.getResponse(SsoResponseType.METADATA);
    
            // Verify
            assertNull(result);
        }
    
        // Test logout method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        @Test
        public void testNullPasswordHandling() {
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", (String) null);
    
            assertNull(authenticator.getPassword(), "getPassword should return null for null password");
            assertNull(authenticator.getPasswordAsCharArray(), "getPasswordAsCharArray should return null for null password");
    
            // secureWipePassword should not throw exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/DfsResolverTest.java

            assertNull(dfsResolver.getDc(mockContext, "anyDomain"));
        }
    
        // Test for resolve method
        @Test
        void testResolve_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsResolver.resolve(mockContext, "anyDomain", "anyRoot", "anyPath"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("Default state is null for both fields")
        void defaultStateIsNull() {
            TestSpnegoToken t = new TestSpnegoToken();
            assertNull(t.getMechanismToken(), "mechanismToken should default to null");
            assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null");
        }
    
        @Test
        @DisplayName("Setter and getter for mechanismToken work")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            params.put(ExtractData.RESOURCE_NAME_KEY, resourceName);
            assertNull(pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            resourceName = null;
            params.put(ExtractData.URL, url);
            params.put(ExtractData.RESOURCE_NAME_KEY, resourceName);
            assertNull(pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top