Skip to content

Commit 5d4f0ed

Browse files
Fix code coverage
1 parent 0bf4afe commit 5d4f0ed

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Scripts/runTests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ then
1010
echo "OK"
1111
else
1212
echo "Failed: code coverage should be 100.00%"
13-
echo "Coverage result:"
14-
echo $(llvm-cov report -show-functions .build/x86_64-unknown-linux/debug/AsposeWordsCloudPackageTests.xctest -instr-profile=.build/x86_64-unknown-linux/debug/codecov/default.profdata Sources/AsposeWordsCloud/Api/WordsAPI.swift)
13+
echo "Uncovered methods:"
14+
echo $(llvm-cov report -show-functions .build/x86_64-unknown-linux/debug/AsposeWordsCloudPackageTests.xctest -instr-profile=.build/x86_64-unknown-linux/debug/codecov/default.profdata Sources/AsposeWordsCloud/Api/WordsAPI.swift | grep "* 0.00%*")
1515
exit 1
1616
fi

Tests/AsposeWordsCloudTests/ParagraphTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ class ParagraphTests: BaseTestContext {
3434
("testDeleteParagraphListFormatWithoutNodePath", testDeleteParagraphListFormatWithoutNodePath),
3535
("testGetParagraphTabStopsWithoutNodePath", testGetParagraphTabStopsWithoutNodePath),
3636
("testInsertOrUpdateParagraphTabStopWithoutNodePath", testInsertOrUpdateParagraphTabStopWithoutNodePath),
37-
("testDeleteAllParagraphTabStopsWithoutNodePath", testDeleteAllParagraphTabStopsWithoutNodePath),
37+
("testDeleteAllParagraphTabStopsWithoutNodePath", testDeleteAllParagraphTabStopsWithoutNodePath),
38+
("testDeleteParagraphTabStopWithoutNodePath", testDeleteParagraphTabStopWithoutNodePath),
3839
];
3940

4041
func getRemoteDataFolder(action : String) -> String {

0 commit comments

Comments
 (0)