Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,255 for assertIn (0.08 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

     * the License.
     */
    
    package com.google.common.util.concurrent.testing;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.util.concurrent.ListenableFuture;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import java.io.IOException;
    import java.nio.CharBuffer;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link CharSequenceReader}.
     *
     * @author Colin Decker
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.Lists;
    import java.util.List;
    import java.util.concurrent.Executor;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    import static java.util.Collections.sort;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.AbstractMapTester;
    import com.google.common.collect.testing.Helpers;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

    import static java.math.RoundingMode.HALF_UP;
    import static java.math.RoundingMode.UNNECESSARY;
    import static java.math.RoundingMode.UP;
    import static java.math.RoundingMode.values;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.math.BigDecimal;
    import java.math.MathContext;
    import java.math.RoundingMode;
    import java.util.EnumMap;
    import java.util.EnumSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static java.nio.charset.StandardCharsets.UTF_16LE;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Lists;
    import com.google.common.hash.HashTestUtils.RandomHasherAction;
    import java.io.ByteArrayOutputStream;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

    import static org.codelibs.core.convert.DateConversionUtil.toSqlDateJdbcEscape;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.Writer;
    import java.net.URL;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/IntMathTest.java

        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
      private static void assertMean(int expectedMean, int x, int y) {
        assertEquals(
            "The expectedMean should be the same as computeMeanSafely",
            expectedMean,
            computeMeanSafely(x, y));
        assertMean(x, y);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.GcFinalization.FinalizationPredicate;
    import com.google.common.util.concurrent.SettableFuture;
    import java.lang.ref.WeakReference;
    import java.util.WeakHashMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top