Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for testFn (0.31 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedArtifactOrderingIntegrationTest.groovy

            when:
            def modD = mavenRepo.module("org.test", "D").publish()
            def modC = mavenRepo.module("org.test", "C").dependsOn(modD).publish()
            def modB = mavenRepo.module("org.test", "B").dependsOn(modD).publish()
            def modA = mavenRepo.module("org.test", "A").dependsOn(modB).dependsOn(modC).publish()
    
            then:
            checkOrdered([modA, modB, modC, modD])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestDB.h

    /*-----------------------------------------------------------------
     * CU_Test, CU_pTest
     *-----------------------------------------------------------------*/
    /** CUnit test case data type.
     *  CU_Test is a double linked list of unit tests.  Each test has
     *  a name, a callable test function, and a flag for whether the 
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesIntegrationTest.groovy

                            assert it.requested.toString() == 'org.gradle.test:a:1.2'
                            assert it.target.toString() == 'org.gradle.test:a:1.2'
                            it.useVersion('1.3')
                            assert it.target.toString() == 'org.gradle.test:a:1.3'
                        }
                    }
                }
    """
            resolve.prepare("conf")
    
            expect:
            succeeds(":b:checkDeps")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/testing/testing.go

    	return obj
    }
    
    // SyncAll simulates the controller periodic sync of volumes and claim. It
    // simply adds all these objects to the internal queue of updates. This method
    // should be used when the test manually calls syncClaim/syncVolume. Test that
    // use real controller loop (ctrl.Run()) will get periodic sync automatically.
    func (r *VolumeReactor) SyncAll() {
    	r.lock.Lock()
    	defer r.lock.Unlock()
    
    	for _, c := range r.claims {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/settings.md

    * Durch die Verwendung einer Abhängigkeit können Sie das Testen vereinfachen.
    * Sie können `.env`-Dateien damit verwenden.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:14 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestRun.h

     *
     *  24-May-2006   Added callbacks for suite start and complete events.
     *                Added tracking/reported of elapsed time.  (JDS)
     */
    
    /** @file
     *  Test run management functions (user interface).
     *  The TestRun module implements functions supporting the running
     *  of tests elements (suites and tests).  This includes functions for
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 22K bytes
    - Viewed (0)
  7. src/go/doc/testdata/testing.go

    	// full test of the package.
    	short = flag.Bool("test.short", false, "run smaller test suite to save time")
    
    	// Report as tests are run; default is silent for success.
    	chatty         = flag.Bool("test.v", false, "verbose: print additional output")
    	match          = flag.String("test.run", "", "regular expression to select tests to run")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  8. src/internal/testenv/testenv.go

    			return
    		}
    
    		// runtime.GOROOT doesn't know where GOROOT is (perhaps because the test
    		// binary was built with -trimpath).
    		//
    		// Since this is internal/testenv, we can cheat and assume that the caller
    		// is a test of some package in a subdirectory of GOROOT/src. ('go test'
    		// runs the test in the directory containing the packaged under test.) That
    		// means that if we start walking up the tree, we should eventually find
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/testing.md

        Например, так: `pip install httpx`.
    
    Импортируйте `TestClient`.
    
    Создайте объект `TestClient`, передав ему в качестве параметра Ваше приложение **FastAPI**.
    
    Создайте функцию, название которой должно начинаться с `test_` (это стандарт из соглашений `pytest`).
    
    Используйте объект `TestClient` так же, как Вы используете `httpx`.
    
    Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. 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)
Back to top