/**
* Tests for IEUrlExtension::findIE6Extension
+ * @todo tests below for findIE6Extension should be split into...
+ * ...a dataprovider and test method.
*/
class IEUrlExtensionTest extends MediaWikiTestCase {
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testSimple() {
$this->assertEquals(
'y',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testSimpleNoExt() {
$this->assertEquals(
'',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testEmpty() {
$this->assertEquals(
'',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testQuestionMark() {
$this->assertEquals(
'',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testExtQuestionMark() {
$this->assertEquals(
'x',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testQuestionMarkExt() {
$this->assertEquals(
'x',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testInvalidChar() {
$this->assertEquals(
'',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testInvalidCharThenExtension() {
$this->assertEquals(
'x',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testMultipleQuestionMarks() {
$this->assertEquals(
'c',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testExeException() {
$this->assertEquals(
'd',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testExeException2() {
$this->assertEquals(
'exe',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testHash() {
$this->assertEquals(
'',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testHash2() {
$this->assertEquals(
'',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testDotAtEnd() {
$this->assertEquals(
'',
);
}
+ /**
+ * @covers IEUrlExtension::findIE6Extension
+ */
public function testTwoDots() {
$this->assertEquals(
'z',