mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8566 201d5d3c-b55e-5fd7-737f-ddc643e51545
42 lines
800 B
PHP
42 lines
800 B
PHP
<?php
|
|
|
|
/**
|
|
* Test class for Table.
|
|
*/
|
|
class TableTest extends CubridTest
|
|
{
|
|
/**
|
|
* @var Table
|
|
*/
|
|
protected $object;
|
|
|
|
protected function setUp()
|
|
{
|
|
$this->object = new Table('"xe_member"', '"m"');
|
|
}
|
|
|
|
protected function tearDown()
|
|
{
|
|
}
|
|
|
|
public function testToString()
|
|
{
|
|
$this->assertEquals('"xe_member" as "m"', $this->object->toString());
|
|
}
|
|
|
|
public function testGetName()
|
|
{
|
|
$this->assertEquals('"xe_member"', $this->object->getName());
|
|
}
|
|
|
|
public function testGetAlias()
|
|
{
|
|
$this->assertEquals('"m"', $this->object->getAlias());
|
|
}
|
|
|
|
public function testIsJoinTable()
|
|
{
|
|
$this->assertEquals(false, $this->object->isJoinTable());
|
|
}
|
|
}
|
|
?>
|