add some comment headers

This commit is contained in:
Colin Kuskie 2007-07-03 20:44:12 +00:00
parent 7f59bd3f33
commit 75a7fe80ba

View file

@ -57,6 +57,12 @@ my $properties = {
my $defaultAsset = WebGUI::Asset->getDefault($session);
my $asset = $defaultAsset->addChild($properties, $properties->{id});
############################################
#
# getStorageLocation
#
############################################
ok($asset->getStorageLocation, 'File Asset getStorageLocation initialized');
ok($asset->get('storageId'), 'getStorageLocation updates asset object with storage location');
is($asset->get('storageId'), $asset->getStorageLocation->getId, 'Asset storageId and cached storageId agree');
@ -71,6 +77,12 @@ is($storage->getId, $asset->getStorageLocation->getId, 'Cached Asset storage loc
$versionTag->commit;
############################################
#
# getStorageFromPost
#
############################################
my $fileStorage = WebGUI::Storage->create($session);
$mocker->set_always('getValueFromPost', $fileStorage->getId);
my $fileFormStorage = $asset->getStorageFromPost();