Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 656 for testCases (0.1 sec)

  1. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /** @author David Beaumont */
    @GwtCompatible
    public class ArrayBasedEscaperMapTest extends TestCase {
      public void testNullMap() {
        assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null));
      }
    
      public void testEmptyMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Base class for {@link RangeSet} tests.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // TreeRangeSet
    public abstract class AbstractRangeSetTest extends TestCase {
      public static void testInvariants(RangeSet<?> rangeSet) {
        testInvariantsInternal(rangeSet);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/CharsetsTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Charsets}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    public class CharsetsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUsAscii() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/ReflectionTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /** Tests for {@link Reflection} */
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. istioctl/pkg/util/testutil/util.go

    	"istio.io/istio/pilot/test/util"
    )
    
    type TestCase struct {
    	Args []string
    
    	// Typically use one of the three
    	ExpectedOutput string         // Expected constant output
    	ExpectedRegexp *regexp.Regexp // Expected regexp output
    	GoldenFilename string         // Expected output stored in golden file
    
    	WantException bool
    }
    
    func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) {
    	t.Helper()
    
    	cmd.SetArgs(c.Args)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test of {@link MutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     */
    public class MutableTypeToInstanceMapTest extends TestCase {
    
      @AndroidIncompatible // problem with suite builders on Android
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link SimpleTimeLimiter}.
     *
     * @author kevinb
     * @author Jens Nyman
     */
    public class SimpleTimeLimiterTest extends TestCase {
    
      private static final long DELAY_MS = 50;
      private static final long ENOUGH_MS = 10000;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

     */
    package org.codelibs.core.convert;
    
    import java.math.BigDecimal;
    import java.math.BigInteger;
    
    import junit.framework.TestCase;
    
    /**
     * @author koichik
     *
     */
    public class BigDecimalConversionUtilTest extends TestCase {
        private static final BigDecimal ZERO = new BigDecimal("0");
    
        /**
         * @throws Exception
         */
        public void testToBigDecimal() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

    import java.util.List;
    import java.util.SortedSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code ForwardingSortedSet}.
     *
     * @author Louis Wasserman
     */
    public class ForwardingSortedSetTest extends TestCase {
      static class StandardImplForwardingSortedSet<T> extends ForwardingSortedSet<T> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

    import java.io.ByteArrayOutputStream;
    import java.nio.ByteBuffer;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /** Tests for AbstractNonStreamingHashFunction. */
    public class AbstractNonStreamingHashFunctionTest extends TestCase {
      /**
       * Constructs two trivial HashFunctions (output := input), one streaming and one non-streaming,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
Back to top