ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
testTextMatch ($haystack, $needle, $collation, $matchType, $result) | |
dataset () | |
testBadCollation () | |
@expectedException Sabre\DAV\Exception\BadRequest More... | |
testBadMatchType () | |
@expectedException Sabre\DAV\Exception\BadRequest More... | |
testEnsureUTF8_ascii () | |
testEnsureUTF8_latin1 () | |
testEnsureUTF8_utf8 () | |
Definition at line 5 of file StringUtilTest.php.
Sabre\DAV\StringUtilTest::dataset | ( | ) |
Definition at line 23 of file StringUtilTest.php.
Sabre\DAV\StringUtilTest::testBadCollation | ( | ) |
@expectedException Sabre\DAV\Exception\BadRequest
Definition at line 77 of file StringUtilTest.php.
References Sabre\DAV\StringUtil\textMatch().
Sabre\DAV\StringUtilTest::testBadMatchType | ( | ) |
@expectedException Sabre\DAV\Exception\BadRequest
Definition at line 87 of file StringUtilTest.php.
References Sabre\DAV\StringUtil\textMatch().
Sabre\DAV\StringUtilTest::testEnsureUTF8_ascii | ( | ) |
Definition at line 93 of file StringUtilTest.php.
References Sabre\DAV\StringUtil\ensureUTF8().
Sabre\DAV\StringUtilTest::testEnsureUTF8_latin1 | ( | ) |
Definition at line 105 of file StringUtilTest.php.
References Sabre\DAV\StringUtil\ensureUTF8().
Sabre\DAV\StringUtilTest::testEnsureUTF8_utf8 | ( | ) |
Definition at line 117 of file StringUtilTest.php.
References Sabre\DAV\StringUtil\ensureUTF8().
Sabre\DAV\StringUtilTest::testTextMatch | ( | $haystack, | |
$needle, | |||
$collation, | |||
$matchType, | |||
$result | |||
) |
string | $haystack | |
string | $needle | |
string | $collation | |
string | $matchType | |
string | $result |
Exception |
BadRequest
@dataProvider dataset
Definition at line 17 of file StringUtilTest.php.
References $result, and Sabre\DAV\StringUtil\textMatch().