- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,982 for EXPECT (0.15 sec)
-
platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/enterprise/exceptions/ExceptionMetadataHelperTest.groovy
def iae = new IllegalArgumentException("badness", npe) def re = new RuntimeException("sadness") def mbf = new MultipleBuildFailures([re, iae]) expect: with(ExceptionMetadataHelper.extractCauses(mbf)) { size() == 2 get(0).message == "sadness" with(get(1)) { message == "badness"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:17:11 UTC 2023 - 4.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 07 02:25:12 UTC 2024 - 25.4K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppLibraryTest.groovy
} def "has display name"() { expect: library.displayName.displayName == "C++ library 'main'" library.toString() == "C++ library 'main'" } def "has implementation configuration"() { expect: library.implementationDependencies == project.configurations.implementation } def "has api configuration"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy
} } } """) when: blockingServer.expect("before-resolve") blockingServer.expect("after-resolve") blockingServer.expect("other") run("undeclared", "other") then: noExceptionThrown() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 14:00:51 UTC 2024 - 21K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy
expect: succeeds() } def canAddExtensionsToProject() { buildFile ''' extensions.test = new ExtensionBean() assert test instanceof ExtensionBean test { it -> assert it instanceof ExtensionBean assert it == project.test } class ExtensionBean { } ''' expect: succeeds() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/NamespaceIdTest.groovy
expect: id.getNamespace() == "some-namespace" id.getName() == "some-name" } def "hashCode and equals determine equality" () { given: NamespaceId id1 = new NamespaceId("some-namespace", "some-name") NamespaceId id2 = new NamespaceId("some-namespace", "some-name") expect: id1 Matchers.strictlyEqual(id2) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_proto_test.go
// Won't currently get an error as MarshalTo can't return one result, _ := q.Marshal() q.MarshalTo(result) if q.Cmp(testCase.expect) != 0 { t.Errorf("Expected: %v, Actual: %v", testCase.expect, q) } } // Test when i is {0,0} table2 := []struct { dec *inf.Dec expect Quantity }{ {dec(0, 0).Dec, Quantity{i: int64Amount{value: 0, scale: 0}, d: infDecAmount{dec(0, 0).Dec}, s: "0", Format: DecimalSI}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 07:12:11 UTC 2017 - 3.7K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/api/JavaVersionSpec.groovy
conversionFails('09') conversionFails(TOO_BIG_STR) } def convertsVersionToVersion() { expect: JavaVersion.toVersion(JavaVersion.VERSION_1_4) == JavaVersion.VERSION_1_4 } def convertsNumberToVersion() { expect: JavaVersion.toVersion(1.3) == JavaVersion.VERSION_1_3 JavaVersion.toVersion(1.5) == JavaVersion.VERSION_1_5
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 15.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskReplacementIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 6.8K bytes - Viewed (0) -
platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:00:57 UTC 2023 - 20.8K bytes - Viewed (0)