Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,907 for xtest (0.02 sec)

  1. android/pom.xml

        -->
        <surefire.toolchain.version>${java.specification.version}</surefire.toolchain.version>
        <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI -->
        <test.include>%regex[.*.class]</test.include>
        <truth.version>1.4.4</truth.version>
        <jspecify.version>1.0.0</jspecify.version>
        <errorprone.version>2.41.0</errorprone.version>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  2. pom.xml

        -->
        <surefire.toolchain.version>${java.specification.version}</surefire.toolchain.version>
        <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI -->
        <test.include>%regex[.*.class]</test.include>
        <truth.version>1.4.4</truth.version>
        <jspecify.version>1.0.0</jspecify.version>
        <errorprone.version>2.41.0</errorprone.version>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals("\\test\\file.txt", request.getPath());
    
            // Test path with leading backslash (should be stripped)
            request.setPath("\\test\\file.txt");
            assertEquals("\\test\\file.txt", request.getPath());
    
            // Test path with trailing backslash (should be stripped)
            request.setPath("test\\directory\\");
            assertEquals("\\test\\directory", request.getPath());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Test
        @DisplayName("Test isDFSSupported returns false")
        void testIsDFSSupportedFalse() {
            // Arrange
            when(negotiationResponse.isDFSSupported()).thenReturn(false);
    
            // Act
            boolean result = negotiationResponse.isDFSSupported();
    
            // Assert
            assertFalse(result);
            verify(negotiationResponse).isDFSSupported();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testStringWithControlChars() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateString("test\u0001string", 100, "test");
            });
        }
    
        @Test
        public void testStringWithAllowedWhitespace() throws Exception {
            validator.validateString("test\tstring", 100, "test");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock.setUseUnicode(true);
                assertEquals(10, testBlock.stringWireLength("Test", 0));
                assertEquals(11, testBlock.stringWireLength("Test", 1));
            }
    
            @Test
            @DisplayName("Test read string length")
            void testReadStringLength() {
                byte[] buffer = "Test\0Other".getBytes();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SecurityInfo interface constants
     */
    class SecurityInfoTest {
    
        @Test
        @DisplayName("Test OWNER_SECURITY_INFO constant value")
        void testOwnerSecurityInfo() {
            assertEquals(0x1, SecurityInfo.OWNER_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test GROUP_SECURITY_INFO constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Test with concrete implementation - requires server to be set
                assertDoesNotThrow(() -> concreteImplementation.fixupHost(fqdn));
            }
    
            @Test
            @DisplayName("Should fixup domain")
            void testFixupDomain() {
                String domain = "example.com";
    
                // Test with mock
                doNothing().when(mockReferralData).fixupDomain(domain);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            // Test the toString method
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.contains("Trans2SetFileInformationResponse"));
            assertTrue(result.contains("["));
            assertTrue(result.contains("]"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test secure password handling in NtlmPasswordAuthenticator
     */
    public class NtlmPasswordAuthenticatorTest {
    
        /**
         * Test password storage using char arrays
         */
        @Test
        public void testPasswordAsCharArray() {
            String testPassword = "TestPassword123!";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top