Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 508 for assertNull (0.05 sec)

  1. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

    import okhttp3.internal.platform.android.StandardAndroidSocketAdapter
    import org.conscrypt.Conscrypt
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertNotNull
    import org.junit.Assert.assertNull
    import org.junit.Assert.assertTrue
    import org.junit.Assume.assumeFalse
    import org.junit.Assume.assumeTrue
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.robolectric.ParameterizedRobolectricTestRunner
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. 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);
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

                    assertFalse(iterator3.hasNext(), "Third instance should have no elements");
    
                    assertNull(iterator1.next(), "First instance next() should return null");
                    assertNull(iterator2.next(), "Second instance next() should return null");
                    assertNull(iterator3.next(), "Third instance next() should return null");
                } catch (CIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            corsHandlerFactory.add(origin, handler);
    
            // Execute
            CorsHandler result = corsHandlerFactory.get("https://nonexistent.com");
    
            // Verify
            assertNull(result);
        }
    
        public void test_add_overwriteExistingOrigin() {
            // Setup
            String origin = "https://example.com";
            TestCorsHandler handler1 = new TestCorsHandler("handler1");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/NegTokenInitTest.java

            NegTokenInit parsed = new NegTokenInit(bytes);
            assertNull(parsed.getMechanisms(), "Mechanisms should be null when absent");
            assertEquals(0, parsed.getContextFlags(), "Flags should be zero when absent");
            assertNull(parsed.getMechanismToken(), "Mechanism token should be null when absent");
            assertNull(parsed.getMechanismListMIC(), "MIC should be null when absent");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertNull(table.get("foo", 2));
        assertNull(table.get("bar", 3));
        assertNull(table.get("cat", 1));
        assertNull(table.get("foo", null));
        assertNull(table.get(null, 1));
        assertNull(table.get(null, null));
      }
    
      public void testIsEmpty() {
        assertTrue(table.isEmpty());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                assertNull(responseData.getResponseBody());
                assertNull(responseData.getMetaDataMap().get("label"));
            }
            try (final ResponseData responseData = storageClient.doHead("storage://fess/")) {
                assertNull(responseData);
            }
            try (final ResponseData responseData = storageClient.doHead("storage://fess/dir1/")) {
                assertNull(responseData);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            CrawlerSystemException exception = new CrawlerSystemException((String) null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        /**
         * Test constructor with empty message
         */
        public void test_constructor_withEmptyMessage() {
            CrawlerSystemException exception = new CrawlerSystemException("");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            assertEquals(0L, concreteResponse.getMid());
            assertEquals(0, concreteResponse.getCommand());
            assertNull(concreteResponse.getDigest());
            assertNull(concreteResponse.getException());
            assertNull(concreteResponse.getExpiration());
            assertFalse(concreteResponse.isError());
            assertFalse(concreteResponse.isReceived());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertNull(context.getHashAlgos());
                assertNull(context.getSalt());
            }
    
            @Test
            @DisplayName("Should handle null hash algorithms")
            void testNullHashAlgorithms() {
                context = new PreauthIntegrityNegotiateContext(mockConfig, null, new byte[16]);
    
                assertNull(context.getHashAlgos());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top