* @filesource testproject.class.test.php
 * @author Francisco Mancardi
 *
 * 
 *
 * @internal revisions
 *
 */
require_once '../../../config.inc.php';
require_once 'common.php';
testlinkInitPage($db);
echo "<pre> testproject - constructor - testproject(&\$db)";
echo "</pre>";
$tproject_mgr = new testproject($db);
new dBug($tproject_mgr);
echo '<br>is public?' . $tproject_mgr->isPublic(3);
echo '<br>is public?' . $tproject_mgr->isPublic(1);
// create()
// function create($name,$color,$options,$notes,$active=1,$tcasePrefix='',$is_public=1)
$notes = " Created doing test ";
$color = '';
$options = new stdClass();
$options->requirement_mgmt = 1;
$options->priority_mgmt = 1;
$options->automated_execution = 1;
$active = 1;
$is_public = 1;
$namePrefix = 'TPX :: ';
$name = uniqid($namePrefix, true);
$tcasePrefix = uniqid('', false);
//$new_id = $tproject_mgr->create($name,$color,$options,$notes,$active,$tcasePrefix,$is_public);