Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for independent (1.22 sec)

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

            // Then
            assertTrue(smbComTreeDisconnect instanceof ServerMessageBlock);
        }
    
        /**
         * Test multiple instances are independent
         */
        @Test
        @DisplayName("Test multiple instances are independent")
        public void testMultipleInstancesIndependence() {
            // Setup mock to return a valid PID
            when(mockConfig.getPid()).thenReturn(5678);
    
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

                return value;
            }
            return defaultValue;
        }
    
        /**
         * Creates a new DataStoreParams instance with a copy of the current parameters.
         * This provides an independent copy that can be modified without affecting the original.
         *
         * @return a new DataStoreParams instance containing a copy of the current parameters
         */
        public DataStoreParams newInstance() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertTrue(result.length() > "TransPeekNamedPipeResponse[]".length());
        }
    
        @Test
        @DisplayName("Multiple instances should be independent")
        void testMultipleInstances() {
            // Arrange
            TransPeekNamedPipeResponse response1 = new TransPeekNamedPipeResponse(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        void testInstantiation() {
            TestLocking t = new TestLocking();
            assertNotNull(t, "TestLocking instance should not be null");
        }
    
        @Test
        @DisplayName("Field values are independent across instances")
        void testIndependentInstances() {
            TestLocking t1 = new TestLocking();
            TestLocking t2 = new TestLocking();
    
            // Set different values
            t1.numThreads = 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Update second directory cache
            List<SmbFile> files2 = Arrays.asList(mockFile2);
            directoryLeaseManager.updateDirectoryCache(dir2, files2);
    
            // Verify both caches are independent
            assertTrue(entry1.isComplete());
            assertTrue(entry2.isComplete());
            assertTrue(entry1.hasChild("document.txt"));
            assertFalse(entry1.hasChild("subfolder"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. LICENSE

    covered by this License; they are outside its scope.  The act of
    running a program using the Library is not restricted, and output from
    such a program is covered only if its contents constitute a work based
    on the Library (independent of the use of the Library in a tool for
    writing it).  Whether that is true depends on what the Library does
    and what the program that uses the Library does.
    
      1. You may copy and distribute verbatim copies of the Library's
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            assertFalse(rateLimiter.checkAttempt("user6", ip), "Should block after IP rate limit");
        }
    
        @Test
        public void testDifferentIpsIndependent() throws Exception {
            // Different IPs should have independent limits
            for (int i = 1; i <= 3; i++) {
                assertTrue(rateLimiter.checkAttempt("user1", "192.168.1." + i));
                rateLimiter.recordFailure("user1", "192.168.1." + i);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(8388608, response.getTotalBytesWritten()); // 8MB total
            }
    
            @Test
            @DisplayName("Should create multiple independent instances")
            void testMultipleInstances() throws SMBProtocolDecodingException {
                SrvCopyChunkCopyResponse response1 = new SrvCopyChunkCopyResponse();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            transformer2.setName("transformer2");
    
            assertEquals("transformer1", transformer1.getName());
            assertEquals("transformer2", transformer2.getName());
    
            // Both should have independent name storage
            transformer1.setName("changed1");
            assertEquals("changed1", transformer1.getName());
            assertEquals("transformer2", transformer2.getName());
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            assertSame(pooled1.getObject(), pooled2.getObject()); // Same wrapped object
        }
    
        /**
         * Test factory configuration independence
         */
        public void test_factoryConfigurationIndependence() {
            // Each factory instance has independent configuration
            assertEquals("testComponent", factory.getComponentName());
            assertSame(container, factory.getCrawlerContainer());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top