summaryrefslogtreecommitdiffstats
path: root/tests/mocks
diff options
context:
space:
mode:
authorAlex Bilbie <alex@alexbilbie.com>2012-08-30 01:21:50 +0200
committerAlex Bilbie <alex@alexbilbie.com>2012-08-30 01:21:50 +0200
commitff1c1254c60867763f4e3cc8e4a001137406a7f6 (patch)
tree5a250319308245a3fb812cf207d6e8647d03d0ce /tests/mocks
parent3104e3f23724b68a396cbaf2f2b1d9677b935126 (diff)
parent096b894c7eb0db6ab13aa4478ebf52524b429fcb (diff)
Merge branch 'refs/heads/alexbilbie/develop' into codeigniter/develop
Diffstat (limited to 'tests/mocks')
-rw-r--r--tests/mocks/core/lang.php15
-rw-r--r--tests/mocks/libraries/upload.php3
-rw-r--r--tests/mocks/uploads/ci_logo.gifbin0 -> 3270 bytes
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/mocks/core/lang.php b/tests/mocks/core/lang.php
new file mode 100644
index 000000000..1b99aedb3
--- /dev/null
+++ b/tests/mocks/core/lang.php
@@ -0,0 +1,15 @@
+<?php
+
+class Mock_Core_Lang extends CI_Lang {
+
+ function line($line = '')
+ {
+ return FALSE;
+ }
+
+ function load($langfile, $idiom = '', $return = false, $add_suffix = true, $alt_path = '')
+ {
+ return;
+ }
+
+} \ No newline at end of file
diff --git a/tests/mocks/libraries/upload.php b/tests/mocks/libraries/upload.php
new file mode 100644
index 000000000..988723e45
--- /dev/null
+++ b/tests/mocks/libraries/upload.php
@@ -0,0 +1,3 @@
+<?php
+
+class Mock_Libraries_Upload extends CI_Upload {} \ No newline at end of file
diff --git a/tests/mocks/uploads/ci_logo.gif b/tests/mocks/uploads/ci_logo.gif
new file mode 100644
index 000000000..073ec14b4
--- /dev/null
+++ b/tests/mocks/uploads/ci_logo.gif
Binary files differ