Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for testWrite (0.18 sec)

  1. src/archive/tar/writer_test.go

    			testRemaining{0, 0},
    			testWrite{"", 0, nil},
    			testWrite{"a", 0, ErrWriteTooLong},
    			testReadFrom{fileOps{""}, 0, nil},
    			testReadFrom{fileOps{"a"}, 0, ErrWriteTooLong},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{1, "a"},
    		tests: []testFnc{
    			testRemaining{1, 1},
    			testWrite{"", 0, nil},
    			testWrite{"a", 1, nil},
    			testWrite{"bcde", 0, ErrWriteTooLong},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  2. src/encoding/binary/binary_test.go

    func TestLittleEndianWrite(t *testing.T)    { testWrite(t, LittleEndian, little, s) }
    func TestLittleEndianPtrWrite(t *testing.T) { testWrite(t, LittleEndian, little, &s) }
    
    func TestBigEndianRead(t *testing.T)     { testRead(t, BigEndian, big, s) }
    func TestBigEndianWrite(t *testing.T)    { testWrite(t, BigEndian, big, s) }
    func TestBigEndianPtrWrite(t *testing.T) { testWrite(t, BigEndian, big, &s) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/api/plugins/JvmTestSuitePluginIntegrationTest.groovy

    Capabilities
        - :Test:unspecified (default capability)
    Attributes
        - org.gradle.category              = verification
        - org.gradle.testsuite.name        = test
        - org.gradle.testsuite.target.name = test
        - org.gradle.testsuite.type        = unit-test
        - org.gradle.verificationtype      = test-results
    Artifacts
        - $resultsPath (artifactType = directory)""".stripIndent())
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

      public static TestSuite suite() {
        // we create a test suite containing a test for every AbstractFutureTest test method and we
        // set it as the name of the test.  Then in runTest we can reflectively load and invoke the
        // corresponding method on AbstractFutureTest in the correct classloader.
        TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

      public static TestSuite suite() {
        // we create a test suite containing a test for every AbstractFutureTest test method and we
        // set it as the name of the test.  Then in runTest we can reflectively load and invoke the
        // corresponding method on AbstractFutureTest in the correct classloader.
        TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

     * ad hoc test cases can be found in {@link SupplementalMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    public class GeneratedMonitorTest extends TestCase {
    
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    
        Method[] methods = Monitor.class.getMethods();
        sortMethods(methods);
        for (Method method : methods) {
          if (isAnyEnter(method) || isWaitFor(method)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

     * ad hoc test cases can be found in {@link SupplementalMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    public class GeneratedMonitorTest extends TestCase {
    
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    
        Method[] methods = Monitor.class.getMethods();
        sortMethods(methods);
        for (Method method : methods) {
          if (isAnyEnter(method) || isWaitFor(method)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. operator/pkg/util/progress/progress.go

    	return prefix + msg
    }
    
    // For testing only
    var testWriter *io.Writer
    
    func createBar() *pb.ProgressBar {
    	// Don't set a total and use Static so we can explicitly control when you write. This is needed
    	// for handling the multiline issues.
    	bar := pb.New(0)
    	bar.Set(pb.Static, true)
    	if testWriter != nil {
    		bar.SetWriter(*testWriter)
    	}
    	bar.Start()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //         }
      //         System.exit(0);
      //     }
    
      //     public static TestSuite newTestSuite(Object... suiteOrClasses) {
      //         TestSuite suite = new TestSuite();
      //         for (Object suiteOrClass : suiteOrClasses) {
      //             if (suiteOrClass instanceof TestSuite)
      //                 suite.addTest((TestSuite) suiteOrClass);
      //             else if (suiteOrClass instanceof Class)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  10. operator/pkg/util/progress/progress_test.go

    package progress
    
    import (
    	"bytes"
    	"io"
    	"testing"
    
    	"istio.io/istio/operator/pkg/name"
    )
    
    func TestProgressLog(t *testing.T) {
    	buf := bytes.NewBuffer(nil)
    	testBuf := io.Writer(buf)
    	testWriter = &testBuf
    	expected := ""
    	expect := func(e string) {
    		t.Helper()
    		// In buffer mode we don't overwrite old data, so we are constantly appending to the expected
    		newExpected := expected + "\n" + e
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top