add some test files
authorStricted <info@stricted.de>
Sun, 28 Jun 2015 06:17:55 +0000 (08:17 +0200)
committerStricted <info@stricted.de>
Sun, 28 Jun 2015 06:17:55 +0000 (08:17 +0200)
24 files changed:
.gitignore [new file with mode: 0644]
tests/arp.php [new file with mode: 0644]
tests/bonding_client.php [new file with mode: 0644]
tests/bonding_tr181.php [new file with mode: 0644]
tests/bonding_tunnel.php [new file with mode: 0644]
tests/dhcp_client.php [new file with mode: 0644]
tests/dhcp_server.php [new file with mode: 0644]
tests/dns.php [new file with mode: 0644]
tests/dsl.php [new file with mode: 0644]
tests/example.config.php [new file with mode: 0644]
tests/filterlist.php [new file with mode: 0644]
tests/igmp_proxy.php [new file with mode: 0644]
tests/igmp_snooping.php [new file with mode: 0644]
tests/interfaces.php [new file with mode: 0644]
tests/ipv6.php [new file with mode: 0644]
tests/lteinfo.php [new file with mode: 0644]
tests/memory.php [new file with mode: 0644]
tests/module.php [new file with mode: 0644]
tests/routing.php [new file with mode: 0644]
tests/session.php [new file with mode: 0644]
tests/speed.php [new file with mode: 0644]
tests/status.php [new file with mode: 0644]
tests/webdav.php [new file with mode: 0644]
tests/wlan.php [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..4c32ee7
--- /dev/null
@@ -0,0 +1 @@
+/tests/config.php
diff --git a/tests/arp.php b/tests/arp.php
new file mode 100644 (file)
index 0000000..38e56b7
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('arp'));
diff --git a/tests/bonding_client.php b/tests/bonding_client.php
new file mode 100644 (file)
index 0000000..e09eb7d
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('bonding_client'));
diff --git a/tests/bonding_tr181.php b/tests/bonding_tr181.php
new file mode 100644 (file)
index 0000000..ac5dad1
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('bonding_tr181'));
diff --git a/tests/bonding_tunnel.php b/tests/bonding_tunnel.php
new file mode 100644 (file)
index 0000000..3d97666
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('bonding_tunnel'));
diff --git a/tests/dhcp_client.php b/tests/dhcp_client.php
new file mode 100644 (file)
index 0000000..500644a
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('dhcp_client'));
diff --git a/tests/dhcp_server.php b/tests/dhcp_server.php
new file mode 100644 (file)
index 0000000..5e6413a
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('dhcp_server'));
diff --git a/tests/dns.php b/tests/dns.php
new file mode 100644 (file)
index 0000000..94e9929
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('dns'));
diff --git a/tests/dsl.php b/tests/dsl.php
new file mode 100644 (file)
index 0000000..cf899b3
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('dsl'));
diff --git a/tests/example.config.php b/tests/example.config.php
new file mode 100644 (file)
index 0000000..a59a48d
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+require_once('../speedport.class.php');
+$password = 'your_router_password';
+$url = 'http://speedport.ip/';
+$sp = new speedport($password, $url);
diff --git a/tests/filterlist.php b/tests/filterlist.php
new file mode 100644 (file)
index 0000000..90f7d21
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('filterlist'));
diff --git a/tests/igmp_proxy.php b/tests/igmp_proxy.php
new file mode 100644 (file)
index 0000000..7f7c316
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('igmp_proxy'));
diff --git a/tests/igmp_snooping.php b/tests/igmp_snooping.php
new file mode 100644 (file)
index 0000000..9513968
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('igmp_snooping'));
diff --git a/tests/interfaces.php b/tests/interfaces.php
new file mode 100644 (file)
index 0000000..5fd2168
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('interfaces'));
diff --git a/tests/ipv6.php b/tests/ipv6.php
new file mode 100644 (file)
index 0000000..1d25dce
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('ipv6'));
diff --git a/tests/lteinfo.php b/tests/lteinfo.php
new file mode 100644 (file)
index 0000000..26115f3
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('lteinfo'));
diff --git a/tests/memory.php b/tests/memory.php
new file mode 100644 (file)
index 0000000..e418b06
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('memory'));
diff --git a/tests/module.php b/tests/module.php
new file mode 100644 (file)
index 0000000..20b8a34
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('module'));
diff --git a/tests/routing.php b/tests/routing.php
new file mode 100644 (file)
index 0000000..39509ea
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('routing'));
diff --git a/tests/session.php b/tests/session.php
new file mode 100644 (file)
index 0000000..d0b693c
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('session'));
diff --git a/tests/speed.php b/tests/speed.php
new file mode 100644 (file)
index 0000000..a74799f
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('speed'));
diff --git a/tests/status.php b/tests/status.php
new file mode 100644 (file)
index 0000000..5a14859
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('status'));
diff --git a/tests/webdav.php b/tests/webdav.php
new file mode 100644 (file)
index 0000000..01d3cb2
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('webdav'));
diff --git a/tests/wlan.php b/tests/wlan.php
new file mode 100644 (file)
index 0000000..059e1f9
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+require_once('config.php');
+print_r($sp->getData('wlan'));