- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for BOOM (0.06 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
plan0.tcpConnectThrowable = IOException("boom 0!") val plan1 = routePlanner.addPlan() plan1.tcpConnectThrowable = IOException("boom 1!") taskRunner.newQueue().execute("connect") { assertFailsWith<IOException> { finder.find() }.also { expected -> assertThat(expected).hasMessage("boom 0!") assertThat(expected.suppressed.single()).hasMessage("boom 1!") } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 20.9K bytes - Viewed (0) -
src/iter/pull_test.go
return func(yield func(int) bool) { panic("boom") } } func panicCleanupSeq() Seq[int] { return func(yield func(int) bool) { for { if !yield(55) { panic("boom") } } } } func TestPull2Panic(t *testing.T) { t.Run("next", func(t *testing.T) { next, stop := Pull2(panicSeq2()) if !panicsWith("boom", func() { next() }) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 10.2K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
@Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { throw new RuntimeException("BOOM"); } @Override public boolean presentInConfig( Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { return true;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 16:51:39 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/integTest/groovy/org/gradle/internal/declarativedsl/ErrorHandlingOnReflectiveCallsSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 10:11:12 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
buildFile << """ class BrokenSerializable implements java.io.Serializable { private Object writeReplace() { throw new RuntimeException("BOOM") } } class BrokenTaskType extends DefaultTask { final prop = new BrokenSerializable() } task broken(type: BrokenTaskType)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy
buildFile """ task cacheable(type: Cacheable) { doLast { throw new GradleException("boom") } } """ when: withBuildCache().fails "cacheable" failure.assertHasCause("boom") then: assertCachingDisabledFor null, null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:59:01 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt
// thus disabling syntax highlighting withKotlinBuildSrc() withFile( "buildSrc/src/main/kotlin/Foo.kt", """ BOOM """ ) val editedScript = withBuildScript("") resolvedScriptDependencies(editedScript).apply { assertThat(this, nullValue()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:12:50 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy
looksLike(assertionError, transported) } def "preserves nested assertion errors"() { def assertionError = new CustomAssertionError("Boom", new CustomAssertionError("Boom cause!")) when: def transported = transport(assertionError) then: transported instanceof PlaceholderAssertionError looksLike(assertionError, transported)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 16.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy
buildFile << """ class BrokenTask extends DefaultTask { @OutputFiles FileCollection getOutputFiles() { throw new RuntimeException('BOOM!') } @TaskAction void doSomething() { println "Executing broken task..." } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 14:00:51 UTC 2024 - 21K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryStoreTest.groovy
then: 1 * cacheCleanup.cleanupAction >> cleanupAction 1 * cacheCleanup.cleanupFrequency >> CleanupFrequency.DAILY 1 * cleanupAction.clean(store, _) >> { throw new RuntimeException("Boom") } noExceptionThrown() } def "does not use gc.properties when no cleanup action is defined"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:40:49 UTC 2024 - 5.9K bytes - Viewed (0)