Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for test_sum (0.94 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestIntegrationTest.groovy

            def testResults = new GoogleTestTestResults(file("build/test-results/helloTest/test_detail.xml"))
            testResults.suiteNames == ['HelloTest']
            testResults.suites['HelloTest'].passingTests == ['test_sum']
            testResults.suites['HelloTest'].failingTests == []
            testResults.checkTestCases(1, 1, 0)
        }
    
        @ToBeFixedForConfigurationCache
        def "assemble does not build or run tests"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

            def testResults = new CUnitTestResults(file("build/test-results/helloTest/CUnitAutomated-Results.xml"))
            testResults.suiteNames == ['hello test']
            testResults.suites['hello test'].passingTests == ['test_sum']
            testResults.suites['hello test'].failingTests == []
            testResults.checkTestCases(1, 1, 0)
            testResults.checkAssertions(3, 3, 0)
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  3. src/cmd/go/script_test.go

    		}
    	}
    	if gomodIdx < 0 {
    		return false
    	}
    
    	var cmd string
    	switch *testSum {
    	case "tidy":
    		cmd = "go mod tidy"
    	case "listm":
    		cmd = "go list -m -mod=mod all"
    	case "listall":
    		cmd = "go list -mod=mod all"
    	default:
    		t.Fatalf(`unknown value for -testsum %q; may be "tidy", "listm", or "listall"`, *testSum)
    	}
    
    	log := new(strings.Builder)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

        }
    }
    
    enum TestEnum {
        ABC, DEF
    }
    
    class EnumCoerceTestSubject {
        TestEnum enumProperty
    
        String stringValue
    
        void someEnumMethod(TestEnum testEnum) {
            this.enumProperty = testEnum
        }
    
        void enumMethodWithStringOverload(TestEnum testEnum) {
            enumProperty = testEnum
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy

            'Long'           | []                                   | 'null'              | 'not provided'
            'TestEnum'       | ['--myProp=OPT_2']                   | 'OPT_2'             | 'provided with upper case'
            'TestEnum'       | ['--myProp=opt_2']                   | 'OPT_2'             | 'provided with lower case'
            'TestEnum'       | []                                   | 'null'              | 'not provided'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

        }
    
        def adaptsEnum() {
            TestProtocolModel protocolModel = Mock()
            _ * protocolModel.getTestEnum() >> TestEnum.FIRST
    
            expect:
            TestModel model = adapter.adapt(TestModel.class, protocolModel)
            model.testEnum == TestEnum.FIRST
        }
    
        def adaptsStringToEnum() {
            TestProtocolModel protocolModel = Mock()
            _ * protocolModel.getTestEnum() >> "SECOND"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            @Option(description = "Descr enumListValue")
            final ListProperty<TestEnum> enumListValue
    
            @Option(description = "Descr enumSetValue")
            final SetProperty<TestEnum> enumSetValue
    
            @Option(description = "Descr enumValue")
            final Property<TestEnum> enumValue
    
            @Option(description = "Descr integerValue")
            final Property<Integer> integerValue
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser_test.go

    }
    
    // validates the credential fields against the expected credential.
    func validateCredentialfields(t *testing.T, testNum int, expectedCredentials credentialHeader, actualCredential credentialHeader) {
    	if expectedCredentials.accessKey != actualCredential.accessKey {
    		t.Errorf("Test %d: AccessKey mismatch: Expected \"%s\", got \"%s\"", testNum, expectedCredentials.accessKey, actualCredential.accessKey)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_updates/test_tutorial001.py

        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py310
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top