summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Lang_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codeigniter/core/Lang_test.php')
-rw-r--r--tests/codeigniter/core/Lang_test.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/codeigniter/core/Lang_test.php b/tests/codeigniter/core/Lang_test.php
new file mode 100644
index 000000000..82e279a52
--- /dev/null
+++ b/tests/codeigniter/core/Lang_test.php
@@ -0,0 +1,31 @@
+<?php
+
+class Lang_test extends CodeIgniterTestCase {
+
+ protected $lang;
+
+ public function setUp()
+ {
+ $cls = $this->ci_core_class('lang');
+ $this->lang = new $cls;
+ }
+
+ // --------------------------------------------------------------------
+
+ public function testLoad()
+ {
+ // get_config needs work
+ $this->markTestIncomplete('get_config needs work');
+ //$this->assertTrue($this->lang->load('profiler'));
+ }
+
+ // --------------------------------------------------------------------
+
+ public function testLine()
+ {
+ $this->markTestIncomplete('get_config needs work');
+
+ $this->assertEquals('URI STRING', $this->lang->line('profiler_uri_string'));
+ }
+
+} \ No newline at end of file