-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install SMW for some of the builds on TravisCI
This to run the SemanticMaps tests
- Loading branch information
1 parent
29b3816
commit 99c6664
Showing
36 changed files
with
90 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,17 @@ | |
/** | ||
* @covers SMGeoCoordsValue | ||
* | ||
* @group SemanticMaps | ||
* @group SMWExtension | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
class SMGeoCoordsValueTest extends \PHPUnit_Framework_TestCase { | ||
|
||
public function setUp() { | ||
if ( !defined( 'SMW_VERSION' ) ) { | ||
$this->markTestSkipped( 'SMW is not available' ); | ||
} | ||
} | ||
|
||
public function testConstruct() { | ||
$geoDI = new SMWDIGeoCoord( 23, 42 ); | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,17 @@ | |
/** | ||
* @covers MapsCoordinates | ||
* | ||
* @since 0.6.5 | ||
* | ||
* @group Maps | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
class MapsDistanceParserTest extends \MediaWikiTestCase { | ||
|
||
class MapsDistanceParserTest extends \PHPUnit_Framework_TestCase { | ||
|
||
public function setUp() { | ||
if ( !defined( 'MEDIAWIKI' ) ) { | ||
$this->markTestSkipped( 'MediaWiki is not available' ); | ||
} | ||
} | ||
|
||
public static $distances = [ | ||
'1' => 1, | ||
'1m' => 1, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,17 @@ | |
/** | ||
* @covers MapsMapper | ||
* | ||
* @since 3.6 | ||
* | ||
* @group Maps | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Peter Grassberger < [email protected] > | ||
*/ | ||
class MapsMapperTest extends \PHPUnit_Framework_TestCase { | ||
|
||
public function setUp() { | ||
if ( !defined( 'MEDIAWIKI' ) ) { | ||
$this->markTestSkipped( 'MediaWiki is not available' ); | ||
} | ||
} | ||
|
||
public function imageUrlProvider() { | ||
return [ | ||
['markerImage.png', 'markerImage.png'], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,6 @@ | |
/** | ||
* @covers MapsCoordinates | ||
* | ||
* @group Maps | ||
* @group ParserHook | ||
* @group CoordinatesTest | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,10 +7,6 @@ | |
/** | ||
* @covers MapsDisplayMap | ||
* | ||
* @group Maps | ||
* @group ParserHook | ||
* @group DisplayMapTest | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,6 @@ | |
/** | ||
* @covers MapsDistance | ||
* | ||
* @group Maps | ||
* @group ParserHook | ||
* @group MapsDistanceTest | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,6 @@ | |
/** | ||
* @covers MapsFinddestination | ||
* | ||
* @group Maps | ||
* @group ParserHook | ||
* @group MapsFinddestinationTest | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,6 @@ | |
/** | ||
* @covers MapsGeocode | ||
* | ||
* @group Maps | ||
* @group ParserHook | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,6 @@ | |
/** | ||
* @covers MapsGeodistance | ||
* | ||
* @group Maps | ||
* @group ParserHook | ||
* @group GeodistanceTest | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,6 @@ | |
/** | ||
* @covers MapsMapsDoc | ||
* | ||
* @group Maps | ||
* @group ParserHook | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,17 @@ | |
use ParamProcessor\Processor; | ||
|
||
/** | ||
* @group Maps | ||
* @group ParserHook | ||
* | ||
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
abstract class ParserHookTest extends \PHPUnit_Framework_TestCase { | ||
|
||
public static function setUpBeforeClass() { | ||
if ( !defined( 'MEDIAWIKI' ) ) { | ||
self::markTestSkipped( 'MediaWiki is not available' ); | ||
} | ||
} | ||
|
||
/** | ||
* @since 2.0 | ||
* @return \ParserHook | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.