Subversion-Projekte lars-tiefland.ci

Revision

Revision 68 | Revision 2049 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 68 Revision 1257
Zeile 152... Zeile 152...
152
			return FALSE;
152
			return FALSE;
153
		}
153
		}
Zeile 154... Zeile 154...
154
 
154
 
155
		if (in_array($expected, array('is_object', 'is_string', 'is_bool', 'is_true', 'is_false', 'is_int', 'is_numeric', 'is_float', 'is_double', 'is_array', 'is_null', 'is_resource'), TRUE))
155
		if (in_array($expected, array('is_object', 'is_string', 'is_bool', 'is_true', 'is_false', 'is_int', 'is_numeric', 'is_float', 'is_double', 'is_array', 'is_null', 'is_resource'), TRUE))
156
		{
-
 
157
			$expected = str_replace('is_double', 'is_float', $expected);
156
		{
158
			$result = $expected($test);
157
			$result = $expected($test);
159
			$extype = str_replace(array('true', 'false'), 'bool', str_replace('is_', '', $expected));
158
			$extype = str_replace(array('true', 'false'), 'bool', str_replace('is_', '', $expected));
160
		}
159
		}
161
		else
160
		else
Zeile 289... Zeile 288...
289
			{
288
			{
290
				if ( ! in_array($key, $this->_test_items_visible))
289
				if ( ! in_array($key, $this->_test_items_visible))
291
				{
290
				{
292
					continue;
291
					continue;
293
				}
292
				}
294
				elseif (in_array($key, array('test_name', 'test_datatype', 'test_res_datatype', 'result'), TRUE))
293
				elseif (in_array($key, array('test_name', 'test_datatype', 'res_datatype', 'result'), TRUE))
295
				{
294
				{
296
					if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$val), FALSE)))
295
					if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$val), FALSE)))
297
					{
296
					{
298
						$val = $line;
297
						$val = $line;
299
					}
298
					}