Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for smbtest (0.05 sec)

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

            // Check if Docker is available
            if (isDockerAvailable()) {
                try {
                    // Create temporary directory structure for SMB shares
                    Path tempDir = Files.createTempDirectory("smbtest");
    
                    // Create directory structure
                    Files.createDirectories(tempDir.resolve("public"));
                    Files.createDirectories(tempDir.resolve("shared"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SIDTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.ArgumentCaptor;
    
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SID;
    import jcifs.smb.SmbException;
    
    /**
     * Tests for the SID class.
     */
    class SIDTest {
    
        // A well-known SID for "Administrators"
        private final String adminSidString = "S-1-5-32-544";
        private final byte[] adminSidBytes = new byte[] { 1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2, 0, 0 };
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SidResolver;
    import jcifs.dcerpc.rpc;
    
    class SIDTest {
    
        // Helper to build a minimal sid_t
        private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) {
            rpc.sid_t s = new rpc.sid_t();
            s.revision = revision;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

     * Comprehensive test suite for samr (Security Account Manager Remote) protocol
     * Tests all message types, data structures, and constants
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SAMR Protocol Test Suite")
    class samrTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @Mock
        private NdrBuffer mockDeferredBuffer;
    
        @Mock
        private rpc.policy_handle mockPolicyHandle;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

     * Tests all message types, data structures, and constants
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SMB1 SAMR Protocol Test Suite")
    class samrTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @Mock
        private NdrBuffer mockDeferredBuffer;
    
        @Mock
        private rpc.policy_handle mockPolicyHandle;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  6. cmd/erasure-metadata_test.go

    		parity   int
    	}{
    		// More than simple majority consensus
    		mkTest(15, 3, 11),
    		// No simple majority consensus
    		mkTest(15, 3, 7),
    		// Exact simple majority consensus
    		mkTest(15, 3, 8),
    		// More than simple majority consensus
    		mkTest(16, 4, 11),
    		// No simple majority consensus
    		mkTest(16, 4, 8),
    		// Exact simple majority consensus
    		mkTest(16, 4, 9),
    		// non-tiered object require read quorum of EcM
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. cmd/batch-replicate_test.go

    func TestParseBatchJobReplicate(t *testing.T) {
    	replicateYaml := `
    replicate:
      apiVersion: v1
      # source of the objects to be replicated
      source:
        type: minio # valid values are "s3" or "minio"
        bucket: mytest
        prefix: object-prefix1 # 'PREFIX' is optional
        # If your source is the 'local' alias specified to 'mc batch start', then the 'endpoint' and 'credentials' fields are optional and can be omitted
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/386enc.s

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// Instructions that were encoded with BYTE sequences.
    	// Included to simplify validation of CL that fixed that.
    	MOVQ (AX), M0  // 0f6f00
    	MOVQ M0, 8(SP) // 0f7f442408
    	MOVQ 8(SP), M0 // 0f6f442408
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/loong64enc5.s

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// ADDV/AND C_DCON, [r1], r2
    	ADDV	$0xfedcba9876543210, R4		// ADDV	$-81985529216486896, R4		// 7ea8ec14de4388031e539717deb73f0384f81000
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri May 16 05:00:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. mockwebserver-junit5/README.md

    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.1.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
      public final MockWebServer server = new MockWebServer();
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Requirements
    ------------
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 665 bytes
    - Viewed (0)
Back to top