Unit tests for tree table.
More...
Protected Member Functions |
| setUp () |
Detailed Description
Unit tests for tree table.
- Author
- Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
- Version
- $Id$
Definition at line 33 of file ilWebResourceTest.php.
Member Function Documentation
ilwebresourceTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 37 of file ilWebResourceTest.php.
{
include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
ilUnitUtil::performInitialisation();
}
ilwebresourceTest::testLinkCheck |
( |
| ) |
|
ilwebresourceTest::testWebResourceParameters |
( |
| ) |
|
Definition at line 70 of file ilWebResourceTest.php.
References $data, and ilParameterAppender\_getParams().
{
include_once './Modules/WebResource/classes/class.ilParameterAppender.php';
$appender->setName('first');
$appender->setValue(1);
$appender->add(888);
foreach($params as $key =>
$data)
{
$appender->delete($key);
$this->assertEquals(
$data[
'name'],
'first');
$this->assertEquals(
$data[
'value'],1);
}
}
Field Documentation
ilwebresourceTest::$backupGlobals = FALSE |
|
protected |
The documentation for this class was generated from the following file: