Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,032 for foo1 (0.02 seconds)

  1. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).containsExactly(Foo.class);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_publicApiOnly() {
        sanityTests.publicApiOnly();
        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).isEmpty();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      public void testSimpleTypeToken() {
        Foo<String, Integer> foo = new Foo<String, Integer>() {};
        assertEquals(String.class, foo.getClassA());
        assertEquals(Integer.class, foo.getClassB());
        assertEquals(String[].class, foo.getArrayClassA());
        assertEquals(Integer[].class, foo.getArrayClassB());
      }
    
      public void testCompositeTypeToken() {
        Foo<String[], List<int[]>> foo = new Foo<String[], List<int[]>>() {};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      public void testSimpleTypeToken() {
        Foo<String, Integer> foo = new Foo<String, Integer>() {};
        assertEquals(String.class, foo.getClassA());
        assertEquals(Integer.class, foo.getClassB());
        assertEquals(String[].class, foo.getArrayClassA());
        assertEquals(Integer[].class, foo.getArrayClassB());
      }
    
      public void testCompositeTypeToken() {
        Foo<String[], List<int[]>> foo = new Foo<String[], List<int[]>>() {};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  4. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(bodyAsString(body)).isEqualTo("foo")
      }
    
      @Test
      fun referer() {
        val request = fromArgs("-e", "foo", "http://example.com").createRequest()
        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.header("Referer")).isEqualTo("foo")
        assertThat(request.body).isNull()
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals((Character) 'c', table.get("foo", 3));
        }
      }
    
      public void testRowClearAndPut() {
        if (supportsRemove()) {
          table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
          Map<Integer, C> row = table.row("foo");
          assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
          table.remove("foo", 3);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. tests/test_dependency_overrides.py

            ),
            (
                "/main-depends/?q=foo",
                200,
                {"in": "main-depends", "params": {"q": "foo", "skip": 5, "limit": 10}},
            ),
            (
                "/main-depends/?q=foo&skip=100&limit=200",
                200,
                {"in": "main-depends", "params": {"q": "foo", "skip": 5, "limit": 10}},
            ),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
      /** Confirm that removeAll() returns a List implementing RandomAccess. */
      public void testRemoveAllRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. tests/test_query.py

        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_int_optional_query_50():
        response = client.get("/query/int/optional?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    def test_query_int_optional_query_foo():
        response = client.get("/query/int/optional?query=foo")
        assert response.status_code == 422
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. docs_src/app_testing/app_b_py310/test_main.py

    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
        assert response.status_code == 400
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                "item": {
                    "name": "Foo",
                    "price": 50.5,
                    "description": "Some Foo",
                    "tax": 0.1,
                },
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 5,
            "item": {
                "name": "Foo",
                "price": 50.5,
                "description": "Some Foo",
                "tax": 0.1,
            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top