+ [unittest] add the unittest comments for prepareCardDataset.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/lib/screen.unittest.class.php';
|
||||
|
||||
/**
|
||||
|
||||
title=测试 screenModel->prepareCardDataset();
|
||||
timeout=0
|
||||
cid=1
|
||||
|
||||
*/
|
||||
|
||||
$screen = new screenTest();
|
||||
$component1 = new stdclass();
|
||||
$component1->type = 'card';
|
||||
$component1->option = new stdclass();
|
||||
|
||||
$component2 = clone $component1;
|
||||
$component2->styles = 1;
|
||||
Reference in New Issue
Block a user