- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for BOOM (0.04 sec)
-
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/LocationAwareScriptEvaluationIntegrationTest.kt
class LocationAwareScriptEvaluationIntegrationTest : AbstractKotlinIntegrationTest() { private val boom = """throw InternalError("BOOM!")""" @Test fun `location of exception thrown from build script is reported`() { withSettings("""include("a")""") val script = withBuildScriptIn("a", boom) assertFailingBuildOutputOf("help") { """ * Where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/failure/FailurePrinterTest.groovy
def "prints same as JVM for simple exception"() { def e = new RuntimeException("BOOM") def f = toFailure(e) expect: FailurePrinter.printToString(f) == getTraceString(e) } def "prints same as JVM for an exception with cause"() { def e = new RuntimeException("BOOM", SimulatedJavaException.simulateDeeperException()) def f = toFailure(e) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:12:10 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/AbiExtractingClasspathResourceHasherTest.groovy
1 * fileSnapshot.getAbsolutePath() >> file.absolutePath 1 * apiClassExtractor.extractApiClassFrom(_) >> { args -> throw new Exception("Boom!") } and: def e = thrown(Exception) e.message == "Boom!" } def "does not fall back to full zip entry hashing when fallback is not requested and abi extraction fails for a zip entry"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/buildevents/BuildFailureIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 13:10:04 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt
target: Path, ) { if (renameFaults.contains(source) || renameFaults.contains(target)) throw IOException("boom!") super.atomicMove(source, target) } @Throws(IOException::class) override fun delete( path: Path, mustExist: Boolean, ) { if (deleteFaults.contains(path)) throw IOException("boom!") super.delete(path, mustExist) } @Throws(IOException::class) override fun deleteRecursively(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/serialize/ExceptionPlaceholderIntegrationTest.groovy
throw new RuntimeException("Boom!", custom) } } class CustomException extends RuntimeException { CustomException(String msg) { super(msg); } } """ when: fails 'doIt', '-s' then: failureCauseContains('Boom!')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:24 UTC 2024 - 8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r72/JavaVersionCrossVersionTest.groovy
class JavaVersionCrossVersionTest extends ToolingApiSpecification { def setup() { buildFile << """ task myTask { doLast { throw new RuntimeException("Boom") } } """ } @Requires([UnitTestPreconditions.Jdk11OrLater, IntegTestPreconditions.Java8HomeAvailable])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/execution/ResolveTaskMutationsBuildOperationTypeIntegrationTest.groovy
throw new RuntimeException("BOOM!") } } """ fails "t" then: assertResolveTaskMutationsBuildOperationEmitted(":t") } def "emits operation when resolving mutations fails"() { when: buildScript """ task t { outputs.files({ -> throw new RuntimeException("BOOM!") }) } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 27 12:00:57 UTC 2022 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/test/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilderTest.kt
val script = withTwoLinesScript() val reports = buildEditorReportsFor( script, listOf(LocationAwareException(Exception("BOOM"), script.canonicalPath, 3)), true ) assertThat(reports.size, equalTo(1)) reports.single().let { report -> assertThat(report.severity, equalTo(EditorReportSeverity.WARNING))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.2K bytes - Viewed (0)