Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,141 for assertTrue (0.22 sec)

  1. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.encryptedPasswords = true;
            serverData.signaturesEnabled = true;
            serverData.signaturesRequired = true;
    
            // Then
            assertTrue(serverData.encryptedPasswords);
            assertTrue(serverData.signaturesEnabled);
            assertTrue(serverData.signaturesRequired);
    
            // When - set all to false
            serverData.encryptedPasswords = false;
            serverData.signaturesEnabled = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // When
            String result = smbComTreeDisconnect.toString();
    
            // Then
            assertNotNull(result);
            assertTrue(result.contains("SmbComTreeDisconnect"));
            assertTrue(result.startsWith("SmbComTreeDisconnect["));
            assertTrue(result.endsWith("]"));
        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/CIFSContextTest.java

    package jcifs;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.URLStreamHandler;
    
    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
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java

            // When
            String result = smbComTreeDisconnect.toString();
    
            // Then
            assertTrue(result.startsWith("SmbComTreeDisconnect["), "toString should start with 'SmbComTreeDisconnect['");
            assertTrue(result.endsWith("]"), "toString should end with ']'");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            testSids = new jcifs.SID[] { mockSid };
    
            // Act
            lookupSids = new MsrpcLookupSids(mockPolicyHandle, testSids);
    
            // Assert
            assertTrue((lookupSids.getFlags() & DcerpcConstants.DCERPC_FIRST_FRAG) != 0);
            assertTrue((lookupSids.getFlags() & DcerpcConstants.DCERPC_LAST_FRAG) != 0);
        }
    
        @Test
        void constructor_shouldPassCorrectCountToSuperclass() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/NotifyResponseTest.java

            // Test interface implementation
            assertTrue(response instanceof NotifyResponse);
            assertTrue(response instanceof CommonServerMessageBlockResponse);
    
            // Test initial state
            List<FileNotifyInformation> notifications = response.getNotifyInformation();
            assertNotNull(notifications);
            assertTrue(notifications.isEmpty());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.io.File;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.util.zip.ZipInputStream;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.jar.JarFileUtil;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        assertEquals(reference.getClass(), target.getClass());
        assertTrue(Arrays.equals(reference, target));
        assertTrue(Arrays.equals(reference, target));
    
        Object[] expectedArray1 = expectModify ? reference : starting;
        Object[] expectedArray2 = expectModify ? target : starting;
        assertTrue(Arrays.equals(expectedArray1, array1));
        assertTrue(Arrays.equals(expectedArray2, array2));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/DfsTest.java

    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.Mockito.lenient;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.mockStatic;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

        public void test_isEmptyArray_withNull() {
            assertTrue(searchRequestParams.isEmptyArray(null));
        }
    
        public void test_isEmptyArray_withEmptyArray() {
            assertTrue(searchRequestParams.isEmptyArray(new String[] {}));
        }
    
        public void test_isEmptyArray_withBlankStrings() {
            assertTrue(searchRequestParams.isEmptyArray(new String[] { "", "  ", "\t", "\n" }));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top