-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Importer.pm inherits process_job sub from Engine.pm
Fixed parsing rc file and import test
- Loading branch information
Showing
7 changed files
with
111 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 18 additions & 4 deletions
22
t/data/importer/parse_rc/00/reference-output/database/properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
properties | ||
{ | ||
0 1 source:1 b88e2e32e7cd852f7d4b76ba913a78a1 | ||
1 2 hash:1 b88e2e32e7cd852f7d4b76ba913a78a1 | ||
2 3 size:1 923 | ||
3 4 items:1 1,2,3,4,5 | ||
0 1 source:1 b88e2e32e7cd852f7d4b76ba913a78a1 | ||
1 2 hash:1 b88e2e32e7cd852f7d4b76ba913a78a1 | ||
2 3 size:1 923 | ||
3 4 items:1 1,2,3,4,5 | ||
4 5 ts:1:test:count 5 | ||
5 6 usn:1:test 16 | ||
6 7 ts:1:test a535701a4bf40dfd3e41ccd666298f16 | ||
7 8 target:1:test_job:test 402d4b321ffe9876cb697d5122b5569a | ||
8 9 target:mtime:1:test_job:test 12345678 | ||
9 10 source:1:test_job:test b88e2e32e7cd852f7d4b76ba913a78a1 | ||
10 11 source:ts:1:test_job:test | ||
a535701a4bf40dfd3e41ccd666298f16 | ||
11 12 job-hash:test_namespace:test_job | ||
13b98de1726dbf76b84d3c04553c69a6 | ||
12 13 job-plugin:test_namespace:test_job parse_rc. | ||
13 14 job-serializer-plugin:test_namespace:test_job | ||
serialize_po. | ||
14 15 job-engine:test_namespace:test_job 1.3.2 | ||
} |
5 changes: 5 additions & 0 deletions
5
t/data/importer/parse_rc/00/reference-output/database/translations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
translations | ||
{ | ||
0 1 12 1 test `Ṽáļũē 1` NO 0 0 | ||
1 2 13 2 test `Ṽáļũē 2` NO 0 0 | ||
2 3 14 3 test `Ēŕŕőŕ %s` NO 0 0 | ||
3 4 15 4 test `Ṽáļũē 3` NO 0 0 | ||
4 5 16 5 test `Ṽáļũē 4` NO 0 0 | ||
} |
47 changes: 47 additions & 0 deletions
47
t/data/importer/parse_rc/00/reference-output/localized-resources/test/application.rc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Microsoft Visual C++ generated resource script. | ||
// | ||
#include "resource.h" | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Test Version | ||
// | ||
|
||
VS_VERSION_INFO VERSIONINFO | ||
VERSION 1,0,0,1111 | ||
PRODUCTVERSION 4,0,0,1111 | ||
FILEFLAGSMASK 0x12L | ||
BEGIN | ||
BLOCK "StringFileInfo" | ||
BEGIN | ||
BLOCK "040904b0" | ||
BEGIN | ||
VALUE "Sample Name", "Sample Name Value" | ||
VALUE "Description", "Good description" | ||
VALUE "Version", "1,0,0,1111" | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Alternative", 0x409, 1200 | ||
END | ||
END | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Test Strings | ||
// | ||
|
||
STRINGTABLE | ||
BEGIN | ||
IDS_TEST_1 "Ṽáļũē 1" | ||
IDS_TEST_2 "Ṽáļũē 2" | ||
IDS_ERROR "Ēŕŕőŕ %s" | ||
END | ||
|
||
STRINGTABLE | ||
BEGIN | ||
IDS_TEST_3 | ||
"Ṽáļũē 3" | ||
IDS_TEST_4 "Ṽáļũē 4" | ||
END |
36 changes: 36 additions & 0 deletions
36
t/data/importer/parse_rc/00/reference-output/po/test/application.rc.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
msgid "" | ||
msgstr "" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: test\n" | ||
"Generated-By: Serge 1.3\n" | ||
|
||
#. IDS_TEST_1 | ||
#: File: application.rc | ||
#: ID: 52b8425aa485a7e3b7a02e1b586f9cef | ||
msgid "Value 1" | ||
msgstr "Ṽáļũē 1" | ||
|
||
#. IDS_TEST_2 | ||
#: File: application.rc | ||
#: ID: 3fa07f98de1fb810037bfde267c704d1 | ||
msgid "Value 2" | ||
msgstr "Ṽáļũē 2" | ||
|
||
#. IDS_ERROR | ||
#: File: application.rc | ||
#: ID: 062f9dcbf9d6b396c1733a30e68226ab | ||
msgid "Error %s" | ||
msgstr "Ēŕŕőŕ %s" | ||
|
||
#. IDS_TEST_3 | ||
#: File: application.rc | ||
#: ID: 2e920fe719df0296f38564a3a624f4fa | ||
msgid "Value 3" | ||
msgstr "Ṽáļũē 3" | ||
|
||
#. IDS_TEST_4 | ||
#: File: application.rc | ||
#: ID: bf5a11014de06a379dcb4fda0faa156d | ||
msgid "Value 4" | ||
msgstr "Ṽáļũē 4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters