summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Lang_test.php
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-05-06 18:38:04 +0200
committerGreg Aker <greg.aker@ellislab.com>2011-05-06 18:38:04 +0200
commitbd4c87543818bd4573308743d44e12b78349ecd0 (patch)
tree8afedb90cf13a1a65f89de70dbb4f0c26d4ccf05 /tests/codeigniter/core/Lang_test.php
parent02958b5b78835a484c1038d77f4bcfc5ae273a2d (diff)
parent827f3de2733e85ede6311feb2e4bf73ecf209eb3 (diff)
merging in changes
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..dcc3d0879
--- /dev/null
+++ b/tests/codeigniter/core/Lang_test.php
@@ -0,0 +1,31 @@
+<?php
+
+class Lang_test extends CI_TestCase {
+
+ protected $lang;
+
+ public function set_up()
+ {
+ $cls = $this->ci_core_class('lang');
+ $this->lang = new $cls;
+ }
+
+ // --------------------------------------------------------------------
+
+ public function test_load()
+ {
+ // get_config needs work
+ $this->markTestIncomplete('get_config needs work');
+ //$this->assertTrue($this->lang->load('profiler'));
+ }
+
+ // --------------------------------------------------------------------
+
+ public function test_line()
+ {
+ $this->markTestIncomplete('get_config needs work');
+
+ $this->assertEquals('URI STRING', $this->lang->line('profiler_uri_string'));
+ }
+
+} \ No newline at end of file