Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for independent (2.7 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            assertNotNull(results);
        }
    
        @Test
        public void testMultipleConverterInstances() throws IOException {
            // Test that multiple converter instances work independently
            AnalyzerConverter converter1 = new AnalyzerConverter(client, settings);
            AnalyzerConverter converter2 = new AnalyzerConverter(client, settings);
    
            String text = "test";
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                int bytesRead1 = stream1.read(buffer1);
                assertEquals(testContent, new String(buffer1, 0, bytesRead1, "UTF-8"));
            }
    
            // Second read - should work independently
            try (InputStream stream2 = cache.getInputStream()) {
                byte[] buffer2 = new byte[1024];
                int bytesRead2 = stream2.read(buffer2);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/main/assemblies/files/fess

        fi
    
        # Make sure we don't use any predefined locale, as we check some exception message strings and rely on english language
        # As those strings are created by the OS, they are dependent on the configured locale
        LANG=en_US.UTF-8
        LC_ALL=en_US.UTF-8
    
        export HOSTNAME=`hostname -s`
    
        cd "$FESS_HOME"
    
        if [ "x$daemonized" = "x" ]; then
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Verify that the configuration was queried for notify buffer size
            verify(mockConfig, atLeastOnce()).getNotifyBufferSize();
        }
    
        @Test
        @DisplayName("Test multiple instances independence")
        void testMultipleInstancesIndependence() {
            NtTransNotifyChange notify1 = new NtTransNotifyChange(mockConfig, 0x1111, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbResourceLocatorTest.java

                assertEquals("server/", root.getName());
            }
        }
    
        @Mock
        DfsReferralData dfs;
        @Mock
        Address addr;
    
        @Test
        @DisplayName("Mockito interaction – dependent objects are called appropriately")
        void testInteractionsWithStubbedDependencies() throws Exception {
            String url = "smb://server/share/";
            DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                // Encode to different buffers
                int result1 = request.encode(buffer1, 0);
                int result2 = request.encode(buffer2, 50);
    
                // Both should succeed independently
                assertTrue(result1 > 0);
                assertTrue(result2 > 0);
    
                // Verify headers in both buffers
                for (int i = 0; i < 8; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/UniAddressTest.java

     * the public API of {@code UniAddress} and its behaviour when provided
     * with different kinds of inputs.  Many static helpers in {@code
     * UniAddress} are network dependent and therefore not exercised here – they
     * would require complex stubbing of static methods.  Instead the tests
     * concentrate on the instance methods and simple static predicates
     * that are observable without network access.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        void testSetNullFileId() {
            // Given
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId);
    
            // When & Then - should handle null gracefully (implementation dependent)
            assertDoesNotThrow(() -> request.setFileId(null), "Should handle null file ID without throwing exception");
        }
    
        @Test
        @DisplayName("Should handle empty file ID")
        void testSetEmptyFileId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            for (int i = startIndex + bytesWritten; i < dst.length; i++) {
                assertEquals((byte) (i & 0xFF), dst[i]);
            }
        }
    
        @Test
        @DisplayName("Test multiple instances independence")
        void testMultipleInstancesIndependence() {
            NtTransQuerySecurityDesc desc1 = new NtTransQuerySecurityDesc(mockConfig, 0x1111, OWNER_SECURITY_INFORMATION);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbSessionTest.java

            }
        }
    
        @Nested
        @DisplayName("Mock Interaction Tests")
        class MockInteractionTest {
    
            @Test
            @DisplayName("Should allow all methods to be mocked independently")
            void shouldAllowAllMethodsToBeMockedIndependently() throws Exception {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top