Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guwirth committed Apr 30, 2021
1 parent fe90235 commit 007099e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-tests/features/regex.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Feature: Regex
Scenario: Test rule 'cxx:FileHeader' with regex and UTF-8 files (without BOM) with different file endings.
Given the project "regex_project"
And rule "cxx:FileHeader" with params "isRegularExpression=true;headerFormat=//\s*<copyright>\s*//\s*Copyright \(c\) (AAA BBB|CCC DDD) GmbH. All rights reserved.\s*//\s*</copyright>\s*" is activated
When I run sonar-scanner with "-X -Dsonar.exclusions=**/UTF8-BOM-*.cc"
When I run sonar-scanner with "-X -Dsonar.exclusions=**/*-BOM-*.cc"
Then the analysis finishes successfully
And the analysis in server has completed
And the analysis log contains no error/warning messages except those matching:
Expand All @@ -23,7 +23,7 @@ Feature: Regex
Scenario: Test rule 'cxx:FileHeader' with regex and UTF-8 files (with BOM) with different file endings.
Given the project "regex_project"
And rule "cxx:FileHeader" with params "isRegularExpression=true;headerFormat=//\s*<copyright>\s*//\s*Copyright \(c\) (AAA BBB|CCC DDD) GmbH. All rights reserved.\s*//\s*</copyright>\s*" is activated
When I run sonar-scanner with "-X -Dsonar.inclusions=**/UTF8-BOM-*.cc"
When I run sonar-scanner with "-X -Dsonar.inclusions=**/utf8-BOM-*.cc"
Then the analysis finishes successfully
And the analysis in server has completed
And the analysis log contains no error/warning messages except those matching:
Expand All @@ -40,7 +40,7 @@ Feature: Regex
Scenario: Test rule 'cxx:FileHeader' with regex and UTF-16 files (with BOM) with different file endings.
Given the project "regex_project"
And rule "cxx:FileHeader" with params "isRegularExpression=true;headerFormat=//\s*<copyright>\s*//\s*Copyright \(c\) (AAA BBB|CCC DDD) GmbH. All rights reserved.\s*//\s*</copyright>\s*" is activated
When I run sonar-scanner with "-X -Dsonar.inclusions=**/UTF16-BOM-*.cc"
When I run sonar-scanner with "-X -Dsonar.inclusions=**/utf16-BOM-*.cc"
Then the analysis finishes successfully
And the analysis in server has completed
And the analysis log contains no error/warning messages except those matching:
Expand Down

0 comments on commit 007099e

Please sign in to comment.