Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 122 for testhost (0.27 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new long[] {}, new long[] {});
        testSort(new long[] {2}, new long[] {2});
        testSort(new long[] {2, 1, 0}, new long[] {0, 1, 2});
        testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(long[] input, long[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          }
        }
      }
    
      public void testSort() {
        testSort(new byte[] {}, new byte[] {});
        testSort(new byte[] {2}, new byte[] {2});
        testSort(new byte[] {2, 1, 0}, new byte[] {0, 1, 2});
        testSort(new byte[] {2, GREATEST, 1, LEAST}, new byte[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(byte[] input, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    		}
    		t.Fatalf("%v", errList)
    	}
    	estCost, err := env.EstimateCost(compiled, est)
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    	if estCost.Min != expectEsimatedCost.Min || estCost.Max != expectEsimatedCost.Max {
    		t.Errorf("Expected estimated cost of %d..%d but got %d..%d", expectEsimatedCost.Min, expectEsimatedCost.Max, estCost.Min, estCost.Max)
    	}
    	prog, err := env.Program(compiled, cel.CostTracking(est))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/inst_test.go

    package test
    
    import (
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"regexp"
    	"testing"
    )
    
    // TestInst tests that only one instantiation of Sort is created, even though generic
    // Sort is used for multiple pointer types across two packages.
    func TestInst(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveGoRun(t)
    
    	// Build ptrsort.go, which uses package mysort.
    	var output []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api_test.go

    				}
    				typ := inst.Inst.Type
    
    				testInst := test.instances[ii]
    				if got := inst.Name.Value; got != testInst.name {
    					t.Fatalf("got name %s, want %s", got, testInst.name)
    				}
    
    				if len(targs) != len(testInst.targs) {
    					t.Fatalf("got %d type arguments; want %d", len(targs), len(testInst.targs))
    				}
    				for i, targ := range targs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    /**
     * Returns a fixed set of test classes from testlist.txt, skipping any not found in the
     * current classpath.  The IDE runs with less classes to avoid conflicting module ownership.
     */
    fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
      val sampleTestClass = SampleTest::class.java
    
      val lines =
        inputFile?.readLines() ?: sampleTestClass.getResource("/testlist.txt").readText().lines()
    
      val flatClassnameList =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. pkg/registry/storage/volumeattributesclass/storage/storage_test.go

    	test.TestGet(validNewVolumeAttributesClass("foo"))
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store).ClusterScope()
    	test.TestList(validNewVolumeAttributesClass("foo"))
    }
    
    func TestWatch(t *testing.T) {
    	storage, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/api/src/test/java/org/gradle/shared/PersonTest.java

    package org.gradle.shared;
    
    import junit.framework.TestCase;
    
    import java.io.IOException;
    import java.util.Properties;
    
    public class PersonTest extends TestCase {
        public void testTest() {
            assertTrue(true);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 226 bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/api/src/test/java/org/gradle/shared/PersonTest.java

    package org.gradle.shared;
    
    import junit.framework.TestCase;
    
    import java.io.IOException;
    import java.util.Properties;
    
    public class PersonTest extends TestCase {
        public void testTest() {
            assertTrue(true);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 226 bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    				typ := inst.Inst.Type
    
    				testInst := test.instances[ii]
    				if got := inst.Ident.Name; got != testInst.name {
    					t.Fatalf("got name %s, want %s", got, testInst.name)
    				}
    				if len(targs) != len(testInst.targs) {
    					t.Fatalf("got %d type arguments; want %d", len(targs), len(testInst.targs))
    				}
    				for i, targ := range targs {
    					if got := targ.String(); got != testInst.targs[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top