Skeleton extension for Universal Language Selector
* Basic extension code with i18n * Adds a link to personal links to trigger ULS * Core uls javascript code, to plug to the given trigger. * Qunit, PHPUnit framework in place. * and lot of TODOs and FIXMEs Patch set 2: * A tiny whitespace fix. Change-Id: I300647a21e0b7f65b7d9dc6101014ea9389c9f2a
This commit is contained in:
committed by
Amir E. Aharoni
parent
237820113d
commit
8527e33475
2
tests/phpunit/Makefile
Normal file
2
tests/phpunit/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
default:
|
||||
php ../../../tests/phpunit/phpunit.php .
|
||||
18
tests/qunit/ext.uls.tests.js
Normal file
18
tests/qunit/ext.uls.tests.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* QUnit tests for ULS
|
||||
*
|
||||
* @file
|
||||
* @author Santhosh Thottingal
|
||||
* @copyright Copyright © 2012 Santhosh Thottingal
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
|
||||
*/
|
||||
( function () {
|
||||
|
||||
module( "ext.uls", QUnit.newMwEnvironment() );
|
||||
|
||||
test( "-- Initial check", function() {
|
||||
expect( 2 );
|
||||
ok( $.fn.uls, "$.fn.uls is defined" );
|
||||
} );
|
||||
|
||||
}());
|
||||
Reference in New Issue
Block a user