8000 Make a common testdata directory, shared between python and ruby · html5lib/html5lib-python@ebb469c · GitHub
[go: up one dir, main page]

Skip to content

Commit ebb469c

Browse files
committed
Make a common testdata directory, shared between python and ruby
--HG-- rename : tests/encoding/chardet/test_big5.txt => testdata/encoding/chardet/test_big5.txt rename : tests/encoding/test-yahoo-jp.dat => testdata/encoding/test-yahoo-jp.dat rename : tests/encoding/tests1.dat => testdata/encoding/tests1.dat rename : tests/encoding/tests2.dat => testdata/encoding/tests2.dat rename : tests/sanitizer/tests1.dat => testdata/sanitizer/tests1.dat rename : tests/serializer/core.test => testdata/serializer/core.test rename : tests/serializer/optionaltags.test => testdata/serializer/optionaltags.test rename : tests/serializer/options.test => testdata/serializer/options.test rename : tests/serializer/whitespace.test => testdata/serializer/whitespace.test rename : tests/sites/google-results.htm => testdata/sites/google-results.htm rename : tests/sites/python-ref-import.htm => testdata/sites/python-ref-import.htm rename : tests/sites/web-apps-old.htm => testdata/sites/web-apps-old.htm rename : tests/sites/web-apps.htm => testdata/sites/web-apps.htm rename : tests/tokenizer/contentModelFlags.test => testdata/tokenizer/contentModelFlags.test rename : tests/tokenizer/test1.test => testdata/tokenizer/test1.test rename : tests/tokenizer/test2.test => testdata/tokenizer/test2.test rename : tests/tree-construction/tests1.dat => testdata/tree-construction/tests1.dat rename : tests/tree-construction/tests2.dat => testdata/tree-construction/tests2.dat rename : tests/tree-construction/tests3.dat => testdata/tree-construction/tests3.dat rename : tests/tree-construction/tests4.dat => testdata/tree-construction/tests4.dat extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40707
1 parent 93b4f1c commit ebb469c

27 files changed

+39552
-51
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
�Ѥl�m�D�w�g�n �Ĥ@~�|�Q��
2+
3+
�Ѥl�D�g
4+
5+
�Ĥ@��
6+
7+
�D�i�D�A�D�`�D�C�W�i�W�A�D�`�W�C�L�A�W�Ѧa���l�Q���A�W�U�������C
8+
�G�`�L�A���H�[�䧮�F�`���A���H�[���u�C����̡A�P�X�Ӳ��W�A�P�פ�
9+
�ȡC�Ȥ��S�ȡA���������C
10+
11+
�ĤG��
12+
13+
�ѤU�Ҫ����������A���c�o�Q�Ҫ����������A�������o�C�G���L�ۥ͡A��
14+
���ۦ��A���u�ۧΡA���U�۶ɡA���n�۩M�A�e����H�C�O�H�t�H�B�u�L��
15+
�v���ơA��u�����v���СC�U���@�j�Ӥ���A�ͦӤ����A���Ӥ���A�\��
16+
�ӥ��~�C�Ұߥ��~�A�O�H���h�C
17+
18+
�ĤT��
19+
20+
���|��A�ϥ������Q���Q���o���f�A�ϥ������s�Q�����i���A�ϥ��ߤ���
21+
�C�O�H�u�t�H�v���v�A���ߡA��両�A�z��ӡA�j�䰩�C�`�ϥ��L���L
22+
���C�ϤҴ��̤������]�C���u�L���v�A�h�L���v�C
23+
24+
�ĥ|��
25+
26+
�u�D�v�R�A�ӥΤ��Τ��աC�W���A���U�����v�Q����U�A�Ѩ�ɡA�M���
27+
�A�P��СQ�祿���Φs�C�^�����֤��l�H�H�Ҥ����C
28+
29+
�Ĥ���
30+
31+
�Ѧa�����A�H�U�����쪯�Q�t�H�����A�H�ʩm���쪯�C�Ѧa�����A��S��
32+
���G�H��Ӥ��}�A�ʦӷU�X�C�h���ƽa�A���p�u���C
33+
34+
�Ĥ���
35+
36+
���������A�O�ץȦɡC�Ȧɤ����A�O�פѦa�ڡC�����Y�s�A�Τ����ԡC
37+
38+
�ĤC��
39+
40+
�Ѫ��a�[�C�Ѧa�ҥH����B�[�̡A�H�䤣�ۥ͡A�G����[�C�O�H�t�H���
41+
���Ө����A�~�䨭�Ө��s�C�D�H��L�p���H�G�ন��p�C
42+
43+
�ĤK��
44+
45+
�W���Y���C�����Q�U���Ӥ����C�B���H���Ҵc�A�G�X��D�C�~���a�A�ߵ�
46+
�W�A�P�����A�����H�A�F���v�A�Ƶ���A�ʵ��ɡC�Ұߤ����A�G�L�סC
47+
48+
�ĤE��
49+
50+
���Ӭդ��A���p��w�Q���ӾU���A���i���O�C���ɺ���A������u�Q�I�Q
51+
��ź�A�ۿ��S�C�\�E���h�A�Ѥ��D�C

testdata/encoding/test-yahoo-jp.dat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#data
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
5+
<!--京-->
6+
<title>Yahoo! JAPAN</title>
7+
<meta name="description" content="日本最大級のポータルサイト。検索、オークション、ニュース、メール、コミュニティ、ショッピング、など80以上のサービスを展開。あなたの生活をより豊かにする「ライフ・エンジン」を目指していきます。">
8+
<style type="text/css" media="all">
9+
#encoding
10+
euc-jp

testdata/encoding/tests1.dat

Lines changed: 392 additions & 0 deletions
Large diffs are not rendered by default.

testdata/encoding/tests2.dat

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
#data
2+
<meta
3+
#encoding
4+
windows-1252
5+
6+
#data
7+
<
8+
#encoding
9+
windows-1252
10+
11+
#data
12+
<!
13+
#encoding
14+
windows-1252
15+
16+
#data
17+
<meta charset = "
18+
#encoding
19+
windows-1252
20+
21+
#data
22+
<meta charset=EUC-jp
23+
#encoding
24+
windows-1252
25+
26+
#data
27+
<meta <meta charset='EUC-jp'>
28+
#encoding
29+
EUC-jp
30+
31+
#data
32+
<meta charset = 'EUC-jp'>
33+
#encoding
34+
EUC-jp
35+
36+
37+
#data
38+
<!-- -->
39+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
40+
#encoding
41+
utf-8
42+
43+
#data
44+
<!-- -->
45+
<meta http-equiv="Content-Type" content="text/html; charset=utf
46+
#encoding
47+
windows-1252
48+
49+
#data
50+
<meta http-equiv="Content-Type<meta charset="utf-8">
51+
#encoding
52+
windows-1252
53+
54+
#data
55+
<meta http-equiv="Content-Type" content="text/html; charset='utf-8'">
56+
#encoding
57+
utf-8
58+
59+
#data
60+
<meta http-equiv="Content-Type" content="text/html; charset='utf-8">
61+
#encoding
62+
windows-1252
63+
64+
#data
65+
<meta
66+
#encoding
67+
windows-1252
68+
69+
#data
70+
<meta charset =
71+
#encoding
72+
windows-1252
73+
74+
#data
75+
<meta charset= utf-8
76+
#encoding
77+
windows-1252
78+
79+
#data
80+
<meta content = "text/html;
81+
#encoding
82+
windows-1252

0 commit comments

Comments
 (0)
0