Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,163 for setUp (1.51 sec)

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        @Mock
        private Address mockAddress;
    
        private NameServiceClientImpl nameServiceClient;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            // Configure mock context with fast timeouts
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            // Setup configuration with minimal timeouts for fast testing
            when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeout
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

    import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    
    
    @EnabledIfEnvironmentVariable(named = "CI", matches = ".*", disabledReason = "Tests rely on setup conditional on CI in gradlebuild.ci-reporting plugin running first, these test should only run if CI env var is present (it's value doesn't matter)")
    class TestFilesCleanupServiceTest {
        @TempDir
        lateinit var projectDir: File
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 18 10:36:40 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. .github/workflows/maven.yml

      pull_request:
        branches:
        - master
        - "*.x"
    
    jobs:
      build:
    
        runs-on: ubuntu-latest
    
        steps:
        - uses: actions/checkout@v2
        - name: Set up JDK 21
          uses: actions/setup-java@v2
          with:
            java-version: '21'
            distribution: 'temurin'
        - name: Build with Maven
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 602 bytes
    - Viewed (0)
  4. docs/ftp/README.md

    ```
    --ftp="tls-private-key=path/to/private.key" --ftp="tls-public-cert=path/to/public.crt"
    ```
    
    > NOTE: if MinIO distributed setup is already configured to run under TLS, FTP will automatically use the relevant
    > certs from the server certificate chain, this is mainly to add simplicity of setup. However if you wish to terminate
    > TLS certificates via a different domain for your FTP servers you may choose the above command line options.
    
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

    class SmbTreeTest {
    
        @Mock
        private SmbTree smbTree;
    
        @Mock
        private SmbTree mockWrappedTree;
    
        /**
         * Setup method executed before each test.
         */
        @BeforeEach
        void setUp() {
            // Common setup if needed
        }
    
        /**
         * Test for unwrap() method with matching type.
         * Verifies that unwrap returns the correct instance when the type matches.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

    import jcifs.dcerpc.msrpc.samr;
    
    class MsrpcEnumerateAliasesInDomainTest {
    
        @Mock
        private SamrDomainHandle mockDomainHandle;
        @Mock
        private samr.SamrSamArray mockSamArray;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeFieldsCorrectly() {
            // Given
            int acctFlags = 123;
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      int charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. .github/workflows/upgrade-ci-cd.yaml

        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.24.x]
            os: [ubuntu-latest]
    
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
          - name: Start upgrade tests
            run: |
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 729 bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	"io"
    	"net/http"
    	"net/http/httptest"
    	"strconv"
    	"testing"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Wrapper for calling RemoveBucket HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestRemoveBucketHandler(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testRemoveBucketHandler, endpoints: []string{"RemoveBucket"}})
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java

    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.rpc.policy_handle;
    
    class MsrpcSamrCloseHandleTest {
    
        @Mock
        private policy_handle mockPolicyHandle;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructorShouldInitializeCorrectly() {
            // Given
            // mockPolicyHandle is already mocked by @Mock and initialized by @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top