Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for assert (0.19 sec)

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

    import static java.util.Arrays.asList;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.timeout;
    import static org.mockito.Mockito.verify;
    
    import com.google.common.collect.ImmutableList;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Thread.currentThread;
    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingCacheLoaders.CountingLoader;
    import com.google.common.cache.TestingCacheLoaders.IdentityLoader;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.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.setPath("\\\\" + this.netbiosName + "\\IPC$");
                        }
                    }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return pluginArtifact;
        }
    
        /**
         * Gets the project building request from which this project instance was created. <strong>Warning:</strong> This is
         * a utility method that is meant to assist integrators of Maven, it must not be used by Maven plugins.
         *
         * @return The project building request or {@code null}.
         * @since 2.1
         */
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Thread.currentThread;
    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingCacheLoaders.CountingLoader;
    import com.google.common.cache.TestingCacheLoaders.IdentityLoader;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import static java.util.Arrays.asList;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.timeout;
    import static org.mockito.Mockito.verify;
    
    import com.google.common.collect.ImmutableList;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterators.java

        checkNotNull(predicate);
        while (iterator.hasNext()) {
          T t = iterator.next();
          if (predicate.apply(t)) {
            return Optional.of(t);
          }
        }
        return Optional.absent();
      }
    
      /**
       * Returns the index in {@code iterator} of the first element that satisfies the provided {@code
       * predicate}, or {@code -1} if the Iterator has no such elements.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                String string,
                InputLocationTracker tracker) {
            return validateStringNotEmpty(EMPTY, fieldName, problems, severity, version, string, null, tracker);
        }
    
        /**
         * Asserts:
         * <p/>
         * <ul>
         * <li><code>string != null</code>
         * <li><code>string.length > 0</code>
         * </ul>
         */
        @SuppressWarnings("checkstyle:parameternumber")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top