Search in sources :

Example 1 with CompareContentParams

use of com.enonic.xp.content.CompareContentParams in project xp by enonic.

the class ContentServiceImplTest_publish method assertStatus.

private void assertStatus(final ContentId id, CompareStatus status) {
    final CompareContentResult compare = this.contentService.compare(new CompareContentParams(id, WS_OTHER));
    assertEquals(status, compare.getCompareStatus());
}
Also used : CompareContentResult(com.enonic.xp.content.CompareContentResult) CompareContentParams(com.enonic.xp.content.CompareContentParams)

Aggregations

CompareContentParams (com.enonic.xp.content.CompareContentParams)1 CompareContentResult (com.enonic.xp.content.CompareContentResult)1