diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-06 20:41:58 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-06 20:41:58 +0200 |
commit | d1587defeb0304755d9a937aa688ee82098de246 (patch) | |
tree | 54904c545b9d6054d49df8f1cbb0fb8f28727495 /tests/mocks/libraries | |
parent | fd9e46e852d073ae6fb8680f26e9825805104e1c (diff) | |
parent | ea09a8a5552f2aacdeab0c88a605fe44047ebd0a (diff) |
Merge upstream branch
Diffstat (limited to 'tests/mocks/libraries')
-rw-r--r-- | tests/mocks/libraries/parser.php | 3 | ||||
-rw-r--r-- | tests/mocks/libraries/table.php | 15 | ||||
-rw-r--r-- | tests/mocks/libraries/typography.php | 3 | ||||
-rw-r--r-- | tests/mocks/libraries/useragent.php | 3 |
4 files changed, 0 insertions, 24 deletions
diff --git a/tests/mocks/libraries/parser.php b/tests/mocks/libraries/parser.php deleted file mode 100644 index 81dcfb37e..000000000 --- a/tests/mocks/libraries/parser.php +++ /dev/null @@ -1,3 +0,0 @@ -<?php - -class Mock_Libraries_Parser extends CI_Parser {}
\ No newline at end of file diff --git a/tests/mocks/libraries/table.php b/tests/mocks/libraries/table.php deleted file mode 100644 index 1a6ff8d35..000000000 --- a/tests/mocks/libraries/table.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php - -class Mock_Libraries_Table extends CI_Table { - - // Overide inaccesible private or protected method - public function __call($method, $params) - { - if (is_callable(array($this, '_'.$method))) - { - return call_user_func_array(array($this, '_'.$method), $params); - } - - throw new BadMethodCallException('Method '.$method.' was not found'); - } -}
\ No newline at end of file diff --git a/tests/mocks/libraries/typography.php b/tests/mocks/libraries/typography.php deleted file mode 100644 index 0f76c5745..000000000 --- a/tests/mocks/libraries/typography.php +++ /dev/null @@ -1,3 +0,0 @@ -<?php - -class Mock_Libraries_Typography extends CI_Typography {}
\ No newline at end of file diff --git a/tests/mocks/libraries/useragent.php b/tests/mocks/libraries/useragent.php deleted file mode 100644 index c957cde5b..000000000 --- a/tests/mocks/libraries/useragent.php +++ /dev/null @@ -1,3 +0,0 @@ -<?php - -class Mock_Libraries_UserAgent extends CI_User_agent {}
\ No newline at end of file |