Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 495 for TestCase (0.19 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

    import java.util.SortedMap;
    import java.util.TreeMap;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableSortedMap}.
     *
     * @author Kevin Bourrillion
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

    import java.util.stream.IntStream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class ImmutableIntArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Base class for {@link ImmutableSet} and {@link ImmutableSortedSet} tests.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class AbstractImmutableSetTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

    import java.nio.charset.UnsupportedCharsetException;
    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link MediaType}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullUnmarked
    public class MediaTypeTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testParse_useConstants() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/mips.s

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input was created by taking the mips64 testcase and modified
    // by hand.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    
    	//inst:
    	//
    	// load ints and bytes
    	//
    	//	LMOVW rreg ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableSetMultimap}.
     *
     * @author Mike Ward
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableSetMultimapTest extends TestCase {
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

    import java.util.logging.LogRecord;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ServiceManager}.
     *
     * @author Luke Sandberg
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class ServiceManagerTest extends TestCase {
    
      private static class NoOpService extends AbstractService {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link ImmutableList}.
     *
     * @author Kevin Bourrillion
     * @author George van den Driessche
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableListTest extends TestCase {
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. src/archive/tar/reader_test.go

    			}
    			f.Close()
    		})
    	}
    }
    
    func TestPartialRead(t *testing.T) {
    	type testCase struct {
    		cnt    int    // Number of bytes to read
    		output string // Expected value of string read
    	}
    	vectors := []struct {
    		file  string
    		cases []testCase
    	}{{
    		file: "testdata/gnu.tar",
    		cases: []testCase{
    			{4, "Kilt"},
    			{6, "Google"},
    		},
    	}, {
    		file: "testdata/sparse-formats.tar",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for CacheBuilder. */
    @GwtCompatible
    // We are intentionally testing the TimeUnit overloads, too.
    @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds")
    @NullUnmarked
    public class CacheBuilderTest extends TestCase {
    
      public void testNewBuilder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
Back to top