Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,907 for xtest (0.02 sec)

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        }
    
        @Test
        @DisplayName("Should get local host name")
        void testGetLocalName() {
            // When
            NetbiosName localName = nameServiceClient.getLocalName();
    
            // Then
            assertNotNull(localName, "Local name should not be null");
            assertTrue(localName.getName().length() > 0, "Local name should not be empty");
        }
    
        @Test
        @DisplayName("Should get unknown name")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

    import javax.security.auth.login.LoginException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockedConstruction;
    import org.mockito.Mockito;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for KerberosCredentials.
     */
    class KerberosCredentialsTest {
    
        @Mock
        private LoginContext loginContext;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      private var client =
        clientTestRule
          .newClientBuilder()
          .cache(Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE))
          .build()
    
      @Test
      fun trailersHttp1() {
        trailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun trailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
      private fun trailers(protocol: Protocol) {
        enableProtocol(protocol)
    
        server.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SmbFile;
    
    class Trans2FindFirst2ResponseTest {
    
        private Trans2FindFirst2Response response;
    
        @BeforeEach
        void setUp() {
            response = new Trans2FindFirst2Response();
        }
    
        // Test cases for SmbFindFileBothDirectoryInfo inner class
        @Test
        void testSmbFindFileBothDirectoryInfo_Getters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

        }
    
        public void test_toString_withSpecialCharacters() {
            // Test toString with special characters
            String name = "special[]param";
            String[] values = { "[value]", ",comma,", "quote\"test" };
            RequestParameter param = new RequestParameter(name, values);
    
            String expected = "[special[]param, [[value], ,comma,, quote\"test]]";
            assertEquals(expected, param.toString());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. 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 {
            // This test is simplified to verify basic handshake behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.util.SMBUtil;
    
    public class AvTimestampTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        public void testConstructorWithRawBytes() {
            byte[] rawBytes = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Test class for srvsvc.java classes
     */
    class srvsvcTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            super.tearDown();
        }
    
        // Test creator initialization
        public void test_creatorInitialization() {
            assertNotNull(creator);
        }
    
        // Test with different mail configurations
        public void test_mailConfiguration() {
            FessConfig config = ComponentUtil.getFessConfig();
    
            assertEquals("Test Admin", config.getMailFromName());
            assertEquals("test@example.com", config.getMailFromAddress());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

        @Mock
        private NdrObject mockNdrObject;
    
        private MsrpcQueryInformationPolicy queryPolicy;
    
        @BeforeEach
        void setUp() {
            // Setup is done through individual test methods
        }
    
        @Test
        void constructor_shouldInitializeWithValidParameters() {
            // Arrange
            short level = 3;
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top