mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user