diff options
author | Tobias Sarnowski <sarnowski@cosmocode.de> | 2012-04-18 12:00:10 +0200 |
---|---|---|
committer | Tobias Sarnowski <sarnowski@cosmocode.de> | 2012-04-18 12:00:10 +0200 |
commit | d59108b91e9bf9fd56dc2e697cf31f9bbc7f9cd4 (patch) | |
tree | a982304293b7c4ce83bbd8b8ab551b63322e1f0d /_test/cases/inc/common_cleanText.test.php | |
parent | 96199bdf84b54d92069ce0779aad324599c2542e (diff) | |
download | rpg-d59108b91e9bf9fd56dc2e697cf31f9bbc7f9cd4.tar.gz rpg-d59108b91e9bf9fd56dc2e697cf31f9bbc7f9cd4.tar.bz2 |
removed deprecated old test framework
Diffstat (limited to '_test/cases/inc/common_cleanText.test.php')
-rw-r--r-- | _test/cases/inc/common_cleanText.test.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/_test/cases/inc/common_cleanText.test.php b/_test/cases/inc/common_cleanText.test.php deleted file mode 100644 index 332dbaeed..000000000 --- a/_test/cases/inc/common_cleanText.test.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php - -require_once DOKU_INC.'inc/init.php'; -require_once DOKU_INC.'inc/common.php'; - -class common_cleanText extends UnitTestCase { - - function test_unix(){ - $unix = 'one - two - - three'; - - $this->assertEqual($unix,cleanText($unix)); - } - - function test_win(){ - $unix = 'one - two - - three'; - $win = 'one - two - - three'; - - $this->assertEqual(bin2hex($unix),'6f6e650a2020202020202020202020202020202074776f0a0a202020202020202020202020202020207468726565'); - $this->assertEqual(bin2hex($win),'6f6e650d0a2020202020202020202020202020202074776f0d0a0d0a202020202020202020202020202020207468726565'); - $this->assertNotEqual($unix,$win); - $this->assertEqual($unix,cleanText($win)); - } -} - -//Setup VIM: ex: et ts=4 : |