From ae4cb5963676bdd9415f1b6652942ed462026fc5 Mon Sep 17 00:00:00 2001 From: Tobias Sarnowski Date: Mon, 16 Apr 2012 17:36:10 +0000 Subject: unified unit and integration tests --- _testing/unittests/inc/utf8_substr.test.php | 43 ----------------------------- 1 file changed, 43 deletions(-) delete mode 100644 _testing/unittests/inc/utf8_substr.test.php (limited to '_testing/unittests/inc/utf8_substr.test.php') diff --git a/_testing/unittests/inc/utf8_substr.test.php b/_testing/unittests/inc/utf8_substr.test.php deleted file mode 100644 index b4684d4a2..000000000 --- a/_testing/unittests/inc/utf8_substr.test.php +++ /dev/null @@ -1,43 +0,0 @@ -assertEquals(utf8_substr($test[0],$test[1],$test[2]),$test[3]); - } - } - - function test2_bug891() { - // we test multiple cases here - format: in, offset, length, out - $tests = array(); - - $str = str_repeat('в',66000).'@@'; - $tests[] = array($str, 65600, 1, 'в'); - $tests[] = array($str,0,66002,$str); - - foreach($tests as $test){ - $this->assertEquals(utf8_substr($test[0],$test[1],$test[2]),$test[3]); - } - } - -} -//Setup VIM: ex: et ts=4 : -- cgit v1.2.3