- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 226 for noExceptionThrown (0.2 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectCollectionSpec.groovy
noExceptionThrown() when: container.withType(container.type).named("a", method) then: noExceptionThrown() when: container.withType(container.type).named("a", getType(), method) then: noExceptionThrown() when: container.matching({ it in container.type }).named("a").configure(method) then: noExceptionThrown()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 5.8K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec.groovy
return } when: run("test") then: noExceptionThrown() } def "canUseThirdPartyAstTransform"() { if (versionLowerThan('1.6')) { return } when: run("test") then: noExceptionThrown() } def "canUseAstTransformWrittenInGroovy"() { if (versionLowerThan('1.6')) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/TaskOrderSpecsTest.groovy
when: spec.assertMatches(-1, [':a', ':b', ':c', ':d']) then: noExceptionThrown() when: spec.assertMatches(-1, [':b', ':a', ':c', ':d']) then: noExceptionThrown() when: spec.assertMatches(-1, [':b', ':d', ':a', ':c']) then: thrown(AssertionError) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultMutationGuardTest.groovy
thread.start() thread.join() } }) when: action.execute(null) then: noExceptionThrown() callable.noExceptionThrown() callable.called } private void disallowedMethod() { guard.assertMutationAllowed("someProtectedMethod()", target) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 6.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy
""" when: withConnection { ProjectConnection it -> it.newBuild().forTasks('someCoolTask').withArguments('-b', 'foo.gradle').run() } then: noExceptionThrown() } def "can use custom log level"() { //logging infrastructure is not installed when running in-process to avoid issues toolingApi.requireDaemons() given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractApiGroovyCompilerIntegrationSpec.groovy
} when: run("sanityCheck") then: noExceptionThrown() } def canEnableAndDisableAllOptimizations() { if (versionLowerThan('1.8')) { return } when: run("sanityCheck") then: noExceptionThrown() } def canUseCustomFileExtensions() { if (versionLowerThan('1.7')) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/AccessModifierDefaultServiceRegistryTest.groovy
def registry = new DefaultServiceRegistry() registry.register { it.add(String, "Potato") it.add(ModifierStubs.PackagePrivateConstructor) } then: noExceptionThrown() registry.get(ModifierStubs.PackagePrivateConstructor) instanceof ModifierStubs.PackagePrivateConstructor } def "fails to register that has a package private constructor and a private constructor"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 4K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperSSLTest.groovy
then: noExceptionThrown() } def "custom provider"() { given: Security.addProvider(new FakeKeyStore.Provider()) keyStore = TestKeyStore.init(resources.dir, FakeKeyStore.Provider.algorithm) setupSystemProperties() when: performAuthenticatedRequest() then: noExceptionThrown() cleanup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 05:29:07 UTC 2023 - 9.7K bytes - Viewed (0) -
testing/internal-testing/src/test/groovy/org/gradle/test/precondition/PredicateFileTest.groovy
when: checkValidCombinations([value]) then: noExceptionThrown() where: value << ["value1", "value2"] } def "accept multiple values"() { when: checkValidCombinations(combination) then: noExceptionThrown() where: combination << [["value2", "value3"], ["value3", "value2"]] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/derived/JvmDerivedVariantsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 18 19:46:19 UTC 2023 - 5.4K bytes - Viewed (0)