Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,047 for AssertJ (0.08 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypesTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.Lists;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.NullPointerTester.Visibility;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypesTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.Lists;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.NullPointerTester.Visibility;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Lists;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.eventbus;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import java.util.List;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
        assertEquals(expected.entrySet(), map.entrySet());
    
        // Assert that expectedValues > mapValues and that
        // mapValues > expectedValues; i.e. that expectedValues == mapValues.
        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/testing.md

    `TestClient` をインポートします。
    
    `TestClient` を作成し、**FastAPI** に渡します。
    
    `test_` から始まる名前の関数を作成します (これは `pytest` の標準的なコンベンションです)。
    
    `httpx` と同じ様に `TestClient` オブジェクトを使用します。
    
    チェックしたい Python の標準的な式と共に、シンプルに `assert` 文を記述します。
    
    ```Python hl_lines="2  12  15-18"
    {!../../docs_src/app_testing/tutorial001.py!}
    ```
    
    /// tip | "豆知識"
    
    テスト関数は `async def` ではなく、通常の `def` であることに注意してください。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                                HttpServletResponse.SC_UNAUTHORIZED);
                    });
                }
    
                // assert
                if (null == principal) {
                    final String msg = "Principal was null.";
                    if (logger.isDebugEnabled()) {
                        logger.debug(msg);
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
        assertEquals(expected.entrySet(), map.entrySet());
    
        // Assert that expectedValues > mapValues and that
        // mapValues > expectedValues; i.e. that expectedValues == mapValues.
        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.NotTesterAnnotation;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

    import static com.google.common.collect.MapMakerInternalMap.Strength.WEAK;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.ArgumentMatchers.isA;
    import static org.mockito.Mockito.eq;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top