blob: 86202bd670943e5f07e81f496f64ebad0057bcbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/env php
<?php
require 'Test.php';
plan(3);
error_reporting( E_ALL );
define( 'MEDIAWIKI', 1 ); // Hack
require_ok( 'languages/Language.php' );
require_ok( 'includes/GlobalFunctions.php' );
require_ok( 'includes/Licenses.php' );
$str = "
* Free licenses:
** GFLD|Debian disagrees
";
#$lc = new Licenses ( $str );
#isa_ok( $lc, 'Licenses' );
#echo $lc->html;
?>
|