Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for simulation (0.63 sec)

  1. src/test/java/jcifs/SmbSessionTest.java

                SmbSession mockSession = mock(SmbSession.class);
    
                assertDoesNotThrow(() -> {
                    try (SmbSession session = mockSession) {
                        // Resource usage simulation
                        session.getConfig();
                    }
                }, "SmbSession should work with try-with-resources");
    
                verify(mockSession, times(1)).close();
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            } finally {
                // Clean up system property
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test property filter returning null simulation
        public void test_get_filterReturnsNull() {
            // The filter.null property is configured to simulate null filter behavior
            try {
                fessConfig.get("filter.null");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. docs/SMB3_IMPLEMENTATION_PLAN.md

    ### 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
    - Windows Server test environment with:
      - Failover clustering
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            for (int i = 0; i < bytesWritten1; i++) {
                assertEquals(dst1[i], dst2[100 + i]);
            }
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat with encoding issue simulation")
        void testWriteParametersWireFormatEncodingIssue() throws Exception {
            // Create a modified NetShareEnum to test encoding exception path
            NetShareEnum testEnum = new NetShareEnum(realConfig) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        }
    
        /**
         * Test a successful NTLM authentication handshake.
         * This is a simplified test that verifies the basic flow without full NTLM protocol simulation.
         * @throws IOException
         * @throws SecurityException
         */
        @Test
        void testSuccessfulHandshake() throws IOException, SecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            assertEquals("user3", chain.changePasswordCalls.get(0).getKey());
            assertEquals(user1, chain.loadCalls.get(0));
        }
    
        // Test concurrent operations simulation
        public void test_implementation_sequentialOperations() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            List<User> users = new ArrayList<>();
    
            // Create test users
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. cmd/signature-v2_test.go

    		if err != nil {
    			t.Errorf("(%d) failed to create http.Request, got %v", i, err)
    		}
    		if testCase.expected != ErrNone {
    			// Should be set since we are simulating a http server.
    			req.RequestURI = req.URL.RequestURI()
    			// Check if it matches!
    			errCode := doesPresignV2SignatureMatch(req)
    			if errCode != testCase.expected {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DfsImplTest.java

            when(mockContext.getTransportPool()).thenReturn(mockTransportPool);
            when(mockConfig.getDfsTtl()).thenReturn(300L);
    
            // Mock transport to throw IOException - simulating connection failure
            when(mockTransportPool.getSmbTransport(any(CIFSContext.class), anyString(), anyInt(), anyBoolean(), anyBoolean()))
                    .thenThrow(new IOException("Connection failed"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. docs/site-replication/README.md

    # Automatic Site Replication
    
    This feature allows multiple independent MinIO sites (or clusters) that are using the same external IDentity Provider (IDP) to be configured as replicas. In this situation the set of replica sites are referred to as peer sites or just sites. When site-replication is enabled on a set of sites, the following changes are replicated to all other sites:
    
    - Creation and deletion of buckets and objects
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertEquals("", emptyUnicodeStringFalse.toString(), "toString should return empty string for empty input without zterm");
    
            // Test toString with a manually constructed UnicodeString (simulating rpc.unicode_string input)
            rpc.unicode_string dummyRus = new rpc.unicode_string();
            dummyRus.buffer = new short[] { 'T', 'e', 's', 't', 'i', 'n', 'g' };
            dummyRus.length = 14; // 7 characters * 2 bytes/char
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top