$this->assertEquals( $supported, $this->handler->isSupportedFormat( $format ) );
}
+ /**
+ * @covers WikitextContentHandler::supportsDirectEditing
+ */
public function testSupportsDirectEditing() {
$handler = new WikiTextContentHandler();
$this->assertTrue( $handler->supportsDirectEditing(), 'direct editing is supported' );
}
*/
+ /**
+ * @covers WikitextContentHandler::getDataForSearchIndex
+ */
public function testDataIndexFieldsFile() {
$mockEngine = $this->createMock( 'SearchEngine' );
$title = Title::newFromText( 'Somefile.jpg', NS_FILE );