Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2001 - 2010 of 4,372 for test$ (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code get} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/transport/MessageTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    class MessageTest {
    
        private Message message;
    
        @BeforeEach
        void setUp() {
            // Create an anonymous implementation of the Message interface for testing
            message = new Message() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class FakeTimeLimiterTest extends TestCase {
    
      private static final int DELAY_MS = 50;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. cmd/bucket-replication_test.go

    	},
    }
    
    func TestReplicationResync(t *testing.T) {
    	ctx := t.Context()
    	for i, test := range replicationConfigTests {
    		if sync := test.rcfg.Resync(ctx, test.info, test.dsc, test.tgtStatuses); sync.mustResync() != test.expectedSync {
    			t.Errorf("Test%d (%s): Resync  got %t , want %t", i+1, test.name, sync.mustResync(), test.expectedSync)
    		}
    	}
    }
    
    var (
    	start                   = UTCNow().AddDate(0, 0, -1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code toArray()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/how-to/custom-docs-ui-assets.md

    Swagger UI 會在背後幫你處理,不過它需要這個「redirect」輔助端點。
    
    ///
    
    ### 建立路徑操作以進行測試 { #create-a-path-operation-to-test-it }
    
    現在,為了測試一切是否正常,建立一個路徑操作:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[36:38] *}
    
    ### 測試 { #test-it }
    
    現在你應該能造訪 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs),重新載入頁面後,資源會從新的 CDN 載入。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        before.assertRun();
        after.assertRun();
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullListener() {
        assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor()));
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullExecutor() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for the default implementations of {@code ByteSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class ByteSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link PeekingIterator}.
     *
     * @author Mick Killianey
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible
    @NullMarked
    public class PeekingIteratorTest extends TestCase {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      @SuppressWarnings({
        "InlineMeInliner", // test of method that doesn't just delegate
        "nullness", // test of a bogus call
      })
      public void testRepeat_null() {
        assertThrows(NullPointerException.class, () -> Strings.repeat(null, 5));
      }
    
      @SuppressWarnings("UnnecessaryStringBuilder") // We want to test a non-String CharSequence
      public void testCommonPrefix() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top