Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 491 for assertNull (0.06 seconds)

  1. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

    package jcifs.ntlmssp.av;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class AvPairTest {
    
        @Test
        void testConstructorAndGetters() {
            // Test with a valid type and raw data
            int type = AvPair.MsvAvTimestamp;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

            assertEquals(0, ShortConversionUtil.toPrimitiveShort(""));
        }
    
        /**
         * @throws Exception
         */
        public void testToShortForEmptyString() throws Exception {
            assertNull(ShortConversionUtil.toShort(""));
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

    package jcifs.internal.smb1.trans.nt;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    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.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    import java.nio.ByteBuffer;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

            assertNull(loc.getAddress());
        }
    
        @Test
        @DisplayName("Test DFS referral data")
        void testDfsReferralData() throws Exception {
            String url = "smb://server/share/path/";
            DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
    
            // Initially no DFS referral
            assertNull(loc.getDfsReferral());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        void testNullDomainAndWorkstation() {
            // When
            Type1Message type1 = new Type1Message(mockContext, 0, null, null);
    
            // Then
            assertNull(type1.getSuppliedDomain());
            assertNull(type1.getSuppliedWorkstation());
        }
    
        @Test
        @DisplayName("Should handle case sensitivity in domain and workstation")
        void testCaseSensitivity() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/http/NtlmSspTest.java

    package jcifs.http;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.lenient;
    import static org.mockito.Mockito.never;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
  7. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.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.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

            assertEquals(0, IntegerConversionUtil.toPrimitiveInt(""));
        }
    
        /**
         * @throws Exception
         */
        public void testToIntegerForEmptyString() throws Exception {
            assertNull(IntegerConversionUtil.toInteger(""));
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

    package jcifs.ntlmssp.av;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class AvChannelBindingsTest {
    
        /**
         * Test that the constructor correctly initializes with a valid channel binding hash.
         */
        @Test
        void testConstructorWithValidHash() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.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 java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for RdmaProviderFactory
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top