fix tests
JaCoCo Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 58.63% (16555/28235)
* Branch Coverage: 51.34% (6336/12341)
* Lines of Code: 28235
* Cyclomatic Complexity: 11205
#### Quality Gates Summary
Output truncated.
Test / Build skipped: 11, passed: 585
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
JaCoCo Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 58.63% (16555/28235)
* Branch Coverage: 51.34% (6336/12341)
* Lines of Code: 28235
* Cyclomatic Complexity: 11205
#### Quality Gates Summary
Output truncated.
Test / Build skipped: 11, passed: 585
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
This commit is contained in:
+2
@@ -76,6 +76,7 @@ final class PackerRuntimeAssetMaterializerTest {
|
||||
final Path assetRoot = Files.createDirectories(tempDir.resolve("runtime-default"));
|
||||
final Path manifestPath = assetRoot.resolve("asset.json");
|
||||
Files.writeString(manifestPath, "{}");
|
||||
Files.writeString(assetRoot.resolve("studio.asset.json"), "{}");
|
||||
writeTile(assetRoot.resolve("selected.png"), 16);
|
||||
writeTile(assetRoot.resolve("extra.png"), 16);
|
||||
|
||||
@@ -91,6 +92,7 @@ final class PackerRuntimeAssetMaterializerTest {
|
||||
Optional.empty());
|
||||
|
||||
assertEquals(2, materialized.runtimeAsset().walkProjection().buildCandidateFiles().size());
|
||||
assertEquals(List.of("extra.png", "selected.png"), materialized.runtimeAsset().walkProjection().availableFiles());
|
||||
assertTrue(materialized.runtimeAsset().walkProjection().buildCandidateFiles().stream()
|
||||
.allMatch(file -> file.contentBytes().isEmpty()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user