Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 45 for simulation (0.09 seconds)

  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
    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)
  2. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            int aliasCount = 2;
    
            // For simulating backup document count mismatch
            long backupDocumentCount = 10;
            boolean useBackupDocumentCount = false;
    
            // For simulating post-rebuild alias count difference
            int postRebuildAliasCount = 2;
            boolean usePostRebuildAliasCount = false;
    
            // For error simulation
            boolean documentCountError = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  3. 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
        @Test
        public void test_get_filterReturnsNull() {
            // The filter.null property is configured to simulate null filter behavior
            try {
                fessConfig.get("filter.null");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (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
        @Test
        public void test_implementation_sequentialOperations() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            List<User> users = new ArrayList<>();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  7. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

                        }
                    }
                }
    
                return tokens;
            }
    
            private String convertToJapaneseReading(String term) {
                // Simple simulation of Japanese reading conversion
                if ("東京".equals(term)) {
                    return "トウキョウ";
                } else if ("大阪".equals(term)) {
                    return "オオサカ";
                } else {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * this is no worse than what FutureTask does in that situation. Additionally, because the
         * Future was cancelled, its listeners have been run, so its consumers will not hang.
         *
         * Contrast this to the situation we have if setResult() throws, a situation described below.
         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        // Now we've gone too far
        assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30));
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      public void testResizeTable() {
        verifyTableSize(100, 2, 4);
        verifyTableSize(100, 5, 8);
        verifyTableSize(100, 33, 64);
        verifyTableSize(60, 60, 128);
        verifyTableSize(120, 60, 256);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
Back to Top