Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 705 for stesti (2.14 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2ChangeNotifyRequest functionality
     */
    @DisplayName("Smb2ChangeNotifyRequest Tests")
    @ExtendWith(MockitoExtension.class)
    class Smb2ChangeNotifyRequestTest {
    
        private Configuration mockConfig;
        private CIFSContext mockContext;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. pom.xml

    			<version>2.2</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mockito</groupId>
    			<artifactId>mockito-core</artifactId>
    			<version>5.11.0</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.testcontainers</groupId>
    			<artifactId>testcontainers</artifactId>
    			<version>1.21.3</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/DelegatingConfigurationTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.ResolverType;
    
    /**
     * Comprehensive test suite for DelegatingConfiguration class.
     * Tests the delegation pattern and ensures all methods properly delegate.
     */
    @DisplayName("DelegatingConfiguration Tests")
    class DelegatingConfigurationTest extends BaseTest {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. docs/SMB3_IMPLEMENTATION_PLAN.md

    ```
    
    ## Testing Strategy
    
    ### Unit Tests
    - Individual component testing for each feature
    - Mock-based testing for protocol interactions
    - State machine validation
    
    ### Integration Tests
    - Feature interaction testing
    - Network failure simulation
    - Performance benchmarking
    - Compatibility testing with Windows Server 2016/2019/2022
    
    ### Test Infrastructure Requirements
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/rpcTest.java

    @DisplayName("RPC Data Structures Test Suite")
    class rpcTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @Mock
        private NdrBuffer mockDeferredBuffer;
    
        @Nested
        @DisplayName("UUID Tests")
        class UuidTests {
    
            @Test
            @DisplayName("Should encode UUID correctly")
            void testUuidTEncode() throws NdrException {
                // Given: A UUID with test values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.DcerpcMessage;
    
    @DisplayName("MsrpcSamrConnect2 Tests")
    public class MsrpcSamrConnect2Test {
    
        private SamrPolicyHandle mockPolicyHandle;
        private String testServer;
        private int testAccess;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SIDTest.java

        }
    
        /**
         * Test constructor with an invalid SID string.
         */
        @Test
        void testStringConstructorInvalidFormat() {
            assertThrows(SmbException.class, () -> new SID("invalid-sid"));
            assertThrows(SmbException.class, () -> new SID("S-1"));
        }
    
        /**
         * Test constructor with a byte array.
         */
        @Test
        void testByteArrayConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtStatusTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for NtStatus constants
     */
    @DisplayName("NtStatus Tests")
    class NtStatusTest {
    
        @Test
        @DisplayName("Should define well-known NT status constants")
        void testWellKnownStatusConstants() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            public int size() {
                return 0;
            }
        }
    
        @Nested
        @DisplayName("Interface Tests")
        class InterfaceTests {
    
            @Test
            @DisplayName("Should implement getContextType correctly")
            void testGetContextType() {
                // Test with different context types
                TestNegotiateContextRequest request1 = new TestNegotiateContextRequest(0x1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            // Test ExtraSpaceBot - extra whitespace should be handled
            assertFalse(robotsTxt.allows("/spaced/", "ExtraSpaceBot"));
            assertTrue(robotsTxt.allows("/also-spaced/", "ExtraSpaceBot"));
    
            // Test MixedCaseBot - mixed case directives should work
            assertFalse(robotsTxt.allows("/test1/", "MixedCaseBot"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top