Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for smbtest (0.07 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/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)
  7. 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)
  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. docs/features/https.md

     [provider_installer]: https://developer.android.com/training/articles/security-gms-provider
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        String message =
            String.format(
                Locale.ROOT,
                "Error in automated %s of %s\n"
                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
        return new AssertionError(message, e);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top