Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,167 for setUp (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

    /**
     * Test class for ValidateNegotiateInfoResponse
     */
    class ValidateNegotiateInfoResponseTest {
    
        private ValidateNegotiateInfoResponse response;
    
        @BeforeEach
        void setUp() {
            response = new ValidateNegotiateInfoResponse();
        }
    
        @Test
        @DisplayName("Test decode with valid buffer")
        void testDecodeValidBuffer() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        @Mock
        private CommonServerMessageBlockRequest splitRequest;
    
        @Mock
        private CommonServerMessageBlockRequest cancelRequest;
    
        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(request, nextRequest, splitRequest, cancelRequest);
        }
    
        @Test
        @DisplayName("Test isResponseAsync returns true when response is async")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

     */
    @DisplayName("EmptyIterator Tests")
    class EmptyIteratorTest extends BaseTest {
    
        private EmptyIterator emptyIterator;
    
        @BeforeEach
        void setUp() {
            emptyIterator = new EmptyIterator();
        }
    
        @Test
        @DisplayName("EmptyIterator should implement CloseableIterator interface")
        void testInterfaceImplementation() {
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. docs/site-replication/run-ssec-object-replication-with-compression.sh

    export MINIO_BROWSER=off
    export MINIO_ROOT_USER="minio"
    export MINIO_ROOT_PASSWORD="minio123"
    TEST_MINIO_ENC_KEY="MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDA"
    
    # Create certificates for TLS enabled MinIO
    echo -n "Setup certs for MinIO instances ..."
    wget -O certgen https://github.com/minio/certgen/releases/latest/download/certgen-linux-amd64 && chmod +x certgen
    ./certgen --host localhost
    mkdir -p /tmp/certs
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    abstract class AbstractAbstractFutureTest extends TestCase {
      private TestedFuture<Integer> future;
      private AbstractFuture<Integer> delegate;
    
      abstract AbstractFuture<Integer> newDelegate();
    
      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/ACETest.java

    import jcifs.smb.SID;
    import jcifs.smb.SmbException;
    
    /**
     * Test class for ACE (Access Control Entry)
     */
    class ACETest {
    
        private ACE ace;
        private byte[] testBuffer;
    
        @BeforeEach
        void setUp() {
            ace = new ACE();
        }
    
        @Test
        @DisplayName("Test decode with allow ACE")
        void testDecodeAllowACE() throws Exception {
            // Prepare test data - Allow ACE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        @Mock
        SmbSessionImpl session;
    
        @Mock
        SmbTransportImpl transport;
    
        @Mock
        Configuration config;
    
        private SmbTreeHandleImpl handle;
    
        @BeforeEach
        void setUp() {
            // Tree connection is acquired in the constructor and should return itself
            when(treeConnection.acquire()).thenReturn(treeConnection);
            when(treeConnection.getSession()).thenReturn(session);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

        class TestImplementationTests {
    
            private TestCreateContextResponse testResponse;
            private byte[] testName;
            private byte[] testBuffer;
    
            @BeforeEach
            void setUp() {
                testName = "CREATE_CONTEXT_TEST".getBytes(StandardCharsets.UTF_8);
                testResponse = new TestCreateContextResponse(testName);
                testBuffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. README.md

    - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
    
    ## 🧪 Building and Testing
    
    ### Development Setup
    ```bash
    # Clone the repository
    git clone https://github.com/codelibs/corelib.git
    cd corelib
    
    # Compile the project
    mvn clean compile
    
    # Run all tests
    mvn test
    
    # Run specific test class
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

    import org.mockito.MockitoAnnotations;
    
    /**
     * Test suite for DfsReferralResponseBuffer
     */
    class DfsReferralResponseBufferTest {
    
        private DfsReferralResponseBuffer buffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            buffer = new DfsReferralResponseBuffer();
        }
    
        @Nested
        @DisplayName("Constructor and Initial State Tests")
        class ConstructorTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top