Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,796 for Get (0.03 sec)

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

        assertThat(multimap.keySet()).containsExactly("a", "b", "c").inOrder();
        assertThat(multimap.values()).containsExactly(1, 3, 2, 4).inOrder();
        assertThat(multimap.get("a")).containsExactly(1, 3).inOrder();
        assertThat(multimap.get("b")).containsExactly(2);
        assertThat(multimap.get("c")).containsExactly(4);
      }
    
      public void testEmptyMultimapReads() {
        ImmutableListMultimap<String, Integer> multimap = ImmutableListMultimap.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_bigger_applications/test_main.py

        return client
    
    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    def test_users_with_no_token(client: TestClient):
        response = client.get("/users")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

                result.setAvailable(DfTypeUtil.toBoolean(source.get("available")));
                result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setDescription(DfTypeUtil.toString(source.get("description")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

            assertEquals("******@****.***", list.get(0));
            assertEquals("test", list.get(1));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "******@****.***", false);
            assertEquals(1, list.size());
            assertEquals("******@****.***", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "******@****.***@hoge.com", true);
            assertEquals(2, list.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

            assertEquals(3, settings.badword().get(false).length);
            assertEquals(value1, settings.badword().get(false)[0]);
            assertEquals(value2, settings.badword().get(false)[1]);
            assertEquals(value3, settings.badword().get(false)[2]);
    
            settings.badword().delete(value2);
            assertEquals(2, settings.badword().get(false).length);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

                result.setRoles(toStringArray(source.get("roles")));
                result.setSearchWord(DfTypeUtil.toString(source.get("searchWord")));
                result.setUser(DfTypeUtil.toString(source.get("user")));
                result.setUserAgent(DfTypeUtil.toString(source.get("userAgent")));
                result.setUserInfoId(DfTypeUtil.toString(source.get("userInfoId")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/ParamMapTest.java

            assertNull(paramMap.get("xxx"));
            assertEquals("111", paramMap.get("aaa"));
            assertEquals("222", paramMap.get("aaa_bbb"));
            assertEquals("222", paramMap.get("aaaBbb"));
            assertEquals("222", paramMap.get("AaaBbb"));
            assertNull(paramMap.get("aaabbb"));
            assertEquals("333", paramMap.get("aaa_bbb_ccc"));
            assertEquals("333", paramMap.get("aaaBbbCcc"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. tests/test_security_http_bearer.py

    app = FastAPI()
    
    security = HTTPBearer()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_bearer():
        response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. tests/test_security_http_digest_description.py

    app = FastAPI()
    
    security = HTTPDigest(description="HTTPDigest scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_digest():
        response = client.get("/users/me", headers={"Authorization": "Digest foobar"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /**
         * Get the value for the key 'api.cors.allow.origin'. <br>
         * The value is, e.g. * <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getApiCorsAllowOrigin();
    
        /**
         * Get the value for the key 'api.cors.allow.methods'. <br>
         * The value is, e.g. GET, POST, OPTIONS, DELETE, PUT <br>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
Back to top