Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 1,056 for AssertJ (0.12 sec)

  1. android/guava/src/com/google/common/base/Converter.java

          return a == null ? null : checkNotNull(doForward(a));
        } else {
          return unsafeDoForward(a);
        }
      }
    
      @CheckForNull
      A correctedDoBackward(@CheckForNull B b) {
        if (handleNullAutomatically) {
          // TODO(kevinb): we shouldn't be checking for a null result at runtime. Assert?
          return b == null ? null : checkNotNull(doBackward(b));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST_2;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    import static junit.framework.Assert.assertEquals;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ContiguousSet;
    import com.google.common.collect.DiscreteDomain;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. android/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)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.Lists;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.DAYS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.cache.CacheBuilderFactory.DurationSpec;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. android/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)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                     * be the netbios name. So if we have the netbios server name
                     * from the NTLMSSP type 2 message, and the share is IPC$, we
                     * assert that the tree connect path uses the netbios hostname.
                     */
                    tcax.path = "\\\\" + netbiosName + "\\IPC$";
                }
            }
    
            request.uid = uid;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.NavigableSetTestSuiteBuilder;
    import com.google.common.collect.testing.SampleElements;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. 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)
  10. fastapi/params.py

            deprecated: Union[deprecated, str, bool, None] = None,
            include_in_schema: bool = True,
            json_schema_extra: Union[Dict[str, Any], None] = None,
            **extra: Any,
        ):
            assert default is ..., "Path parameters cannot have a default value"
            self.in_ = self.in_
            super().__init__(
                default=default,
                default_factory=default_factory,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top