Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for NewEndpoint (0.06 seconds)

  1. cmd/lock-rest-client_test.go

    )
    
    // Tests lock rpc client.
    func TestLockRESTlient(t *testing.T) {
    	// These should not be connectable.
    	endpoint, err := NewEndpoint("http://localhost:9876")
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    	endpointLocal, err := NewEndpoint("http://localhost:9012")
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    	endpointLocal.IsLocal = true
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            String newInterfaceSyntax = "11111111-2222-3333-4444-555555555555:1.0";
            String newEndpoint = "\\pipe\\" + newInterfaceName;
    
            DcerpcBinding.addInterface(newInterfaceName, newInterfaceSyntax);
    
            dcerpcBinding.setOption("endpoint", newEndpoint);
    
            assertEquals(newEndpoint, dcerpcBinding.getEndpoint(), "Endpoint should be set correctly for newly added interface.");
    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)
Back to Top