- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for notThrown (0.16 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/TransformersTest.groovy
e.message == "Failed to cast object $arg of type ${arg.class.name} to target type ${Integer.name}" when: def result = cast(CharSequence).transform(arg) then: notThrown(ClassCastException) result.is arg } def "as string"() { expect: asString().transform(1) == "1" asString().transform(null) == null } def "to URL"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/DefaultClassLoaderFactoryTest.groovy
then: c != DefaultClassLoaderFactoryTestHelper when: Thread.currentThread().contextClassLoader = cl c.getConstructor().newInstance().doStuff() then: notThrown() } def getClasspath() { return DefaultClassPath.of(ClasspathUtil.getClasspathForClass(DefaultClassLoaderFactoryTestHelper)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/DisabledTaskExecutionOnIncludedBuildsCrossVersionSpec.groovy
newBuild().forLaunchables(task).run() newBuild().forLaunchables(selector).run() } then: notThrown(Throwable) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy
} ''' buildFile << 'task doStuff' when: executer.usingInitScript(initScript1).usingInitScript(initScript2).withTasks('doStuff').run() then: notThrown(Throwable) } def "each Kotlin init script has independent ClassLoader"() { given: createExternalJar() and: TestFile initScript1 = file('init1.init.gradle.kts')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/CustomToolingModelCrossVersionSpec.groovy
when: withConnection { connection -> fetchCustomModelsWithRestrictedMemoryAction(connection) } then: notThrown(GradleConnectionException) assertHasConfigureSuccessfulLogging() } private fetchCustomModelsWithRestrictedMemoryAction(ProjectConnection connection) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/software/reporting/src/test/groovy/org/gradle/api/reporting/internal/DefaultReportContainerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtraPropertiesExtensionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryStoreTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:40:49 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessorTest.groovy
processor.stopNow() processor.stop() then: 1 * workerProcess.stopNow() _ * workerProcess.waitForStop() >> { throw new ExecException("waitForStop can throw") } notThrown(ExecException) } def "captures and rethrows unrecoverable exceptions thrown by the connection"() { def handler def processor = newProcessor() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingGraphVisitorTest.groovy
given: def id = newId(mid, '1.1') startWithState([id]) addVisitedNode(id) when: visitor.finish(rootNode) then: notThrown(LockOutOfDateException) } def 'generates failures when extra modules visited'() { given: startWithState([]) addVisitedNode(newId(mid, '1.0')) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 9.1K bytes - Viewed (0)