Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/Common.test.php')
-rw-r--r--tests/modules/Common.test.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/modules/Common.test.php b/tests/modules/Common.test.php
new file mode 100644
index 0000000000..702ef95fb0
--- /dev/null
+++ b/tests/modules/Common.test.php
@@ -0,0 +1,33 @@
+<?php
+if(!defined("PATH_TEST_TO_ROOT")) {
+ define('PATH_TEST_TO_ROOT', '../..');
+}
+require_once PATH_TEST_TO_ROOT ."/tests/config_test.php";
+
+class Test_Piwik_Common extends UnitTestCase
+{
+ function __construct( $title = '')
+ {
+ parent::__construct( $title );
+ }
+
+ public function setUp()
+ {
+ }
+
+ public function tearDown()
+ {
+ }
+
+ // sanitize with magic quotes on
+ // sanitize with magic quotes off
+ // sanitize an array OK
+ // sanitize an array with bad value level1
+ // sanitize an array with bad value level2
+ // sanitize a bad string
+ // sanitize a bad integer
+ public function test_sanitizeInputValues()
+ {
+ }
+}
+?> \ No newline at end of file