Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,167 for SetUp (0.02 sec)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

    import jcifs.util.SmbCircuitBreaker.State;
    
    /**
     * Test class for SmbCircuitBreaker
     */
    public class SmbCircuitBreakerTest {
    
        private SmbCircuitBreaker circuitBreaker;
    
        @BeforeEach
        public void setUp() {
            // Create circuit breaker with test-friendly settings
            circuitBreaker = new SmbCircuitBreaker("test", 3, 2, 1000, 3);
        }
    
        @Test
        public void testInitialState() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

     */
    class NtTransNotifyChangeResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NtTransNotifyChangeResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new NtTransNotifyChangeResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor creates instance with empty notification list")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

        @Mock
        private SmbResource mockResource1;
    
        @Mock
        private SmbResource mockResource2;
    
        @Mock
        private SmbResource mockResource3;
    
        @BeforeEach
        void setUp() {
            lenient().when(mockFileEntry1.getName()).thenReturn("file1.txt");
            lenient().when(mockFileEntry2.getName()).thenReturn("file2.txt");
            lenient().when(mockFileEntry3.getName()).thenReturn("file3.txt");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

        @Mock
        private SmbTransportImpl transport;
    
        private SmbSessionImpl newSession() {
            return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport);
        }
    
        @BeforeEach
        void setup() {
            // Base context configuration - always needed
            when(cifsContext.getConfig()).thenReturn(configuration);
    
            // Context and credentials wiring - used by most tests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        ArtifactRepositoryLayout repoLayout;
    
        @Inject
        PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            RepositorySystemSession repoSession = initRepoSession();
            MavenSession session = new MavenSession(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. .github/CODEOWNERS

    testing/distributions-integ-tests       @gradle/bt-developer-productivity
    testing/public-api-tests                @gradle/bt-developer-productivity
    testing/integ-test/
    version.txt
    released-versions.json
    
    # Dev setup
    .idea                                   @gradle/bt-developer-productivity
    .editorconfig                           @gradle/bt-developer-productivity
    .gitignore                              @gradle/bt-developer-productivity
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Jul 28 01:45:03 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	MissingContentLength
    	TooBigObject
    	TooBigDecodedLength
    	BadSignature
    	BadMD5
    	MissingUploadID
    )
    
    // Wrapper for calling HeadObject API handler tests for both Erasure multiple disks and FS single drive setup.
    func TestAPIHeadObjectHandler(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testAPIHeadObjectHandler, endpoints: []string{"HeadObject"}})
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	}
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    		c.Fatalf("unable to setup LDAP for tests: %v", err)
    	}
    
    	s.RestartIAMSuite(c)
    }
    
    // SetUpLDAPWithNonNormalizedBaseDN - expects to setup an LDAP test server using
    // the test LDAP container and canned data from
    // https://github.com/minio/minio-ldap-testing
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb/Kerb5Context.java

    import org.ietf.jgss.Oid;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.spnego.NegTokenInit;
    
    /**
     * This class used to provide Kerberos feature when setup GSSContext.
     *
     * @author Shun
     */
    class Kerb5Context implements SSPContext {
    
        private static final Logger log = LoggerFactory.getLogger(Kerb5Context.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        @Mock
        private CommonServerMessageBlock messageBlock;
    
        @Mock
        private CommonServerMessageBlockResponse response;
    
        @Mock
        private SMBSigningDigest digest;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test decode method with valid buffer")
        void testDecodeWithValidBuffer() throws SMBProtocolDecodingException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top