Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 20 for testServer (0.14 seconds)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

     * - rdma.test.port=445 (target port, defaults to 445)
     */
    public class RdmaIntegrationTest {
    
        private String testServer;
        private int testPort;
        private CIFSContext testContext;
    
        @BeforeEach
        public void setUp() throws Exception {
            testServer = System.getProperty("rdma.test.server");
            String portStr = System.getProperty("rdma.test.port", "445");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/NetbiosNameTest.java

                fail("Method not found: " + e.getMessage());
            }
        }
    
        @Test
        @DisplayName("Should handle getName() method")
        void testGetName() {
            // Given
            String testName = "TESTSERVER";
            when(mockNetbiosName.getName()).thenReturn(testName);
    
            // When
            String name = mockNetbiosName.getName();
    
            // Then
            assertEquals(testName, name);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb1.net.SmbShareInfo;
    import jcifs.smb.FileEntry;
    
    class MsrpcShareEnumTest {
    
        private static final String TEST_SERVER_NAME = "testServer";
    
        private MsrpcShareEnum msrpcShareEnum;
    
        @BeforeEach
        void setUp() {
            msrpcShareEnum = new MsrpcShareEnum(TEST_SERVER_NAME);
        }
    
        @Test
        void testConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

    import org.junit.jupiter.api.Test;
    
    class DcerpcBindingTest {
    
        private DcerpcBinding dcerpcBinding;
        private static final String PROTO = "ncacn_np";
        private static final String SERVER = "testServer";
    
        @BeforeEach
        void setUp() {
            dcerpcBinding = new DcerpcBinding(PROTO, SERVER);
            // Initialize static INTERFACES map for tests
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        @Test
        @DisplayName("Test ServerInfo1 getName")
        void testServerInfo1GetName() throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            String testName = "TESTSERVER";
            server.name = testName;
            assertEquals(testName, server.getName());
        }
    
        @Test
        @DisplayName("Test ServerInfo1 getAttributes")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

    import jcifs.internal.smb1.net.SmbShareInfo;
    import jcifs.smb.FileEntry;
    
    class MsrpcDfsRootEnumTest {
    
        private static final String TEST_SERVER = "testserver";
        private MsrpcDfsRootEnum dfsRootEnum;
    
        @BeforeEach
        void setUp() {
            dfsRootEnum = new MsrpcDfsRootEnum(TEST_SERVER);
        }
    
        @Test
        @DisplayName("Constructor should initialize all fields correctly")
        void testConstructorInitialization() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        }
    
        @Test
        @DisplayName("Should create request with correct command type and path")
        void testConstructorSetsCorrectCommandAndPath() throws Exception {
            // Given & When
            String path = "\\\\testserver\\testshare";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path);
    
            // Then - verify command is set correctly using reflection
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_advanced_middleware/test_tutorial001.py

    
    def test_middleware():
        client = TestClient(app, base_url="https://testserver")
        response = client.get("/")
        assert response.status_code == 200, response.text
    
        client = TestClient(app)
        response = client.get("/", follow_redirects=False)
        assert response.status_code == 307, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 480 bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/PacLogonInfoTest.java

        private static final long TEST_FILETIME = 130640000000000000L;
        private static final String TEST_USERNAME = "testuser";
        private static final String TEST_DOMAIN = "TESTDOMAIN";
        private static final String TEST_SERVER = "SERVER01";
    
        private SID domainSid;
        private SID userSid;
    
        @BeforeEach
        void setUp() throws Exception {
            domainSid = new SID("S-1-5-21-1-2-3");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                this.server = "test_server";
                this.serverWithDfs = "test_server_dfs";
                this.sessionKey = new byte[] { 1, 2, 3, 4 };
            }
    
            public TestDcerpcHandle(CIFSContext tc, DcerpcBinding binding) {
                super(tc, binding);
                this.localTransportContext = tc;
                this.server = "test_server";
                this.serverWithDfs = "test_server_dfs";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top