Changed the functions names with letter capital CT#191

skala
Arthur Portugal 15 years ago
parent 0ac0e9d791
commit 96972073ce
  1. 12
      tests/main/inc/lib/message.lib.test.php

@ -3,13 +3,13 @@ require_once(api_get_path(LIBRARY_PATH).'message.lib.php');
class TestMessage extends UnitTestCase { class TestMessage extends UnitTestCase {
function testget_number_of_messages_mask() { function testGetNumberOfMessagesMask() {
$res=get_number_of_messages_mask(); $res=get_number_of_messages_mask();
$this->assertTrue(is_string($res)); $this->assertTrue(is_string($res));
//var_dump($res); //var_dump($res);
} }
function testget_message_data_mask() { function testGetMessageDataMask() {
$from=''; $from='';
$number_of_items=get_number_of_messages_mask(); $number_of_items=get_number_of_messages_mask();
$column='3'; $column='3';
@ -19,7 +19,7 @@ class TestMessage extends UnitTestCase {
//var_dump($res); //var_dump($res);
} }
function testget_message_data_send_mask() { function testGetMessageDataSendMask() {
$from=''; $from='';
$number_of_items=get_number_of_messages_send_mask(); $number_of_items=get_number_of_messages_send_mask();
$column= '3'; $column= '3';
@ -29,14 +29,14 @@ class TestMessage extends UnitTestCase {
//var_dump($res); //var_dump($res);
} }
function testget_number_of_messages_send_mask() { function testGetNumberOfMessagesSendMask() {
$res=get_number_of_messages_send_mask(); $res=get_number_of_messages_send_mask();
$this->assertTrue(is_string($res)); $this->assertTrue(is_string($res));
//var_dump($res); //var_dump($res);
} }
function testinbox_display() { function testInboxDisplay() {
global $charset; global $charset;
ob_start(); ob_start();
$res=inbox_display(); $res=inbox_display();
@ -45,7 +45,7 @@ class TestMessage extends UnitTestCase {
//var_dump($res); //var_dump($res);
} }
function testoutbox_display() { function testOutboxDisplay() {
global $charset; global $charset;
ob_start(); ob_start();
$res=outbox_display(); $res=outbox_display();

Loading…
Cancel
Save