Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 381 for testone (0.15 sec)

  1. hack/lib/init.sh

    # ln -s $T/dir $T/linkdir
    # function testone() {
    #   X=$(readlink -f $1 2>&1)
    #   Y=$(kube::readlinkdashf $1 2>&1)
    #   if [ "$X" != "$Y" ]; then
    #     echo readlinkdashf $1: expected "$X", got "$Y"
    #   fi
    # }
    # testone /
    # testone /tmp
    # testone $T
    # testone $T/file
    # testone $T/dir
    # testone $T/linkfile
    # testone $T/linkdir
    # testone $T/nonexistant
    # testone $T/linkdir/file
    # testone $T/linkdir/dir
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/with-verbose-junit/Test.java

        @org.junit.Test
        public void testOne() {
            for (int i = 0; i < 1000; i++) {
                System.out.println("Some test output from ${testClassName}.testOne - " + i);
                System.err.println("Some test error  from ${testClassName}.testOne - " + i);
            }
            assertEquals(production.getProperty(), "value");
        }
    
        @org.junit.Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 991 bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixture/TempDirIsUniquePerTestSpec.groovy

        static tmpDirs = new HashSet()
    
        def setup() {
            //it's very important we try to access the test dir in the setup()
            tmp.testDirectory
        }
    
        def "testOne"() {
            when:
            tests << "testOne"
            tmpDirs << tmp.testDirectory
    
            then:
            tests.size() == tmpDirs.size()
        }
    
        def "testTwo"() {
            when:
            tests << "testTwo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. testing/internal-testing/src/test/groovy/org/gradle/util/TempDirIsUniquePerTestSpec.groovy

        static tmpDirs = new HashSet()
    
        def setup() {
            //it's very important we try to access the test dir in the setup()
            temp.testDirectory
        }
    
        def "testOne"() {
            when:
            tests << "testOne"
            tmpDirs << temp.testDirectory
    
            then:
            tests.size() == tmpDirs.size()
        }
    
        def "testTwo"() {
            when:
            tests << "testTwo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. testing/performance/src/templates/with-verbose-testng/Test.java

     */
    
    package ${packageName};
    
    import org.testng.annotations.*;
    import static org.testng.Assert.*;
    
    public class ${testClassName} {
        private final ${productionClassName} production = new ${productionClassName}("value");
    
        @Test
        public void testOne() {
            for (int i = 0; i < 1000; i++) {
                System.out.println("Some test output from ${testClassName}.testOne - " + i);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/time/time_test.go

    		}
    		return true
    	}
    
    	// manual test cases
    	for _, tt := range truncateRoundTests {
    		testOne(tt.t.Unix(), int64(tt.t.Nanosecond()), int64(tt.d))
    	}
    
    	// exhaustive near 0
    	for i := 0; i < 100; i++ {
    		for j := 1; j < 100; j++ {
    			testOne(unixToZero, int64(i), int64(j))
    			testOne(unixToZero, -int64(i), int64(j))
    			if t.Failed() {
    				return
    			}
    		}
    	}
    
    	if t.Failed() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    	<-done
    }
    
    func TestServerNoDate(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testServerNoHeader(t, mode, "Date")
    	})
    }
    
    func TestServerContentType(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testServerNoHeader(t, mode, "Content-Type")
    	})
    }
    
    func testServerNoHeader(t *testing.T, mode testMode, header string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/testing/testing.go

    				// If this happens during testing of package testing it could be that
    				// package testing's own logic for when to run a test is broken,
    				// in which case every test will run nothing and succeed,
    				// with no obvious way to detect this problem (since no tests are running).
    				// So make 'no tests to run' a hard failure when testing package testing itself.
    				fmt.Print(chatty.prefix(), "FAIL: package testing must run tests\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. pkg/kube/krt/testing.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package krt
    
    // Dump is a *testing* helper to dump the state of a collection, if possible, into logs.
    func Dump[O any](c Collection[O]) {
    	c.(internalCollection[O]).dump()
    }
    
    type TestingDummyContext struct{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. pkg/volume/testing/testing.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	goruntime "runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/utils/exec"
    	testingexec "k8s.io/utils/exec/testing"
    	utilstrings "k8s.io/utils/strings"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top