Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 3,240 for Test (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.util.Collection;
    import java.util.Queue;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code ForwardingQueue}.
     *
     * @author Robert Konigsberg
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests multiset-specific read operations. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.SetTestSuiteBuilder}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/javadoc-link/checker-framework/package-list

    org.checkerframework.dataflow.qual
    org.checkerframework.dataflow.util
    org.checkerframework.framework.flow
    org.checkerframework.framework.qual
    org.checkerframework.framework.source
    org.checkerframework.framework.test
    org.checkerframework.framework.test.diagnostics
    org.checkerframework.framework.type
    org.checkerframework.framework.type.treeannotator
    org.checkerframework.framework.type.typeannotator
    org.checkerframework.framework.type.visitor
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for CompactHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    public class CompactHashSetTest extends TestCase {
      public static Test suite() {
        List<Feature<?>> allFeatures =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests multiset-specific read operations. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.SetTestSuiteBuilder}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * GcFinalization.awaitDone(new FinalizationPredicate() {
     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }</pre>
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
     * leaks, by ensuring that objects are no longer strongly referenced:
     *
     * <pre>{@code
     * // Helper function keeps victim stack-unreachable.
     * private WeakReference<Foo> fooWeakRef() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/testing.md

    {!../../docs_src/app_testing/test_main.py!}
    ```
    
    ...and have the code for the tests just like before.
    
    ## Testing: extended example
    
    Now let's extend this example and add more details to see how to test different parts.
    
    ### Extended **FastAPI** app file
    
    Let's continue with the same file structure as before:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate
      public void testRepeat_null() {
        assertThrows(NullPointerException.class, () -> Strings.repeat(null, 5));
      }
    
      @SuppressWarnings("UnnecessaryStringBuilder") // We want to test a non-String CharSequence
      public void testCommonPrefix() {
        assertEquals("", Strings.commonPrefix("", ""));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    /**
     * Tests representing the contract of {@link Map}. Concrete subclasses of this base class test
     * conformance of concrete {@link Map} subclasses to that contract.
     *
     * @param <K> the type of keys used by the maps under test
     * @param <V> the type of mapped values used the maps under test
     * @author George van den Driessche
     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testMap() throws IOException {
        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
        MappedByteBuffer actual = Files.map(file);
    
        // Verify
        ByteBuffer expected = ByteBuffer.wrap(bytes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top