Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 491 for assertNull (0.23 seconds)

  1. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

        void testConstructorWithoutAndx() {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
    
            assertNull(testBlock.getAndx());
            assertNull(testBlock.getNext());
            assertNull(testBlock.getNextResponse());
        }
    
        @Test
        @DisplayName("Test constructor with null andx command")
        void testConstructorWithNullAndx() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  2. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    
    /**
     * Test MediaType API and parsing.
     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertEquals(Method.GET, request.method());
            assertEquals("UTF-8", request.encoding());
            assertEquals(1024 * 1024, request.threshold());
            assertNull(request.proxy());
            assertNull(request.body());
        }
    
        @Test
        public void testConstructorWithNullUrl() {
            // URL can be null with the two-argument constructor
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            corsHandlerFactory.add(origin, handler);
    
            // Execute
            CorsHandler result = corsHandlerFactory.get("https://nonexistent.com");
    
            // Verify
            assertNull(result);
        }
    
        @Test
        public void test_add_overwriteExistingOrigin() {
            // Setup
            String origin = "https://example.com";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/llm/LlmChatRequestTest.java

            final LlmChatRequest request = new LlmChatRequest();
            assertNotNull(request.getMessages());
            assertTrue(request.getMessages().isEmpty());
            assertNull(request.getModel());
            assertNull(request.getMaxTokens());
            assertNull(request.getTemperature());
            assertFalse(request.isStream());
        }
    
        @Test
        public void test_addMessage() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_functionReturnsNullNotInserted() {
        assertNull(
            "computeIfAbsent(absent, returnsNull) should return null",
            getMap()
                .computeIfAbsent(
                    k3(),
                    k -> {
                      assertEquals(k3(), k);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals(123, item.getId());
            assertEquals("and", item.getInput());
            assertNull(item.getNewInput());
        }
    
        @Test
        public void test_getNewInput_setNewInput() {
            // Test getter and setter for newInput
            StopwordsItem item = new StopwordsItem(1, "or");
            assertNull(item.getNewInput());
    
            item.setNewInput("nor");
            assertEquals("nor", item.getNewInput());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            org.lastaflute.web.response.ActionResponse response = authenticator.getResponse(org.codelibs.fess.sso.SsoResponseType.METADATA);
            assertNull(response);
    
            response = authenticator.getResponse(org.codelibs.fess.sso.SsoResponseType.LOGOUT);
            assertNull(response);
        }
    
        @Test
        public void test_innerClassNaming() {
            // Verify the inner SpnegoConfig class exists and is properly named
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.Mockito.mock;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top