Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for boy (0.04 sec)

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

        assertThat(m.keySet()).containsExactly("boy", "girl", "cat", "dog").inOrder();
        assertThat(m)
            .isEqualTo(ImmutableMap.of("boy", "tom", "girl", "tina", "cat", "kitty", "dog", "tommy"));
    
        // try in a different order
        m = COMMA_SPLITTER.withKeyValueSeparator(":").split("girl:tina,boy:tom,dog:tommy,cat:kitty");
    
        assertThat(m.keySet()).containsExactly("girl", "boy", "dog", "cat").inOrder();
        assertThat(m)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_tutorial001.py

            )
    
            # Read all heroes
            # Create more heroes first
            response = client.post(
                "/heroes/",
                json={"name": "Spider-Boy", "age": 18, "secret_name": "Pedro Parqueador"},
            )
            assert response.status_code == 200, response.text
            response = client.post(
                "/heroes/", json={"name": "Rusty-Man", "secret_name": "Tommy Sharp"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial002.py

                    {"name": "Spider-Boy", "age": 18, "id": IsInt()},
                    {"name": "Rusty-Man", "age": None, "id": IsInt()},
                ]
            )
    
            response = client.get("/heroes/?offset=1&limit=1")
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
                [{"name": "Spider-Boy", "age": 18, "id": IsInt()}]
            )
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top