From d5473cf2e046e2454e29368c66f4c4bd560f5ceb Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 8 Dec 2010 20:15:29 +0100 Subject: [PATCH] import unittests --- tests/parseStatus.phpt | 13 ++++++++ tests/status-1.htm | 75 +++++++++++++++++++++++++++++++++++++++++ tests/status-2.htm | 76 ++++++++++++++++++++++++++++++++++++++++++ tests/status-3.htm | 75 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 239 insertions(+) create mode 100644 tests/parseStatus.phpt create mode 100644 tests/status-1.htm create mode 100644 tests/status-2.htm create mode 100644 tests/status-3.htm diff --git a/tests/parseStatus.phpt b/tests/parseStatus.phpt new file mode 100644 index 0000000..9bac5a2 --- /dev/null +++ b/tests/parseStatus.phpt @@ -0,0 +1,13 @@ +--TEST-- +test wrt3g_parseStatus() +--FILE-- +parseStatus( + file_get_contents('status-1.htm') + ) +); +--EXPECT-- +asd diff --git a/tests/status-1.htm b/tests/status-1.htm new file mode 100644 index 0000000..7eeb48c --- /dev/null +++ b/tests/status-1.htm @@ -0,0 +1,75 @@ + + + +WWAN Status + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  : 
  : BASE DE
  : 
+ + diff --git a/tests/status-2.htm b/tests/status-2.htm new file mode 100644 index 0000000..1b4b9cb --- /dev/null +++ b/tests/status-2.htm @@ -0,0 +1,76 @@ + + + +WWAN Status + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  : 
  : 
  : 
+ + diff --git a/tests/status-3.htm b/tests/status-3.htm new file mode 100644 index 0000000..360cceb --- /dev/null +++ b/tests/status-3.htm @@ -0,0 +1,75 @@ + + + +WWAN Status + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  : 
  : BASE DE
  : 
+ + -- 2.30.2