Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,167 for SetUp (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

      private static final BigInteger[] positive = new BigInteger[ARRAY_SIZE];
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(1024);
          nonzero1[i] = randomNonZeroBigInteger(1024);
          nonzero2[i] = randomNonZeroBigInteger(1024);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class AbstractListTester<E extends @Nullable Object> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named list that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of list or collection but not both.
       */
      protected final List<E> getList() {
        return (List<E>) collection;
      }
    
      /**
       * {@inheritDoc}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. ci/official/upload.sh

    # ==============================================================================
    # This script uploads all staged artifacts from all previous builds in the same
    # job chain to GCS and PyPI.
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    # Calculate the version number for choosing the final directory name. This adds
    # "-devYYYYMMDD" to the end of the version string for nightly builds.
    if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Mar 04 22:39:12 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        @Mock
        private Address address;
        @Mock
        private SmbNegotiationResponse negotiationResponse;
    
        @BeforeEach
        void setUp() {
            // Create a fresh pool instance for each test
            pool = new SmbTransportPoolImpl();
    
            // Setup default mock behaviors
            when(ctx.getConfig()).thenReturn(config);
            when(ctx.getNameServiceClient()).thenReturn(nameSvc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public class QueryFieldConfigTest extends UnitFessTestCase {
    
        private QueryFieldConfig queryFieldConfig;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
    
                @Override
                public String[] getQueryAdditionalResponseFields(String... fields) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/TreeConnectResponseTest.java

     * Tests both SMB1 and SMB2 protocol implementations.
     */
    @DisplayName("TreeConnectResponse Tests")
    class TreeConnectResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        /**
         * Helper method to set private field value using reflection
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

              // No-op
            }
          };
    
      private ThreadFactoryBuilder builder;
      private volatile boolean completed = false;
    
      @Override
      public void setUp() {
        builder = new ThreadFactoryBuilder();
      }
    
      public void testThreadFactoryBuilder_defaults() throws InterruptedException {
        ThreadFactory threadFactory = builder.build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

        @Mock
        private CommonServerMessageBlock mockMessage;
    
        private ChannelLoadBalancer loadBalancer;
        private ChannelInfo channel1;
        private ChannelInfo channel2;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            loadBalancer = new ChannelLoadBalancer(mockChannelManager);
    
            InetAddress addr1 = InetAddress.getByName("192.168.1.100");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

    class NetServerEnum2Test {
    
        private NetServerEnum2 netServerEnum2;
        private final String testDomain = "TEST_DOMAIN";
        private final int testServerTypes = NetServerEnum2.SV_TYPE_ALL;
    
        @BeforeEach
        void setUp() {
            netServerEnum2 = new NetServerEnum2(testDomain, testServerTypes);
        }
    
        /**
         * Test the constructor of NetServerEnum2.
         */
        @Test
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top