Skip to content

Commit

Permalink
Improve ITs with UTF-8 / ISO-8859-1
Browse files Browse the repository at this point in the history
  • Loading branch information
racodond committed Feb 27, 2017
1 parent 5179711 commit 316479a
Show file tree
Hide file tree
Showing 125 changed files with 688 additions and 650 deletions.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions its/ruling/tests/src/test/expected/iso8859/jproperties-S1134.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
'iso8859:commentedOutCode.properties':[
72,
73,
76,
77,
],
'iso8859:fixme.properties':[
2,
5,
8,
11,
14,
],
}
15 changes: 15 additions & 0 deletions its/ruling/tests/src/test/expected/iso8859/jproperties-S1135.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
'iso8859:commentedOutCode.properties':[
74,
75,
78,
79,
],
'iso8859:todo.properties':[
2,
5,
8,
11,
14,
],
}
11 changes: 11 additions & 0 deletions its/ruling/tests/src/test/expected/iso8859/jproperties-S1578.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
'iso8859:file-name/file_name.ko.properties':[
0,
],
'iso8859:file-name/file_name.kocustom.properties':[
0,
],
'iso8859:file-name/file_name.ok.properties':[
0,
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
'iso8859:hard-coded-credentials/hardCodedCredentials.properties':[
2,
5,
8,
11,
14,
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
'iso8859:parsingError.properties':[
3,
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
'iso8859:comment-convention/commentsExclamationMarkAndHash.properties':[
1,
4,
6,
9,
],
'iso8859:comment-convention/commentsExclamationMarkMissingWhitespace.properties':[
1,
2,
2,
3,
3,
],
'iso8859:comment-convention/commentsExclamationMarkOnly.properties':[
1,
2,
3,
],
'iso8859:comment-convention/commentsHashAndExclamationMark.properties':[
4,
9,
],
'iso8859:comment-convention/commentsHashMissingWhitespace.properties':[
2,
3,
],
'iso8859:commentRegularExpression.properties':[
2,
],
'iso8859:commentedOutCode.properties':[
3,
5,
11,
11,
13,
13,
15,
17,
19,
21,
23,
25,
27,
29,
31,
33,
35,
37,
39,
41,
43,
45,
57,
58,
60,
61,
62,
68,
69,
70,
72,
73,
73,
74,
75,
75,
76,
77,
77,
78,
79,
79,
],
'iso8859:fixme.properties':[
5,
8,
11,
11,
14,
],
'iso8859:indentation/indentation.properties':[
7,
17,
],
'iso8859:todo.properties':[
5,
8,
11,
11,
14,
],
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
'project:custom/commentRegularExpression.properties':[
'iso8859:commentRegularExpression.properties':[
3,
],
'project:custom/commentedOutCode.properties':[
'iso8859:commentedOutCode.properties':[
3,
5,
7,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
'iso8859:comment-convention/commentsExclamationMarkAndHash.properties':[
11,
],
'iso8859:commentRegularExpression.properties':[
5,
],
'iso8859:cross-file-duplicated-keys/crossFileDuplicatedKeys1.properties':[
2,
3,
4,
],
'iso8859:duplicated-keys-across-files/keys.properties':[
1,
2,
],
'iso8859:duplicatedKeys.properties':[
6,
],
'iso8859:duplicatedValues.properties':[
1,
4,
5,
7,
9,
12,
15,
19,
20,
22,
23,
26,
27,
29,
30,
32,
33,
],
'iso8859:emptyElement.properties':[
1,
2,
5,
8,
],
'iso8859:keyNamingConvention.properties':[
1,
2,
3,
6,
7,
10,
13,
16,
18,
],
'iso8859:keyRegularExpression.properties':[
7,
8,
],
'iso8859:missing-translations-in-default/message.properties':[
1,
2,
],
'iso8859:separatorConventionColon.properties':[
1,
2,
5,
9,
18,
20,
],
'iso8859:valueRegularExpression.properties':[
8,
9,
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
'iso8859:commentedOutCode.properties':[
1,
],
'iso8859:duplicatedKeys.properties':[
2,
6,
12,
],
'iso8859:duplicatedValuesCustom1.properties':[
33,
],
'iso8859:lineLength.properties':[
1,
],
'iso8859:missing-translations/message.properties':[
3,
],
'iso8859:missing-translations/message_en.properties':[
3,
],
'iso8859:separatorConventionColon.properties':[
9,
20,
],
'iso8859:separatorConventionEquals.properties':[
15,
],
'iso8859:tooManyKeys30.properties':[
2,
],
'iso8859:tooManyKeys50.properties':[
1,
],
'iso8859:valueRegularExpression.properties':[
2,
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
'iso8859:commentedOutCode.properties':[
1,
],
'iso8859:duplicatedKeys.properties':[
2,
],
'iso8859:duplicatedValues.properties':[
4,
12,
],
'iso8859:duplicatedValuesCustom1.properties':[
4,
12,
],
'iso8859:duplicatedValuesCustom2.properties':[
3,
11,
],
'iso8859:emptyElement.properties':[
1,
],
'iso8859:indentation/indentation.properties':[
1,
],
'iso8859:indentation/indentationIssueFirstLine.properties':[
1,
],
'iso8859:keyNamingConvention.properties':[
1,
7,
],
'iso8859:keyNamingConventionCustom.properties':[
2,
13,
],
'iso8859:missing-translations/abc.properties':[
1,
],
'iso8859:missing-translations/message.properties':[
1,
],
'iso8859:missing-translations/message_en.properties':[
1,
],
'iso8859:missing-translations/message_fr.properties':[
1,
],
'iso8859:missing-translations/message_fr_FR.properties':[
1,
],
'iso8859:separatorConventionColon.properties':[
1,
],
'iso8859:separatorConventionEquals.properties':[
1,
],
'iso8859:tabCharacter.properties':[
1,
],
'iso8859:tooManyKeys30.properties':[
2,
],
'iso8859:tooManyKeys50.properties':[
1,
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
'iso8859:duplicatedValues.properties':[
19,
20,
],
'iso8859:duplicatedValuesCustom1.properties':[
15,
16,
],
'iso8859:duplicatedValuesCustom2.properties':[
14,
15,
],
'iso8859:emptyElement.properties':[
5,
8,
],
'iso8859:separatorConventionColon.properties':[
20,
23,
],
'iso8859:separatorConventionEquals.properties':[
15,
16,
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
'iso8859:no-properties/noProperties.properties':[
0,
],
'iso8859:noNewLineEndOfFile.properties':[
0,
],
}
Loading

0 comments on commit 316479a

Please sign in to comment.