Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 100 for testObj (0.13 sec)

  1. tests/test_additional_responses_router.py

    app.include_router(router)
    
    
    client = TestClient(app)
    
    
    def test_a():
        response = client.get("/a")
        assert response.status_code == 200, response.text
        assert response.json() == "a"
    
    
    def test_b():
        response = client.get("/b")
        assert response.status_code == 200, response.text
        assert response.json() == "b"
    
    
    def test_c():
        response = client.get("/c")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/CompositeProjectSubstitutionCrossVersionSpec.groovy

            buildA = singleProjectBuildInRootFolder("buildA") {
                buildFile << """
                    apply plugin: 'java-library'
                    dependencies {
                        testImplementation "org.test:b1:1.0"
                    }
                """
                settingsFile << """
                    includeBuild 'buildB'
                    includeBuild 'buildC'
                """
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_prune.txt

    replace example.com/q v1.0.0 => ../q1_0_0
    replace example.com/q v1.1.0 => ../q1_1_0
    -- b/b.go --
    package b
    
    func B() {
    }
    -- b/b_test.go --
    package b
    
    import "example.com/q"
    
    func TestB() {
    	q.PrintVersion()
    }
    -- p/go.mod --
    module example.com/p
    
    go 1.18
    
    require example.com/q v1.0.0
    
    replace example.com/q v1.0.0 => ../q1_0_0
    replace example.com/q v1.1.0 => ../q1_1_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 14:30:53 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_vendor_prune.txt

    }
    -- b/go.mod --
    module example.com/b
    
    go 1.18
    
    require example.com/q v1.1.0
    -- b/b.go --
    package b
    
    func B() {
    }
    -- b/b_test.go --
    package b
    
    import "example.com/q"
    
    func TestB() {
    	q.PrintVersion()
    }
    -- p/go.mod --
    module example.com/p
    
    go 1.18
    
    require example.com/q v1.0.0
    
    replace example.com/q v1.0.0 => ../q1_0_0
    replace example.com/q v1.1.0 => ../q1_1_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestFailure.java

     * @since 7.6
     */
    @Incubating
    public abstract class TestFailure {
    
        /**
         * Returns the list of causes.
         * <p>
         * The result is typically non-empty for multi-assertion failures, e.g. for {@code org.test4j.MultipleFailuresError}, where the individual failures are in the returned list.
         *
         * @return the cause failures.
         */
        public abstract List<TestFailure> getCauses();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/Basic.h

     */
    
    /** @file
     * Basic interface with output to stdout.
     */
    /** @addtogroup Basic
     * @{
     */
    
    #ifndef CUNIT_BASIC_H_SEEN
    #define CUNIT_BASIC_H_SEEN
    
    #include "CUnit.h"
    #include "TestDB.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    /** Run modes for the basic interface. */
    typedef enum {
      CU_BRM_NORMAL = 0,  /**< Normal mode - failures and run summary are printed [default]. */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

                }
    
                repositories {
                   maven { url "${mavenRepo.uri}" }
                }
    
                dependencies {
                    conf 'org.test:a:1.0'
                    conf 'org.test:b:1.0'
                }
    
                task checkDeps {
                    doLast {
                        def result = configurations.conf.incoming.resolutionResult
                        result.allComponents {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cover_coverpkg_with_init.txt

    }
    -- b/b.go --
    package b
    
    func init() {
    	println("package 'b' init: release the kraken")
    }
    
    func BFunc() int {
    	return -42
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestB(t *testing.T) {
    	if BFunc() != -42 {
    		t.Fatalf("bad!")
    	}
    }
    -- f/f.go --
    package f
    
    func Id() int {
         return 42
    }
    -- main/main.go --
    package main
    
    import (
    	"M/a"
    	"M/b"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/PersistentCompositeDependencySubstitutionCrossVersionSpec.groovy

            buildA = singleProjectBuildInRootFolder("buildA") {
                buildFile << """
                    apply plugin: 'java'
                    dependencies {
                        ${testImplementationConfiguration} "org.test:b1:1.0"
                    }
                """
                settingsFile << """
                    includeBuild 'buildB'
                    includeBuild 'buildC'
                """
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesLocalComponentIntegrationTest.groovy

                    capability group:'org', name:'capability', version:'1.0'
                }
            """
    
            when:
            fails 'compileJava'
    
            then:
            failure.assertHasCause("""Module 'test:b' has been rejected:
       Cannot select module with conflict on capability 'org:capability:1.0' also provided by [:test:unspecified(compileClasspath)]""")
        }
    
        def 'fails to resolve undeclared test fixture'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 03:06:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top