"x",
cat,
"testArchiveAsset",
"testArchiveAsset" );
TableDataResult res = impl.listAssets( pkgUUID,
arr( "testArchiveAsset" ),
0,
-1,
AssetItemGrid.RULE_LIST_TABLE_ID );
assertEquals( 4,
res.data.length );
assertEquals( 4,
res.total );
assertFalse( res.hasNext );
TableDataResult td = impl.loadArchivedAssets( 0,
1000 );
assertEquals( -1,
td.total );
impl.archiveAsset( uuid4 );
TableDataResult td2 = impl.loadArchivedAssets( 0,
1000 );
assertTrue( td2.data.length == td.data.length + 1 );
res = impl.listAssets( pkgUUID,
arr( "testArchiveAsset" ),