Skip to content
Snippets Groups Projects
Commit e6b6edd1 authored by vkovtun's avatar vkovtun
Browse files

SSDM-9845 Added test SearchDataSetTest.testSearchWithContainer() and renamed...

SSDM-9845 Added test SearchDataSetTest.testSearchWithContainer() and renamed the old one with the same name.
parent a3f8152e
Branches hdf5_1_12_0
No related tags found
No related merge requests found
......@@ -121,6 +121,16 @@ public class SearchDataSetTest extends AbstractDataSetTest
@Test
public void testSearchWithContainer()
{
final DataSetSearchCriteria criteria = new DataSetSearchCriteria();
criteria.withContainer();
testSearch(TEST_USER, criteria, "CONTAINER_1", "CONTAINER_2", "20110509092359990-11", "20110509092359990-12",
"VALIDATIONS_IMPOS-27", "COMPONENT_1A", "COMPONENT_2A", "COMPONENT_1B", "COMPONENT_3A", "COMPONENT_3AB",
"COMPONENT_3AX");
}
@Test
public void testSearchWithContainerWithPermId()
{
DataSetSearchCriteria criteria = new DataSetSearchCriteria();
criteria.withContainer().withPermId().thatEquals("20110509092359990-10");
......@@ -145,7 +155,7 @@ public class SearchDataSetTest extends AbstractDataSetTest
}
@Test
public void testSearchWithParent()
public void testSearchWithParentWithCode()
{
DataSetSearchCriteria criteria = new DataSetSearchCriteria();
criteria.withParents().withCode().thatEquals("20081105092159111-1");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment