Commit graph

7 commits

Author SHA1 Message Date
Colin Kuskie
adb099dcea Add test to make sure Import Node's parent is Asset Root. 2006-09-07 20:12:05 +00:00
Roy Johnson
6b2eeba271 Added test for import node constructor 2006-09-07 18:39:22 +00:00
Roy Johnson
da1b2d3581 test to check the getMedia asset constructor 2006-08-16 21:23:05 +00:00
Frank Dillon
0703c41165 added tests for newByHashref constructor 2006-08-16 13:52:19 +00:00
Colin Kuskie
000b2fcce3 Reverting previous work. Asset->new must return an Asset, even if
no className is passed and the invocant's class is Asset.  This is
due to the root.  In the db, the root Asset has the className WebGUI::Asset,
and the getRoot method matches this.
Changed the failing test in Asset.t to look for a WebGUI::Asset to be returned.
Added two tests to Asset.t to validate the object returned by Asset->getRoot method.
Reverted previous work and updated the POD for Asset->new.
2006-08-08 17:43:44 +00:00
Roy Johnson
2e80acb9e8 10 new tests for Asset 2006-08-02 19:38:55 +00:00
Roy Johnson
93fc3bfa88 Started a new test suite for assets 2006-08-02 15:35:03 +00:00