Skip to content

Commit

Permalink
Revert "test(pub): Temporarily disable PubFunTest"
Browse files Browse the repository at this point in the history
This reverts commit 6de1aae as 0206c8f now frees additional disk space.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Apr 24, 2024
1 parent 136d411 commit 4e73f5a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions plugins/package-managers/pub/src/funTest/kotlin/PubFunTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ import org.ossreviewtoolkit.utils.test.shouldNotBeNull

class PubFunTest : WordSpec({

Check warning on line 39 in plugins/package-managers/pub/src/funTest/kotlin/PubFunTest.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Unused symbol

Class "PubFunTest" is never used
"Pub" should {
// TODO: Tests are temporarily disabled to prevent Bootstrapping of the Flutter SDK as GitHub runners are
// running out of disk space. Enable them again once a better solution was implemented.
"resolve dart http dependencies correctly".config(enabled = false) {
"resolve dart http dependencies correctly" {
val definitionFile = getAssetFile("projects/external/dart-http/pubspec.yaml")
val expectedResultFile = getAssetFile("projects/external/dart-http-expected-output.yml")
val lockfile = definitionFile.resolveSibling("pubspec.lock").also {
Expand All @@ -56,7 +54,7 @@ class PubFunTest : WordSpec({
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
}

"resolve dependencies for a project with dependencies without a static version".config(enabled = false) {
"resolve dependencies for a project with dependencies without a static version" {
val definitionFile = getAssetFile("projects/synthetic/any-version/pubspec.yaml")
val expectedResultFile = getAssetFile("projects/synthetic/pub-expected-output-any-version.yml")

Expand All @@ -65,7 +63,7 @@ class PubFunTest : WordSpec({
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
}

"resolve multi-module dependencies correctly".config(enabled = false) {
"resolve multi-module dependencies correctly" {
val definitionFile = getAssetFile("projects/synthetic/multi-module/pubspec.yaml")
val expectedResultFile = getAssetFile("projects/synthetic/pub-expected-output-multi-module.yml")

Expand All @@ -76,7 +74,7 @@ class PubFunTest : WordSpec({
}
}

"resolve dependencies for a project with Flutter, Android and Cocoapods".config(enabled = false) {
"resolve dependencies for a project with Flutter, Android and Cocoapods" {
val definitionFile = getAssetFile(
"projects/synthetic/flutter-project-with-android-and-cocoapods/pubspec.yaml"
)
Expand All @@ -92,7 +90,7 @@ class PubFunTest : WordSpec({
}
}

"show an error if no lockfile is present".config(enabled = false) {
"show an error if no lockfile is present" {
val definitionFile = getAssetFile("projects/synthetic/no-lockfile/pubspec.yaml")

val result = create("Pub").resolveSingleProject(definitionFile)
Expand Down

0 comments on commit 4e73f5a

Please sign in to comment.