Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,226 for assertOp (0.11 sec)

  1. guava-tests/test/com/google/common/io/CloserTest.java

      }
    
      public void testNullCloseable() throws IOException {
        Closer closer = Closer.create();
        closer.register(null);
        closer.close();
      }
    
      /**
       * Asserts that an exception was thrown when trying to close each of the given throwables and that
       * each such exception was suppressed because of the given thrown exception.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

    import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Queues;
    import java.util.List;
    import java.util.Queue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.TestUtil.sameClass;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.lang.reflect.WildcardType;
    import java.util.Iterator;
    import java.util.List;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.nio.file.LinkOption.NOFOLLOW_LINKS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ObjectArrays;
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Feature;
    import com.google.common.jimfs.Jimfs;
    import java.io.IOException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

    import static com.google.common.collect.Sets.newHashSet;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static org.junit.Assert.assertThrows;
    
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.BoundType.OPEN;
    import static com.google.common.collect.Maps.immutableEntry;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Map.Entry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FauxveridesTest.java

    import static com.google.common.collect.Sets.newHashSet;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/testing.md

    Erstellen Sie Funktionen mit einem Namen, der mit `test_` beginnt (das sind `pytest`-Konventionen).
    
    Verwenden Sie das `TestClient`-Objekt auf die gleiche Weise wie `httpx`.
    
    Schreiben Sie einfache `assert`-Anweisungen mit den Standard-Python-Ausdrücken, die Sie überprüfen müssen (wiederum, Standard-`pytest`).
    
    ```Python hl_lines="2  12  15-18"
    {!../../docs_src/app_testing/tutorial001.py!}
    ```
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/testing.md

    Создайте функцию, название которой должно начинаться с `test_` (это стандарт из соглашений `pytest`).
    
    Используйте объект `TestClient` так же, как Вы используете `httpx`.
    
    Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`).
    
    ```Python hl_lines="2  12  15-18"
    {!../../docs_src/app_testing/tutorial001.py!}
    ```
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top