From 75a7fe80bab7c8982bfffe5e065dc0f874ac69dd Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 3 Jul 2007 20:44:12 +0000 Subject: [PATCH] add some comment headers --- t/Asset/File.t | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/t/Asset/File.t b/t/Asset/File.t index 36e08aa94..cf1112454 100644 --- a/t/Asset/File.t +++ b/t/Asset/File.t @@ -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();