Thumbnail Service: removed unessesary code to store transformation options on node, added GET for thumbnail collection resource, created thumbnails are kept in sync with the master file asynchronously

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9452 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2008-06-11 15:27:03 +00:00
parent fb856c8da6
commit 725497edc9
12 changed files with 409 additions and 291 deletions

View File

@@ -1,8 +1,16 @@
function testCreateThumbnail()
{
var thumbs = jpgOrig.getThumbnails();
test.assertNotNull(thumbs);
test.assertEquals(0, thumbs.length);
// Create a thumbnail
var thumbnail = jpgOrig.createThumbnail("medium");
test.assertNotNull(thumbnail);
thumbs = jpgOrig.getThumbnails();
test.assertNotNull(thumbs);
test.assertEquals(1, thumbs.length);
}
function testThumbnailService()