Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,094 for SetUp (0.14 sec)

  1. cmd/benchmark-utils_test.go

    import (
    	"bytes"
    	"context"
    	"math"
    	"math/rand"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    // Benchmark utility functions for ObjectLayer.PutObject().
    // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark.
    func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) {
    	var err error
    	// obtains random bucket name.
    	bucket := getRandomBucketName()
    	// create bucket.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    
    public class SuggestCreatorTest extends UnitFessTestCase {
    
        private SuggestCreator suggestCreator;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            suggestCreator = new SuggestCreator();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Test constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. .github/workflows/label-approved.yml

            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v5
        - name: Set up Python
          uses: actions/setup-python@v5
          with:
            python-version: "3.11"
        - name: Setup uv
          uses: astral-sh/setup-uv@v6
          with:
            version: "0.4.15"
            enable-cache: true
            cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. .github/workflows/topic-repos.yml

              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.11"
          - name: Setup uv
            uses: astral-sh/setup-uv@v6
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1021 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

    public class UpdateLabelJobTest extends UnitFessTestCase {
    
        private UpdateLabelJob updateLabelJob;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            updateLabelJob = new UpdateLabelJob();
    
            // Setup mock components
            setupMockComponents();
        }
    
        private void setupMockComponents() {
            // Mock SearchEngineClient
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

        @Mock
        private SmbFile mockFile1;
    
        @Mock
        private SmbFile mockFile2;
    
        private DirectoryLeaseManager directoryLeaseManager;
        private AutoCloseable mocks;
    
        @BeforeEach
        public void setUp() {
            mocks = MockitoAnnotations.openMocks(this);
            when(context.getConfig()).thenReturn(config);
            when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Disable for unit tests
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/QueryTestBase.java

     */
    public abstract class QueryTestBase extends UnitFessTestCase {
    
        protected QueryProcessor queryProcessor;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Setup FessConfig with proper initialization
            setupBaseFessConfig();
    
            // Initialize QueryFieldConfig
            QueryFieldConfig queryFieldConfig = new QueryFieldConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

      private static final int DELAY_MS = 50;
      private static final String RETURN_VALUE = "abc";
    
      private TimeLimiter timeLimiter;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        timeLimiter = new FakeTimeLimiter();
      }
    
      public void testCallWithTimeout_propagatesReturnValue() throws Exception {
        String result =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                // Expected in test environment due to OpenSearch XContent setup
                assertTrue(e.getCause() instanceof IOException);
            }
        }
    
        public void test_scroll_callbackHandling() {
            // This test verifies the scroll method exists and handles callbacks properly
            // Note: In a real test environment, this would require proper SearchEngineClient setup
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify setup count is written correctly
            assertEquals(3, dst[35]);
    
            // Verify the total bytes written accounts for setup words
            assertTrue(bytesWritten >= 38 + 6); // Base structure + setup words
        }
    
        @Test
        @DisplayName("Test writeParameterWordsWireFormat returns correct byte count")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top