use of com.adobe.cq.wcm.core.components.models.List in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ListImplTest method testProperties.
@Test
@Override
protected void testProperties() {
List list = getListUnderTest(LIST_1);
assertTrue(list.showDescription());
assertTrue(list.showModificationDate());
assertTrue(list.linkItems());
assertTrue(list.linkItems());
assertEquals(2, list.getListItems().size());
Utils.testJSONExport(list, Utils.getTestExporterJSONPath(testBase, LIST_1));
}
use of com.adobe.cq.wcm.core.components.models.List in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ListImplTest method testStaticWithVanityPaths.
@Test
public void testStaticWithVanityPaths() {
List list = getListUnderTest(LIST_2);
checkListConsistencyByLinkURL(list, new String[] { "/context/page_3.html", "/context/4_page.html" });
Utils.testJSONExport(list, Utils.getTestExporterJSONPath(TEST_BASE, LIST_2));
}
Aggregations