use of org.devgateway.ocds.web.rest.controller.request.TextSearchRequest in project ocvn by devgateway.
the class OrganizationEndpointsTest method testOrganizationSearchText.
@Test
public void testOrganizationSearchText() {
final TextSearchRequest osr = new TextSearchRequest();
osr.setText("Development");
final List<Organization> organizations = organizationSearchController.searchText(osr);
Assert.assertEquals(1, organizations.size(), 0);
}
use of org.devgateway.ocds.web.rest.controller.request.TextSearchRequest in project ocvn by devgateway.
the class OrganizationEndpointsTest method testSupplierSaerchText.
@Test
public void testSupplierSaerchText() {
final TextSearchRequest osr = new TextSearchRequest();
osr.setText("Development");
final List<Organization> organizations = supplierSearchController.searchText(osr);
Assert.assertEquals(0, organizations.size(), 0);
}
use of org.devgateway.ocds.web.rest.controller.request.TextSearchRequest in project ocvn by devgateway.
the class OrganizationEndpointsTest method testBuyerSearchText.
@Test
public void testBuyerSearchText() {
final TextSearchRequest osr = new TextSearchRequest();
osr.setText("Development");
final List<Organization> organizations = buyerSearchController.searchText(osr);
Assert.assertEquals(1, organizations.size(), 0);
}
use of org.devgateway.ocds.web.rest.controller.request.TextSearchRequest in project ocvn by devgateway.
the class VNImportAndEndpointsTest method testProcuringEntitySearchController.
@Test
public void testProcuringEntitySearchController() {
List<Organization> procuringEntities = procuringEntitySearchController.searchText(new TextSearchRequest());
Assert.assertEquals(3, procuringEntities.size(), 0);
}
use of org.devgateway.ocds.web.rest.controller.request.TextSearchRequest in project ocvn by devgateway.
the class OrganizationEndpointsTest method testProcuringEntitySearchText.
@Test
public void testProcuringEntitySearchText() {
final TextSearchRequest osr = new TextSearchRequest();
osr.setText("Development");
final List<Organization> organizations = procuringEntitySearchController.searchText(osr);
Assert.assertEquals(1, organizations.size(), 0);
}
Aggregations