git.cweiske.de
/
linksys-wrt3g-tools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
config.php file is not needed anymore
[linksys-wrt3g-tools.git]
/
tests
/
index_wstatus1-aquiring.phpt
1
--TEST--
2
test Wrt3g_HtmlParser::index_wstatus1() when we have no connection
3
--FILE--
4
<?php
5
chdir(dirname(__FILE__));
6
require_once dirname(__FILE__) . '/../Wrt3g/HtmlParser.php';
7
$p = new Wrt3g_HtmlParser();
8
var_dump(
9
$p->index_wstatus1(
10
file_get_contents('index_wstatus1-aquiring.htm')
11
)
12
);
13
--EXPECT--
14
array(3) {
15
["type"]=>
16
NULL
17
["network"]=>
18
NULL
19
["signal strength"]=>
20
NULL
21
}