Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for testSave (0.17 sec)

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

       * with a guard that doesn't match the monitor produces an IllegalMonitorStateException.
       */
      private static TestCase generateGuardWithWrongMonitorTestCase(
          final Method method, final boolean fair1, final boolean fair2) {
        final boolean timed = isTimed(method); // Not going to bother with all timeouts, just 0ms.
        return new TestCase(method.getName() + (timed ? "(0ms)" : "()") + "/WrongMonitor->IMSE") {
          @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          return Helpers.getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return Helpers.getMethod(testCase.getClass(), testCase.getName());
        } else {
          throw new IllegalArgumentException("unable to extract method from test: not a TestCase.");
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static junit.framework.TestCase.assertEquals;
    import static junit.framework.TestCase.assertTrue;
    import static junit.framework.TestCase.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.Iterators;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Test for {@link WrappingExecutorService}
     *
     * @author Chris Nokleberg
     */
    public class WrappingExecutorServiceTest extends TestCase {
      private static final String RESULT_VALUE = "ran";
      // Uninteresting delegations
      public void testDelegations() throws InterruptedException {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/HostAndPortTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link HostAndPort}
     *
     * @author Paul Marks
     */
    @GwtCompatible
    public class HostAndPortTest extends TestCase {
    
      public void testFromStringWellFormed() {
        // Well-formed inputs.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 10K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

    import java.math.BigDecimal;
    import java.math.MathContext;
    import java.math.RoundingMode;
    import java.util.EnumMap;
    import java.util.EnumSet;
    import java.util.Map;
    import junit.framework.TestCase;
    
    @GwtIncompatible
    public class BigDecimalMathTest extends TestCase {
      private static final class RoundToDoubleTester {
        private final BigDecimal input;
        private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /**
     * {@link TestCase} for {@link InternetDomainName}.
     *
     * @author Craig Berry
     */
    @GwtCompatible(emulated = true)
    public final class InternetDomainNameTest extends TestCase {
      private static final InternetDomainName UNICODE_EXAMPLE =
          InternetDomainName.from("j\u00f8rpeland.no");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@code EnumBiMap}.
     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@code EnumBiMap}.
     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetOperationsTest.java

    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit tests for {@link Sets#union}, {@link Sets#intersection} and {@link Sets#difference}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class SetOperationsTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top