Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TestCopy (0.14 sec)

  1. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

                def testImplHolder = configurations.create("uasdf")
                def testCopy = configurations.testImplementation.copy()
                configurations.add(testCopy)
                testImplHolder.extendsFrom(testCopy)
    
                task assertCopyCanBeResolved {
                    def resolved = testImplHolder
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    	// that depends on ptest. And so on, up the dependency tree.
    	testCopy := map[*Package]*Package{preal: ptest}
    	for _, p := range PackageList([]*Package{pmain}) {
    		if p == preal {
    			continue
    		}
    		// Copy on write.
    		didSplit := p == pmain || p == pxtest || p == ptest
    		split := func() {
    			if didSplit {
    				return
    			}
    			didSplit = true
    			if testCopy[p] != nil {
    				panic("recompileForTest loop")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        result = CharStreams.asWriter(secretlyAWriter);
        assertSame(secretlyAWriter, result);
      }
    
      // CharStreams.copy has type specific optimizations for Readers,StringBuilders and Writers
    
      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

        result = CharStreams.asWriter(secretlyAWriter);
        assertSame(secretlyAWriter, result);
      }
    
      // CharStreams.copy has type specific optimizations for Readers,StringBuilders and Writers
    
      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < 100; i++) {
          Object o = new Object();
          bf.put(o);
          assertTrue(bf.mightContain(o));
          assertTrue(bf.apply(o));
        }
      }
    
      public void testCopy() {
        BloomFilter<String> original = BloomFilter.create(Funnels.unencodedCharsFunnel(), 100);
        BloomFilter<String> copy = original.copy();
        assertNotSame(original, copy);
        assertEquals(original, copy);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. src/io/io_test.go

    	WriterTo   // conflicts with and hides bytes.Buffer's WriterTo.
    }
    
    // Simple tests, primarily to verify the ReadFrom and WriteTo callouts inside Copy, CopyBuffer and CopyN.
    
    func TestCopy(t *testing.T) {
    	rb := new(Buffer)
    	wb := new(Buffer)
    	rb.WriteString("hello, world.")
    	Copy(wb, rb)
    	if wb.String() != "hello, world." {
    		t.Errorf("Copy did not work properly")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top