Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 556 for testFn (0.17 sec)

  1. cmd/kubeadm/app/util/pkiutil/testing/testing.go

    // while executing tests in m.
    func RunWithPrivateKeyFixtureDirectory(m *testing.M) {
    	defer install()()
    	os.Exit(m.Run())
    }
    
    // Reset indicates a new test is starting and previously returned private key fixtures may be reused.
    func Reset() {
    	lock.Lock()
    	defer lock.Unlock()
    	ecdsa = 0
    	rsa = 0
    }
    
    var (
    	testFunction = regexp.MustCompile(`.*\.Test[^./]+(.func\d*)?$`)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/testing/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 testing
    
    import (
    	"context"
    	"testing"
    
    	"k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes/fake"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/testing.md

    !!! tip "豆知識"
        FastAPIアプリケーションへのリクエストの送信とは別に、テストで `async` 関数 (非同期データベース関数など) を呼び出したい場合は、高度なチュートリアルの[Async Tests](../advanced/async-tests.md){.internal-link target=_blank} を参照してください。
    
    ## テストの分離
    
    実際のアプリケーションでは、おそらくテストを別のファイルに保存します。
    
    また、**FastAPI** アプリケーションは、複数のファイル/モジュールなどで構成されている場合もあります。
    
    ### **FastAPI** アプリファイル
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 16:16:02 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. docs/de/docs/how-to/extending-openapi.md

    ```
    
    ### Die Methode überschreiben
    
    Jetzt können Sie die Methode `.openapi()` durch Ihre neue Funktion ersetzen.
    
    ```Python hl_lines="29"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Testen
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 14 16:44:05 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/strconv/testdata/testfp.txt

    #	Powers of 2.
    #	%.20g versions.
    #	random sources
    #	random targets
    #	random targets ± half a ULP
    
    # Difficult boundary cases, derived from tables given in
    #	Vern Paxson, A Program for Testing IEEE Decimal-Binary Conversion
    #	ftp://ftp.ee.lbl.gov/testbase-report.ps.Z
    
    # Table 1: Stress Inputs for Conversion to 53-bit Binary, < 1/2 ULP
    float64 %b 5e+125 6653062250012735p+365
    float64 %b 69e+267 4705683757438170p+841
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 7.9K bytes
    - Viewed (0)
  6. src/testing/fstest/testfs.go

    // The contents of fsys must not change concurrently with TestFS.
    //
    // If TestFS finds any misbehaviors, it returns either the first error or a
    // list of errors. Use [errors.Is] or [errors.As] to inspect.
    //
    // Typical usage inside a test is:
    //
    //	if err := fstest.TestFS(myFS, "file/that/should/be/present"); err != nil {
    //		t.Fatal(err)
    //	}
    func TestFS(fsys fs.FS, expected ...string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/AbstractIvyDescriptorExcludeResolveIntegrationTest.groovy

        def setup() {
            buildFile << """
    repositories {
        ivy {
            url '${ivyRepo.uri}'
        }
    }
    
    configurations {
        compile
    }
    
    dependencies {
        compile 'org.gradle.test:a:1.0'
    }
    
    task check(type: Sync) {
        from configurations.compile
        into 'libs'
    }
    """
        }
    
        protected void succeedsDependencyResolution() {
            succeeds 'check'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/events_test.go

    limitations under the License.
    */
    
    package validation
    
    import (
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	eventsv1 "k8s.io/api/events/v1"
    	eventsv1beta1 "k8s.io/api/events/v1beta1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/kubernetes/pkg/apis/core"
    )
    
    func TestValidateEventForCoreV1Events(t *testing.T) {
    	table := []struct {
    		*core.Event
    		valid bool
    	}{
    		{
    			&core.Event{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/resources/test/dir1/test3.txt

    test3...
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 6 bytes
    - Viewed (0)
  10. docs/de/docs/contributing.md

    ## Tests
    
    Es gibt ein Skript, das Sie lokal ausführen können, um den gesamten Code zu testen und Code Coverage Reporte in HTML zu generieren:
    
    <div class="termy">
    
    ```console
    $ bash scripts/test-cov-html.sh
    ```
    
    </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 23:55:23 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top