Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,418 for setups (0.05 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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/ds/AbstractDataStoreTest.java

    import groovy.lang.GroovyShell;
    
    public class AbstractDataStoreTest extends UnitFessTestCase {
        public AbstractDataStore dataStore;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            dataStore = new AbstractDataStore() {
                @Override
                protected String getName() {
                    return "Test";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

      private SortedSet<E> sortedSet;
      private List<E> values;
      private @Nullable E a;
      private @Nullable E b;
      private @Nullable E c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        sortedSet = (SortedSet<E>) getSet();
        values =
            copyToList(
                getSubjectGenerator()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

    public class SmbComSetInformationResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private SmbComSetInformationResponse response;
    
        @BeforeEach
        void setUp() {
            // Setup mock configuration to avoid NPE
            when(mockConfig.getPid()).thenReturn(12345);
    
            response = new SmbComSetInformationResponse(mockConfig);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. 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)
Back to top