Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 338 for testOf (0.04 seconds)

  1. android/guava-tests/test/com/google/common/base/OptionalTest.java

        return FluentIterable.from(ImmutableList.<Number>of());
      }
    
      /*
       * The following tests demonstrate the shortcomings of or() and test that the casting workaround
       * mentioned in the method Javadoc does in fact compile.
       */
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError1() {
        Optional<Integer> optionalInt = getSomeOptionalInt();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of("a", 1));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableBiMap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of("a", 1));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
        tester.ignore(ImmutableSetMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of("a", 1));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        tester.testAllPublicInstanceMethods(ImmutableSortedMap.of());
        tester.testAllPublicInstanceMethods(ImmutableSortedMap.of("one", 1));
        tester.testAllPublicInstanceMethods(ImmutableSortedMap.of("one", 1, "two", 2, "three", 3));
      }
    
      public void testNullValuesInCopyOfMap() {
        for (int i = 1; i <= 10; i++) {
          for (int j = 0; j < i; j++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      @SuppressWarnings({
        "deprecation", // test of deprecated method
        // We need to test that from(FluentIterable) really is just a null check.
        "InlineMeInliner",
      })
      public void testFrom_alreadyFluentIterable() {
        FluentIterable<Integer> iterable = FluentIterable.from(asList(1));
        assertThat(FluentIterable.from(iterable)).isSameInstanceAs(iterable);
      }
    
      public void testOf() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  8. tests/test_additional_responses_router.py

    app.include_router(router)
    
    
    client = TestClient(app)
    
    
    def test_a():
        response = client.get("/a")
        assert response.status_code == 200, response.text
        assert response.json() == "a"
    
    
    def test_b():
        response = client.get("/b")
        assert response.status_code == 200, response.text
        assert response.json() == "b"
    
    
    def test_c():
        response = client.get("/c")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(result.getWarnings().get(1).contains("test:g"));
        }
    
        @Test
        void testBadDependencyManagementScope() throws Exception {
            SimpleProblemCollector result = validate("bad-dependency-management-scope.xml");
    
            assertViolations(result, 0, 0, 1);
    
            assertContains(result.getWarnings().get(0), "test:g");
        }
    
        @Test
        void testBadDependencyVersion() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/async-tests.md

    # Testes Assíncronos { #async-tests }
    
    Você já viu como testar as suas aplicações **FastAPI** utilizando o `TestClient` que é fornecido. Até agora, você viu apenas como escrever testes síncronos, sem utilizar funções `async`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
Back to Top