Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for testone (0.19 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. docs/en/docs/tutorial/testing.md

    # Testing
    
    Thanks to <a href="https://www.starlette.io/testclient/" class="external-link" target="_blank">Starlette</a>, testing **FastAPI** applications is easy and enjoyable.
    
    It is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, which in turn is designed based on Requests, so it's very familiar and intuitive.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/testing.md

    Nils Lindemann <******@****.***> 1713469999 +0200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/internal/testenv/testenv.go

    // license that can be found in the LICENSE file.
    
    // Package testenv provides information about what functionality
    // is available in different testing environments run by the Go team.
    //
    // It is an internal package because these details are specific
    // to the Go team's test setup (on build.golang.org) and not
    // fundamental to tests in general.
    package testenv
    
    import (
    	"bytes"
    	"errors"
    	"flag"
    	"fmt"
    	"internal/cfg"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/testing.md

    Nils Lindemann <******@****.***> 1713469999 +0200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top