Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 89 of 89 for test_get (0.1 sec)

  1. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfList(t3)), is(true));
        }
    
        /**
         * @throws Exception
         */
        public void testSet() throws Exception {
            final Method m1 = SetType.class.getMethod("setOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

        response = client.put("/items/foo", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    @needs_py39
    def test_put(client: TestClient):
        response = client.put(
            "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_bigger_applications/test_main_an.py

        response = client.put("/items/foo", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {});
      }
    
      public void testLinkedList() {
        assertFreshInstance(new TypeToken<LinkedList<String>>() {});
      }
    
      public void testSet() {
        assertFreshInstance(new TypeToken<Set<String>>() {});
        assertNotInstantiable(new TypeToken<Set<EmptyEnum>>() {});
      }
    
      public void testHashSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {});
      }
    
      public void testLinkedList() {
        assertFreshInstance(new TypeToken<LinkedList<String>>() {});
      }
    
      public void testSet() {
        assertFreshInstance(new TypeToken<Set<String>>() {});
        assertNotInstantiable(new TypeToken<Set<EmptyEnum>>() {});
      }
    
      public void testHashSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertTrue(makeEmptyMap().equals(map));
        assertEquals(emptyMap(), map);
        assertFalse(map.equals(emptySet()));
        // noinspection ObjectEqualsNull
        assertFalse(map.equals(null));
      }
    
      public void testGet() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        for (Entry<K, V> entry : map.entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertEquals("2,1,3,4", fluent(2, 1, 3, 4).join(Joiner.on(",")));
      }
    
      public void testJoin_empty() {
        assertEquals("", fluent().join(Joiner.on(",")));
      }
    
      public void testGet() {
        assertEquals("a", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(0));
        assertEquals("b", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertTrue(makeEmptyMap().equals(map));
        assertEquals(emptyMap(), map);
        assertFalse(map.equals(emptySet()));
        // noinspection ObjectEqualsNull
        assertFalse(map.equals(null));
      }
    
      public void testGet() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        for (Entry<K, V> entry : map.entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. cmd/testdata/decryptObjectInfo.json.zst

    ":"IAAfALXQ7neb6tB6cUCF+4KWy+9fUZvEWix5dwG72xq/MaLqipdU1TkEKPj6gM1I==","X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm":"DAREv2-HMAC-SHA256","content-type":"text/plain"}},{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/norunexample/test_test.go","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"L5vvKTfMywAcpu6YhWo5=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"IAAfAIc4dh6XQAe19TCE+QWstk+CR...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 29 16:34:20 UTC 2020
    - 164K bytes
    - Viewed (0)
Back to top