Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for smbtest (0.03 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. 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)
  8. 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)
  9. src/cmd/asm/internal/asm/testdata/loong64enc4.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_DCON32_12S, [r1], r2
    	ADDV    $0x27312345fffff800, R4         // ADDV	$2824077224892692480, R4        // 1e00a002be682416decf090384f81000
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 14:31:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/loong64enc3.s

    // Copyright 2022 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
    	MOVW	$65536(R4), R5			// 1e020014de03800385f81000
    	MOVW	$4096(R4), R5 			// 3e000014de03800385f81000
    	MOVV	$65536(R4), R5			// 1e020014de03800385f81000
    	MOVV	$4096(R4), R5			// 3e000014de03800385f81000
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 14:31:35 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top