Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 1,226 for assertOp (0.06 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import com.google.common.base.Suppliers;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. licenses/sigs.k8s.io/yaml/LICENSE

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
       END OF TERMS AND CONDITIONS
    
       APPENDIX: How to apply the Apache License to your work.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 19:53:28 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Verify.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static convenience methods that serve the same purpose as Java language <a
     * href="https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html">assertions</a>,
     * except that they are always enabled. These methods should be used instead of Java assertions
     * whenever there is a chance the check may fail "in real life". Example:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import com.google.common.collect.Multiset.Entry;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.collect.Lists.newArrayList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    package com.google.common.testing;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Splitter;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/BaseEncodingTest.java

            try {
              ByteStreams.exhaust(decodingStream);
              fail("Expected DecodingException");
            } catch (DecodingException expected) {
              // Don't assert on the expectedMessage; the messages for exceptions thrown from the
              // decoding stream may differ from the messages for the decode methods.
            } catch (IOException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static java.nio.charset.StandardCharsets.UTF_16LE;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.hash.Hashing;
    import com.google.common.primitives.Bytes;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. fastapi/_compat.py

        def serialize_sequence_value(*, field: ModelField, value: Any) -> Sequence[Any]:
            origin_type = (
                get_origin(field.field_info.annotation) or field.field_info.annotation
            )
            assert issubclass(origin_type, sequence_types)  # type: ignore[arg-type]
            return sequence_annotation_to_type[origin_type](value)  # type: ignore[no-any-return]
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.BoundType.OPEN;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    import com.google.common.collect.testing.SampleElements;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top