Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 902 for Setup (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            }
    
            @Test
            @DisplayName("list propagates SmbUnsupportedOperationException from doEnum")
            void list_propagatesUnsupportedOperationException() throws Exception {
                // Arrange: same setup as above to force doEnum -> SmbUnsupportedOperationException
                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
                SmbResourceLocator locator = mock(SmbResourceLocator.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameQueryResponseTest.java

    @ExtendWith(MockitoExtension.class)
    class NameQueryResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NameQueryResponse nameQueryResponse;
    
        @BeforeEach
        void setUp() {
            // Mock the OEM encoding configuration with lenient stubbing
            // since not all tests need this stub
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      private EqualsTester equalsTester;
      private ValidTestObject equalObject1;
      private ValidTestObject equalObject2;
      private ValidTestObject notEqualObject1;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        reference = new ValidTestObject(1, 2);
        equalsTester = new EqualsTester();
        equalObject1 = new ValidTestObject(1, 2);
        equalObject2 = new ValidTestObject(1, 2);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

      private PairedStatsAccumulator constantValuesAccumulator;
      private PairedStatsAccumulator constantValuesAccumulatorByAddAllPartitionedPairedStats;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        emptyAccumulator = new PairedStatsAccumulator();
    
        emptyAccumulatorByAddAllEmptyPairedStats = new PairedStatsAccumulator();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

     */
    public class HandleInfoTest {
    
        private HandleGuid testGuid;
        private byte[] testFileId;
        private Smb2LeaseKey testLeaseKey;
    
        @BeforeEach
        public void setUp() {
            testGuid = new HandleGuid();
            testFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                testFileId[i] = (byte) (i + 1);
            }
            testLeaseKey = new Smb2LeaseKey();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      private static final int[] slowFactorials = new int[ARRAY_SIZE];
      private static final int[] binomials = new int[ARRAY_SIZE];
    
      @Param({"50", "1000", "10000"})
      int factorialBound;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          factorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
          slowFactorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. cmd/object-api-deleteobject_test.go

    package cmd
    
    import (
    	"context"
    	"crypto/md5"
    	"encoding/hex"
    	"strings"
    	"testing"
    )
    
    // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup.
    func TestDeleteObject(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObject)
    }
    
    // Unit test for DeleteObject in general.
    func testDeleteObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                return responseProcessor;
            }
        }
    
        private TestRuleManager ruleManager;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            ruleManager = new TestRuleManager();
        }
    
        /**
         * Test adding a single rule
         */
        public void test_addRule_single() {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 23.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

    public class HandleReconnectorTest {
    
        @Mock
        private PersistentHandleManager mockManager;
    
        private HandleReconnector reconnector;
        private HandleInfo testHandle;
    
        @BeforeEach
        public void setUp() {
            MockitoAnnotations.openMocks(this);
            reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay
    
            HandleGuid guid = new HandleGuid();
            byte[] fileId = new byte[16];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

      int n;
    
      @Param MeanAlgorithm meanAlgorithm;
      @Param VarianceAlgorithm varianceAlgorithm;
    
      private final double[][] values = new double[0x100][];
    
      @BeforeExperiment
      void setUp() {
        Random rng = new Random();
        for (int i = 0; i < 0x100; i++) {
          values[i] = new double[n];
          for (int j = 0; j < n; j++) {
            values[i][j] = rng.nextDouble();
          }
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top