- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for notThrown (0.21 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r84/TestLauncherCompositeBuildCrossVersionTest.groovy
when: def output1 = runTestClass.apply('TestClass1') then: notThrown(Exception) and: onlyTestClass1In(output1) when: def output2 = runTestClass.apply('TestClass2') then: notThrown(Exception) then: onlyTestClass2In(output2) where: api << LauncherApi.values() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 9.7K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/integTest/groovy/org/gradle/process/internal/health/memory/DefaultOsMemoryInfoIntegrationTest.groovy
new DefaultOsMemoryInfo().getOsSnapshot().getPhysicalMemory().getTotal() then: notThrown UnsupportedOperationException } def "gets OS free memory on any system"() { when: new DefaultOsMemoryInfo().getOsSnapshot().getPhysicalMemory().getFree() then: notThrown UnsupportedOperationException } @Requires(UnitTestPreconditions.Windows)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/plugins/DslObjectTest.groovy
then: notThrown(Exception) when: dsl.asDynamicObject then: thrown(IllegalStateException) } static class Thing {} def "works for dsl object"() { when: new DslObject(TestUtil.instantiatorFactory().decorateLenient().newInstance(Thing)) then: notThrown(Exception) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonStatusAndErrorReportingTest.groovy
then: notThrown(NullPointerException) status.pid == null } def "PID unboxing should not happen in DaemonStopEvent"() { given: Long unknownPID = null; when: def daemonStopEvent = new DaemonStopEvent(null, unknownPID, null, null); then: notThrown(NullPointerException) daemonStopEvent.pid == null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ActionsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/internal/CastTest.groovy
e.message == "Failed to cast object $arg of type ${arg.class.name} to target type ${Integer.name}" when: def result = cast(CharSequence, arg) then: notThrown(ClassCastException) result.is arg }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/software/signing/src/test/groovy/org/gradle/plugins/signing/ConventionSmokeSpec.groovy
def setup() { applyPlugin() } def "signing block"() { when: signing { signatories { } } then: notThrown Exception } def "signatories"() { expect: signing.signatories != null signing.signatories instanceof SignatoryProvider } def "signing configuration"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerAwaitableFileLockReleasedSignalTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/tasks/PublishToIvyRepositoryTest.groovy
publish.publication = [:] as IvyPublication then: thrown(InvalidUserDataException) when: publish.publication = [:] as IvyPublicationInternal then: notThrown(Exception) } def "the publishableFiles of the publication are inputs of the task"() { given: def publishableFiles = project.layout.files("a", "b", "c")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r34/BuildActionCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 2.3K bytes - Viewed (0)