コード例 #1
0
ファイル: ModelTest.php プロジェクト: abcarroll/DABL
 /**
  * @covers Model::isTextType
  */
 public function testIsTextType()
 {
     $types = array(Model::COLUMN_TYPE_CHAR, Model::COLUMN_TYPE_VARCHAR, Model::COLUMN_TYPE_LONGVARCHAR, Model::COLUMN_TYPE_CLOB, Model::COLUMN_TYPE_DATE, Model::COLUMN_TYPE_TIME, Model::COLUMN_TYPE_TIMESTAMP, Model::COLUMN_TYPE_BU_DATE, Model::COLUMN_TYPE_BU_TIMESTAMP);
     foreach ($types as $type) {
         $this->assertTrue(TestModel::isTextType($type));
     }
 }