From af5f1fc65e2f2d75163a50a1ca8cab1d11f7eab2 Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Sun, 22 Dec 2002 04:25:21 +0000 Subject: [PATCH] test files for use with the STXTTranslator. The .txt files contain plain text (UTF8) and the .stxt files contain styled information as well as text (UTF8) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2281 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/kits/translation/data/text/ascii.stxt | Bin 0 -> 133 bytes src/tests/kits/translation/data/text/ascii.txt | 2 ++ .../kits/translation/data/text/japanese.stxt | Bin 0 -> 255 bytes .../kits/translation/data/text/japanese.txt | 1 + .../kits/translation/data/text/multi_byte.stxt | Bin 0 -> 62 bytes .../kits/translation/data/text/multi_byte.txt | 1 + .../kits/translation/data/text/one_length.stxt | Bin 0 -> 213 bytes .../kits/translation/data/text/one_length.txt | 1 + .../kits/translation/data/text/sentence.stxt | Bin 0 -> 1473 bytes .../kits/translation/data/text/sentence.txt | 1 + .../kits/translation/data/text/symbols.stxt | Bin 0 -> 376 bytes src/tests/kits/translation/data/text/symbols.txt | 3 +++ .../kits/translation/data/text/wrong_magic.stxt | Bin 0 -> 1473 bytes .../translation/data/text/wrong_version.stxt | Bin 0 -> 1473 bytes .../kits/translation/data/text/zero_length.stxt | Bin 0 -> 32 bytes .../kits/translation/data/text/zero_length.txt | 0 16 files changed, 9 insertions(+) create mode 100644 src/tests/kits/translation/data/text/ascii.stxt create mode 100644 src/tests/kits/translation/data/text/ascii.txt create mode 100644 src/tests/kits/translation/data/text/japanese.stxt create mode 100644 src/tests/kits/translation/data/text/japanese.txt create mode 100644 src/tests/kits/translation/data/text/multi_byte.stxt create mode 100644 src/tests/kits/translation/data/text/multi_byte.txt create mode 100644 src/tests/kits/translation/data/text/one_length.stxt create mode 100644 src/tests/kits/translation/data/text/one_length.txt create mode 100644 src/tests/kits/translation/data/text/sentence.stxt create mode 100644 src/tests/kits/translation/data/text/sentence.txt create mode 100644 src/tests/kits/translation/data/text/symbols.stxt create mode 100644 src/tests/kits/translation/data/text/symbols.txt create mode 100644 src/tests/kits/translation/data/text/wrong_magic.stxt create mode 100644 src/tests/kits/translation/data/text/wrong_version.stxt create mode 100644 src/tests/kits/translation/data/text/zero_length.stxt create mode 100644 src/tests/kits/translation/data/text/zero_length.txt diff --git a/src/tests/kits/translation/data/text/ascii.stxt b/src/tests/kits/translation/data/text/ascii.stxt new file mode 100644 index 0000000000000000000000000000000000000000..ce1f41b1d5ff46deb2e2f9238a3fbfc69c08802f GIT binary patch literal 133 zcmWFzi3nj}U=RRe5J(Aeh4WKE0vw!NJiH2uO3Es#YU&!ATG~3gdin;2M#d(lX66=_ zR@OGQcJ>aAPR=f_ZtfnQUfw>we*OW0LBS!RVc`*xQPDB6aq$U>Ny#axY3Ui6S=l+c WdHDr}Ma3nhW#tu>Rn;}Mb@c#3KOu$y literal 0 HcmV?d00001 diff --git a/src/tests/kits/translation/data/text/ascii.txt b/src/tests/kits/translation/data/text/ascii.txt new file mode 100644 index 0000000000..b926642c2f --- /dev/null +++ b/src/tests/kits/translation/data/text/ascii.txt @@ -0,0 +1,2 @@ + + !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ \ No newline at end of file diff --git a/src/tests/kits/translation/data/text/japanese.stxt b/src/tests/kits/translation/data/text/japanese.stxt new file mode 100644 index 0000000000000000000000000000000000000000..db0629e4dff2f0f3a8a36def0b5ba4340d03f78e GIT binary patch literal 255 zcmWFzi3nj}U=RRe5J(Aeh4ZyR0#9~#J)6GtapU^O4NZ@m=RR(3d)(XsWItW9T;b`` zy^kAvA2%+4+&B{`6dV%i1Joe`#0!8J1hgGjS S7o^E?0t1877O3|B3=9CWf+|e_ literal 0 HcmV?d00001 diff --git a/src/tests/kits/translation/data/text/japanese.txt b/src/tests/kits/translation/data/text/japanese.txt new file mode 100644 index 0000000000..4ddf8e3b29 --- /dev/null +++ b/src/tests/kits/translation/data/text/japanese.txt @@ -0,0 +1 @@ +今日は。ポテト。大 好きです。 \ No newline at end of file diff --git a/src/tests/kits/translation/data/text/multi_byte.stxt b/src/tests/kits/translation/data/text/multi_byte.stxt new file mode 100644 index 0000000000000000000000000000000000000000..68fa002ec95a66fbf57e29b0db99666c09f26c0a GIT binary patch literal 62 zcmWFzi3nj}U=RRe5J(Aeh4bY=0*+43hZ+tw9%_29py9!S#s>?UK1^t60OCd3L1c(;^F$gd^=42{Dm<(V=!R497=0=7J eP9USm073b=iFst`gK2S8U|?|C0_FW@U;qFVW)0y0 literal 0 HcmV?d00001 diff --git a/src/tests/kits/translation/data/text/one_length.txt b/src/tests/kits/translation/data/text/one_length.txt new file mode 100644 index 0000000000..8c7e5a667f --- /dev/null +++ b/src/tests/kits/translation/data/text/one_length.txt @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/src/tests/kits/translation/data/text/sentence.stxt b/src/tests/kits/translation/data/text/sentence.stxt new file mode 100644 index 0000000000000000000000000000000000000000..e1975061efe3cc9f38aca17c673b3a57d968a5a3 GIT binary patch literal 1473 zcmWFzi3nj}U=RRe5J(Aeh4Xzu0*=Mm3VHb@3gsDzB?|cksd);;`K3k4sS3%7c?v1{ z3TgR83YGb#ItqzEgs-~`dZ<(b9i zMurMbAZL*Qg7R|{^T^N#)8aURfx&4Dl=mM@^A5C|oPf~-bJKr_n*;~iO<2N7Xz;iR u7)X$Ck{CR00;VO1n;Zv|o1p2*buhUJ8cuEl?IuLNgQq8-fp!ymz5@U!%4@^` literal 0 HcmV?d00001 diff --git a/src/tests/kits/translation/data/text/sentence.txt b/src/tests/kits/translation/data/text/sentence.txt new file mode 100644 index 0000000000..3ae243a36b --- /dev/null +++ b/src/tests/kits/translation/data/text/sentence.txt @@ -0,0 +1 @@ +Ask not what open source can do for you, ask what you can do for open source. \ No newline at end of file diff --git a/src/tests/kits/translation/data/text/symbols.stxt b/src/tests/kits/translation/data/text/symbols.stxt new file mode 100644 index 0000000000000000000000000000000000000000..c038ec2d9d8527dbc67769703e35f76cf19249d6 GIT binary patch literal 376 zcmbV{yGjFL5QTr+R2DvfK7uyZ3D{Y=TWBfR1iTa$wquO(UoA9=U=)?z&F;ocf+XM# z6@)p&)^|8B;3McRULGJH9A?hIfisS~>>6VxGv%zg3;#aK52Ge+9RX6krT7|u_IL60 zA(R&7T>FS=d$g7JhNiSNo*g2=E846k^ej5G7Z~b2CBb81)IdrJ(4sx2TvD#Ej~b4! zhXd50Rzq!TNPCS?A1I;r^o7!-=Tio#Xh#Ry)o0474jp%8F{?V2$gE`^zew@Kn9|*^`!ePm9~ypT literal 0 HcmV?d00001 diff --git a/src/tests/kits/translation/data/text/symbols.txt b/src/tests/kits/translation/data/text/symbols.txt new file mode 100644 index 0000000000..0055d2aeb5 --- /dev/null +++ b/src/tests/kits/translation/data/text/symbols.txt @@ -0,0 +1,3 @@ +œ∑á鮆¥fiøπ‘’¬å∫∂ƒ©∆◊æüãΩ≈ç√ñµ…÷ +Œé‡Ø∏“”ÅÆËÃÇÑ≤≥¿ +è¡™£¢∞ⶕ«»–≠‰Â§°ªº—± \ No newline at end of file diff --git a/src/tests/kits/translation/data/text/wrong_magic.stxt b/src/tests/kits/translation/data/text/wrong_magic.stxt new file mode 100644 index 0000000000000000000000000000000000000000..1bc8f60aae8324fb5c3ea8fd5b53ea935b585258 GIT binary patch literal 1473 zcmeZu43A)7U=RRe5J(AejR*nKAigh1z_B=6Auqo~p*$n8L?OQ*HBX^9zqBYhRUtVs zPa!2=AuYd1p)$WzMs%Vgn@z80c1E3_&VlfDnghHoFF>5 zJhRx`$WXxv#li)zR2}?K$ x4IVcE0|^pN5`)K0z_bK$ljC4=6Er=!4kkB2!^v%+-Gs<@@bu&}&~8G{cL1p_YpwtQ literal 0 HcmV?d00001 diff --git a/src/tests/kits/translation/data/text/wrong_version.stxt b/src/tests/kits/translation/data/text/wrong_version.stxt new file mode 100644 index 0000000000000000000000000000000000000000..3b238a8b6b758ee4b1196849028ffcc8c99b94a6 GIT binary patch literal 1473 zcmWFzi3nj}U=RRe5J(Mih4Xzu0*=Mm3VHb@3gsDzB?|cksd);;`K3k4sS3%7c?v1{ z3TgR83YGb#ItqzEgs-~`dZ<(b9i zMurMbAZL*Qg7R|{^T^N#)8aURfx&4Dl=mM@^A5C|oPf~-bJKr_n*;~iO<2N7Xz;iR u7)X$Ck{CR00;VO1n;Zv|o1p2*buhUJ8cuEl?IuLNgQq8-fp!ymz5@U)d~3x3 literal 0 HcmV?d00001 diff --git a/src/tests/kits/translation/data/text/zero_length.stxt b/src/tests/kits/translation/data/text/zero_length.stxt new file mode 100644 index 0000000000000000000000000000000000000000..c5fe84df061f73e7742c4e47c1ccc8637c76f6bc GIT binary patch literal 32 YcmWFzi3nj}U=RRe5J(AeMd33507Ih#9RL6T literal 0 HcmV?d00001 diff --git a/src/tests/kits/translation/data/text/zero_length.txt b/src/tests/kits/translation/data/text/zero_length.txt new file mode 100644 index 0000000000..e69de29bb2