Skip to content

Commit d491c0c

Browse files
committed
Fix manual integration tests
1 parent 838f84e commit d491c0c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/manual_integration_tests.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ def test_case_1_single_java_rule_changed
4646
assert_equal(0, @summary[:violations][:changed], 'found changed violations')
4747
assert_equal(0, @summary[:violations][:new], 'found new violations')
4848
# These are the artificially created false-negatives for AbstractClassWithoutAbstractMethod rule
49-
# checkstyle: 203 violations
49+
# checkstyle: 204 violations
5050
# spring-framework: 280 violations
5151
# openjdk11: 29 violations
52-
# -> total = 512
53-
assert_equal(203 + 280 + 29, @summary[:violations][:removed], 'found removed violations')
52+
# -> total = 513
53+
assert_equal(204 + 280 + 29, @summary[:violations][:removed], 'found removed violations')
5454

5555
# errors might have been caused in the baseline for other rules (only visible in the stacktrace)
5656
# hence they might appear as removed
@@ -68,7 +68,7 @@ def test_case_1_single_java_rule_changed
6868

6969
assert_equal("This changeset changes 0 violations,\n" \
7070
"introduces 0 new violations, 0 new errors and 0 new configuration errors,\n" \
71-
'removes 512 violations, 2 errors and 7 configuration errors.',
71+
'removes 513 violations, 2 errors and 7 configuration errors.',
7272
create_summary_message)
7373

7474
assert_file_equals("#{PATCHES_PATH}/expected_patch_config_1.xml", 'target/reports/diff/patch_config.xml')
@@ -179,6 +179,7 @@ def test_case_5_create_baseline
179179
raise MiniTest::Assertion, "Running pmdtester failed: #{e.inspect}"
180180
end
181181

182+
print "#############################: test_case_5_create_baseline\n"
182183
assert_path_not_exist('target/reports/diff')
183184
assert_master_baseline
184185
end

0 commit comments

Comments
 (0)