Author: ts
Date: Tue Oct 9 19:38:50 2007
New Revision: 6407
Log:
- Fixed missed test cases.
Modified:
trunk/Webdav/tests/plugin_configuration_test.php
Modified: trunk/Webdav/tests/plugin_configuration_test.php
==============================================================================
--- trunk/Webdav/tests/plugin_configuration_test.php [iso-8859-1] (original)
+++ trunk/Webdav/tests/plugin_configuration_test.php [iso-8859-1] Tue Oct 9
19:38:50 2007
@@ -38,9 +38,13 @@
$this->assertEquals(
array(
'ezcWebdavTransport' => array(
- 'extractLiveProperty' => array(
- array( 'fooBar', 'baz' ),
- array( 'fooCustomWebdavPluginConfiguration', 'test' ),
+ 'beforeExtractLiveProperty' => array(
+ array( 'ezcWebdavPluginRegistryTest',
'callbackBeforeTest' ),
+ array( $cfg, 'testCallback' ),
+ ),
+ 'afterExtractLiveProperty' => array(
+ array( 'ezcWebdavPluginRegistryTest',
'callbackAfterTest' ),
+ array( $cfg, 'testCallback' )
),
),
),
@@ -52,7 +56,7 @@
{
$cfg = new fooCustomWebdavPluginConfiguration();
$this->assertEquals(
- 'foobar',
+ 'foonamespace',
$cfg->getNamespace()
);
}
@@ -61,9 +65,8 @@
{
$cfg = new fooCustomWebdavPluginConfiguration();
$cfg->init();
- $this->assertEquals(
- 'bar',
- $cfg->foo
+ $this->assertTrue(
+ $cfg->init
);
}
}
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components