use of com.adobe.granite.ui.components.ds.DataSource in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ElementsDataSourceServletTest method testFragmentPathNonExisting.
@Test
void testFragmentPathNonExisting() throws ServletException, IOException {
DataSource dataSource = getDataSource(servlet, DS_FRAGMENT_PATH_NON_EXISTING);
assertDataSource(dataSource, new String[0], new String[0]);
}
use of com.adobe.granite.ui.components.ds.DataSource in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ElementsDataSourceServletTest method testComponentPathTextOnly.
@Test
void testComponentPathTextOnly() throws ServletException, IOException {
DataSource dataSource = getDataSource(servlet, DS_COMPONENT_PATH_TEXT_ONLY);
assertDataSource(dataSource, ELEMENT_NAMES, ELEMENT_TITLES);
}
use of com.adobe.granite.ui.components.ds.DataSource in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ElementsDataSourceServletTest method testFragmentPathStructured.
@Test
void testFragmentPathStructured() throws ServletException, IOException {
DataSource dataSource = getDataSource(servlet, DS_FRAGMENT_PATH_STRUCTURED);
assertDataSource(dataSource, ELEMENT_NAMES, ELEMENT_TITLES);
}
use of com.adobe.granite.ui.components.ds.DataSource in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ElementsDataSourceServletTest method testNoConfig.
@Test
void testNoConfig() throws ServletException, IOException {
DataSource dataSource = getDataSource(servlet, DS_NO_CONFIG);
assertDataSource(dataSource, new String[0], new String[0]);
}
use of com.adobe.granite.ui.components.ds.DataSource in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ElementsDataSourceServletTest method testComponentPathNonExisting.
@Test
void testComponentPathNonExisting() throws ServletException, IOException {
DataSource dataSource = getDataSource(servlet, DS_COMPONENT_PATH__NON_EXISTING);
assertDataSource(dataSource, new String[0], new String[0]);
}
Aggregations