Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,603 for best (0.04 sec)

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

            instance = new SmbComFindClose2(mockConfig, TEST_SID);
        }
    
        @Test
        void testConstructorAndToString() {
            String s = instance.toString();
            // toString includes the class name and the sid field
            assertTrue(s.startsWith("SmbComFindClose2["));
            assertTrue(s.contains("sid=" + TEST_SID));
        }
    
        @Test
        void testWriteParameterWordsWireFormatLittleEndian() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        }
    
        /**
         * Test basic session lifecycle management
         */
        @Test
        @Timeout(5)
        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        public void test_getInputValue() {
            // Test getInputValue method with non-null input
            ProtwordsItem item1 = new ProtwordsItem(1, "word");
            assertEquals("word", item1.getInputValue());
    
            // Test with empty string
            ProtwordsItem item2 = new ProtwordsItem(2, "");
            assertEquals("", item2.getInputValue());
    
            // Test with null input - should return empty string
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

    import java.io.InputStream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Test class for SocketInputStream using JUnit 5 and Mockito.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. ci/official/utilities/code_check_full.bats

    }
    
    @test "Pip package generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/tools/pip_package:wheel" \
        "//tensorflow/tools/pip_package:licenses"
    }
    
    # This test ensures that all the targets built into the Python package include
    # their dependencies. It's a rewritten version of the "smoke test", an older
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 06 20:43:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals(21, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertEquals("test.txt", ftpInfo.getName());
    
            value = "ftp://123.123.123.123/aaa/../test.txt";
            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals("ftp://123.123.123.123/test.txt", ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertTrue(lockRequest instanceof RequestWithFileId);
            }
    
            @Test
            @DisplayName("Should initialize with SMB2_LOCK command")
            void testCommandInitialization() {
                Smb2LockRequest lockRequest = new Smb2LockRequest(mockConfig, testFileId, testLocks);
                assertNotNull(lockRequest);
            }
    
            @Test
            @DisplayName("Should accept null file ID in constructor")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            super.setUp();
            thumbnailJob = new GenerateThumbnailJob();
    
            // Create temporary directory
            tempDir = Files.createTempDirectory("test").toFile();
            tempDir.deleteOnExit();
    
            // Setup test components
            testProcessHelper = new TestProcessHelper();
            ComponentUtil.register(testProcessHelper, "processHelper");
    
            testSystemHelper = new TestSystemHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should maintain constant overhead")
            void testOverheadConstant() {
                assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 48, Smb2WriteRequest.OVERHEAD);
            }
    
            @Test
            @DisplayName("Should handle boundary conditions")
            void testBoundaryConditions() {
                // Test with exactly aligned data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            boolean getHasMore() {
                return hasMore;
            }
        }
    
        @Test
        public void hasMoreElements_initially_returnsTrue() {
            DummyResponse d = new DummyResponse();
            assertTrue(d.hasMoreElements(), "With default values hasMoreElements should be true");
        }
    
        @Test
        public void hasMoreElements_errorCodeNonZero_returnsFalse() {
            DummyResponse d = new DummyResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top