Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 705 for stesti (2.25 sec)

  1. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                return false; // not guest for test purposes
            }
    
            @Override
            public boolean isAnonymous() {
                return false; // not anonymous for test purposes
            }
    
            @Override
            public String getUserDomain() {
                return "TESTDOMAIN"; // test domain for test purposes
            }
    
            @Override
            public <T extends Credentials> T unwrap(Class<T> type) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DfsImplTest.java

            // Instantiate the class under test
            dfsImpl = new DfsImpl(mockContext);
        }
    
        // Test for the constructor
        @Test
        void testDfsImplConstructor() {
            // The constructor is called in setUp(), so if no exception is thrown, this test passes.
            assertNotNull(dfsImpl);
        }
    
        // Tests for isTrustedDomain
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

        }
    
        @Nested
        @DisplayName("Interface Implementation Tests")
        class InterfaceImplementationTests {
    
            @Test
            @DisplayName("Should implement AllocInfo interface")
            void shouldImplementAllocInfo() {
                assertTrue(AllocInfo.class.isAssignableFrom(FileFsFullSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should implement FileSystemInformation interface")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlExceptionTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    
    import org.junit.Test;
    
    /**
     * Test class for CurlException.
     * Tests exception creation, message handling, and cause propagation.
     */
    public class CurlExceptionTest {
    
        @Test
        public void testConstructorWithMessage() {
            String message = "Test error message";
            CurlException exception = new CurlException(message);
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.msrpc.samr.SamrSamArray;
    
    /**
     * Tests for {@link MsrpcEnumerateAliasesInDomain}.
     */
    class MsrpcEnumerateAliasesInDomainTest {
    
        @Mock
        private SamrDomainHandle mockDomainHandle;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    
    @DisplayName("NbtException Tests")
    class NbtExceptionTest {
    
        @Test
        @DisplayName("getErrorString success returns SUCCESS")
        void testSuccess() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            // Verify cleanup
            assertNull(directoryLeaseManager.getCacheEntry(directoryPath));
        }
    
        @Test
        public void testMultipleDirectories() {
            String dir1 = "/test/dir1";
            String dir2 = "/test/dir2";
            String dir3 = "/test/dir3";
    
            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ACETest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Comprehensive test class for ACE interface constants and behavior.
     * Tests all constants, bitwise operations, and interface methods.
     * Achieves 100% coverage of the ACE interface contract.
     */
    @DisplayName("ACE Interface Comprehensive Tests")
    class ACETest {
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    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.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    @DisplayName("FileEntry interface contract tests")
    class FileEntryTest {
    
        @Test
        @DisplayName("Mock returns configured values")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            assertEquals(ChannelState.FAILED, channel.getState());
        }
    
        @Test
        void testLoadBalancingStrategies() throws Exception {
            // Test different load balancing strategies
            ChannelLoadBalancer loadBalancer = new ChannelLoadBalancer(channelManager);
    
            // Test setting different strategies
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top