[KoCo-CVS] [Commit] cjkcodecs/tests test_encoding_big5.py test_encoding_cp932.py test_encoding_cp949
Brought to you by:
perky
From: Hye-Shik C. <pe...@us...> - 2003-06-06 05:55:33
|
perky 03/06/05 22:55:32 Modified: tests test_encoding_big5.py test_encoding_cp932.py test_encoding_cp949.py test_encoding_euc_jp.py test_encoding_euc_kr.py test_encoding_gb18030.py test_encoding_gb2312.py test_encoding_gbk.py test_encoding_johab.py test_encoding_shift_jis.py test_mapping_cp932.py test_mapping_cp949.py test_mapping_cp950.py test_mapping_euc_jp.py test_mapping_euc_kr.py test_mapping_gb2312.py test_mapping_gbk.py test_mapping_johab.py test_mapping_shift_jis.py Log: Specify more detailed encoding name for ours (cjkcodecs.blah) Revision Changes Path 1.2 +2 -2 cjkcodecs/tests/test_encoding_big5.py Index: test_encoding_big5.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_big5.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- test_encoding_big5.py 28 May 2003 07:01:35 -0000 1.1 +++ test_encoding_big5.py 6 Jun 2003 05:55:30 -0000 1.2 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_big5.py,v 1.1 2003/05/28 07:01:35 perky Exp $ +# $Id: test_encoding_big5.py,v 1.2 2003/06/06 05:55:30 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_Big5(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'big5' + encoding = 'cjkcodecs.big5' tstring = test_multibytecodec_support.load_teststring('big5') errortests = ( # invalid bytes 1.4 +2 -2 cjkcodecs/tests/test_encoding_cp932.py Index: test_encoding_cp932.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_cp932.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- test_encoding_cp932.py 27 May 2003 05:17:47 -0000 1.3 +++ test_encoding_cp932.py 6 Jun 2003 05:55:30 -0000 1.4 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_cp932.py,v 1.3 2003/05/27 05:17:47 perky Exp $ +# $Id: test_encoding_cp932.py,v 1.4 2003/06/06 05:55:30 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_CP932(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'cp932' + encoding = 'cjkcodecs.cp932' tstring = test_multibytecodec_support.load_teststring('shift_jis') errortests = ( # invalid bytes 1.2 +2 -2 cjkcodecs/tests/test_encoding_cp949.py Index: test_encoding_cp949.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_cp949.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- test_encoding_cp949.py 27 May 2003 05:17:47 -0000 1.1 +++ test_encoding_cp949.py 6 Jun 2003 05:55:30 -0000 1.2 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_cp949.py,v 1.1 2003/05/27 05:17:47 perky Exp $ +# $Id: test_encoding_cp949.py,v 1.2 2003/06/06 05:55:30 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_CP949(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'cp949' + encoding = 'cjkcodecs.cp949' tstring = test_multibytecodec_support.load_teststring('cp949') errortests = ( # invalid bytes 1.3 +2 -2 cjkcodecs/tests/test_encoding_euc_jp.py Index: test_encoding_euc_jp.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_euc_jp.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_encoding_euc_jp.py 27 May 2003 05:17:47 -0000 1.2 +++ test_encoding_euc_jp.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_euc_jp.py,v 1.2 2003/05/27 05:17:47 perky Exp $ +# $Id: test_encoding_euc_jp.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_EUC_JP(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'euc_jp' + encoding = 'cjkcodecs.euc_jp' tstring = test_multibytecodec_support.load_teststring('euc_jp') errortests = ( # invalid bytes 1.2 +2 -2 cjkcodecs/tests/test_encoding_euc_kr.py Index: test_encoding_euc_kr.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_euc_kr.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- test_encoding_euc_kr.py 27 May 2003 05:17:48 -0000 1.1 +++ test_encoding_euc_kr.py 6 Jun 2003 05:55:31 -0000 1.2 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_euc_kr.py,v 1.1 2003/05/27 05:17:48 perky Exp $ +# $Id: test_encoding_euc_kr.py,v 1.2 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_EUCKR(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'euc_kr' + encoding = 'cjkcodecs.euc_kr' tstring = test_multibytecodec_support.load_teststring('euc_kr') errortests = ( # invalid bytes 1.2 +2 -2 cjkcodecs/tests/test_encoding_gb18030.py Index: test_encoding_gb18030.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_gb18030.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- test_encoding_gb18030.py 28 May 2003 07:48:14 -0000 1.1 +++ test_encoding_gb18030.py 6 Jun 2003 05:55:31 -0000 1.2 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_gb18030.py,v 1.1 2003/05/28 07:48:14 perky Exp $ +# $Id: test_encoding_gb18030.py,v 1.2 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_GB18030(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'gb18030' + encoding = 'cjkcodecs.gb18030' tstring = test_multibytecodec_support.load_teststring('gb18030') errortests = ( # invalid bytes 1.2 +2 -2 cjkcodecs/tests/test_encoding_gb2312.py Index: test_encoding_gb2312.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_gb2312.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- test_encoding_gb2312.py 28 May 2003 07:48:15 -0000 1.1 +++ test_encoding_gb2312.py 6 Jun 2003 05:55:31 -0000 1.2 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_gb2312.py,v 1.1 2003/05/28 07:48:15 perky Exp $ +# $Id: test_encoding_gb2312.py,v 1.2 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_GB2312(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'gb2312' + encoding = 'cjkcodecs.gb2312' tstring = test_multibytecodec_support.load_teststring('gb2312') errortests = ( # invalid bytes 1.2 +2 -2 cjkcodecs/tests/test_encoding_gbk.py Index: test_encoding_gbk.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_gbk.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- test_encoding_gbk.py 28 May 2003 07:48:15 -0000 1.1 +++ test_encoding_gbk.py 6 Jun 2003 05:55:31 -0000 1.2 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_gbk.py,v 1.1 2003/05/28 07:48:15 perky Exp $ +# $Id: test_encoding_gbk.py,v 1.2 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_GBK(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'gbk' + encoding = 'cjkcodecs.gbk' tstring = test_multibytecodec_support.load_teststring('gbk') errortests = ( # invalid bytes 1.2 +2 -2 cjkcodecs/tests/test_encoding_johab.py Index: test_encoding_johab.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_johab.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- test_encoding_johab.py 29 May 2003 07:33:44 -0000 1.1 +++ test_encoding_johab.py 6 Jun 2003 05:55:31 -0000 1.2 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_johab.py,v 1.1 2003/05/29 07:33:44 perky Exp $ +# $Id: test_encoding_johab.py,v 1.2 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_JOHAB(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'johab' + encoding = 'cjkcodecs.johab' tstring = test_multibytecodec_support.load_teststring('johab') errortests = ( # invalid bytes 1.4 +2 -2 cjkcodecs/tests/test_encoding_shift_jis.py Index: test_encoding_shift_jis.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_shift_jis.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- test_encoding_shift_jis.py 27 May 2003 05:17:48 -0000 1.3 +++ test_encoding_shift_jis.py 6 Jun 2003 05:55:31 -0000 1.4 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_encoding_shift_jis.py,v 1.3 2003/05/27 05:17:48 perky Exp $ +# $Id: test_encoding_shift_jis.py,v 1.4 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -35,7 +35,7 @@ import unittest class Test_SJIS(test_multibytecodec_support.TestBase, unittest.TestCase): - encoding = 'shift_jis' + encoding = 'cjkcodecs.shift_jis' tstring = test_multibytecodec_support.load_teststring('shift_jis') errortests = ( # invalid bytes 1.3 +2 -2 cjkcodecs/tests/test_mapping_cp932.py Index: test_mapping_cp932.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_cp932.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_mapping_cp932.py 28 May 2003 08:02:06 -0000 1.2 +++ test_mapping_cp932.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_cp932.py,v 1.2 2003/05/28 08:02:06 perky Exp $ +# $Id: test_mapping_cp932.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -41,7 +41,7 @@ class TestCP932Map(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'cp932' + encoding = 'cjkcodecs.cp932' mapfilename = 'CP932.TXT' def test_main(): 1.3 +2 -2 cjkcodecs/tests/test_mapping_cp949.py Index: test_mapping_cp949.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_cp949.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_mapping_cp949.py 28 May 2003 08:02:06 -0000 1.2 +++ test_mapping_cp949.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_cp949.py,v 1.2 2003/05/28 08:02:06 perky Exp $ +# $Id: test_mapping_cp949.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -41,7 +41,7 @@ 'org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT') class TestCP949Map(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'cp949' + encoding = 'cjkcodecs.cp949' mapfilename = 'CP949.TXT' def test_main(): 1.3 +2 -2 cjkcodecs/tests/test_mapping_cp950.py Index: test_mapping_cp950.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_cp950.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_mapping_cp950.py 28 May 2003 08:02:06 -0000 1.2 +++ test_mapping_cp950.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_cp950.py,v 1.2 2003/05/28 08:02:06 perky Exp $ +# $Id: test_mapping_cp950.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -42,7 +42,7 @@ class TestCP950Map(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'cp950' + encoding = 'cjkcodecs.cp950' mapfilename = 'CP950.TXT' def test_main(): 1.3 +2 -2 cjkcodecs/tests/test_mapping_euc_jp.py Index: test_mapping_euc_jp.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_euc_jp.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_mapping_euc_jp.py 28 May 2003 08:02:06 -0000 1.2 +++ test_mapping_euc_jp.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_euc_jp.py,v 1.2 2003/05/28 08:02:06 perky Exp $ +# $Id: test_mapping_euc_jp.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -42,7 +42,7 @@ class TestEUCJPMap(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'euc_jp' + encoding = 'cjkcodecs.euc_jp' mapfilename = 'EUC-JP.TXT' def test_main(): 1.3 +2 -2 cjkcodecs/tests/test_mapping_euc_kr.py Index: test_mapping_euc_kr.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_euc_kr.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_mapping_euc_kr.py 28 May 2003 08:02:06 -0000 1.2 +++ test_mapping_euc_kr.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_euc_kr.py,v 1.2 2003/05/28 08:02:06 perky Exp $ +# $Id: test_mapping_euc_kr.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -42,7 +42,7 @@ class TestEUCKRMap(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'euc_kr' + encoding = 'cjkcodecs.euc_kr' mapfilename = 'EUC-KR.TXT' def test_main(): 1.3 +2 -2 cjkcodecs/tests/test_mapping_gb2312.py Index: test_mapping_gb2312.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_gb2312.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_mapping_gb2312.py 28 May 2003 08:02:06 -0000 1.2 +++ test_mapping_gb2312.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_gb2312.py,v 1.2 2003/05/28 08:02:06 perky Exp $ +# $Id: test_mapping_gb2312.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -42,7 +42,7 @@ class TestGB2312Map(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'gb2312' + encoding = 'cjkcodecs.gb2312' mapfilename = 'EUC-CN.TXT' def test_main(): 1.3 +2 -2 cjkcodecs/tests/test_mapping_gbk.py Index: test_mapping_gbk.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_gbk.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_mapping_gbk.py 28 May 2003 08:02:07 -0000 1.2 +++ test_mapping_gbk.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_gbk.py,v 1.2 2003/05/28 08:02:07 perky Exp $ +# $Id: test_mapping_gbk.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -42,7 +42,7 @@ class TestGBKMap(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'gbk' + encoding = 'cjkcodecs.gbk' mapfilename = 'CP936.TXT' def test_main(): 1.4 +2 -2 cjkcodecs/tests/test_mapping_johab.py Index: test_mapping_johab.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_johab.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- test_mapping_johab.py 6 Jun 2003 05:26:56 -0000 1.3 +++ test_mapping_johab.py 6 Jun 2003 05:55:31 -0000 1.4 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_johab.py,v 1.3 2003/06/06 05:26:56 perky Exp $ +# $Id: test_mapping_johab.py,v 1.4 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -42,7 +42,7 @@ class TestJOHABMap(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'johab' + encoding = 'cjkcodecs.johab' mapfilename = 'JOHAB.TXT' # KS X 1001 standard assigned 0x5c as WON SIGN. # but, in early 90s that is the only era used johab widely, 1.3 +2 -2 cjkcodecs/tests/test_mapping_shift_jis.py Index: test_mapping_shift_jis.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tests/test_mapping_shift_jis.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- test_mapping_shift_jis.py 28 May 2003 08:02:07 -0000 1.2 +++ test_mapping_shift_jis.py 6 Jun 2003 05:55:31 -0000 1.3 @@ -27,7 +27,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: test_mapping_shift_jis.py,v 1.2 2003/05/28 08:02:07 perky Exp $ +# $Id: test_mapping_shift_jis.py,v 1.3 2003/06/06 05:55:31 perky Exp $ # from test import test_support @@ -42,7 +42,7 @@ class TestSJISMap(test_multibytecodec_support.TestBase_Mapping, unittest.TestCase): - encoding = 'shift_jis' + encoding = 'cjkcodecs.shift_jis' mapfilename = 'SHIFTJIS.TXT' def test_main(): |