*/
public class OrgAuthorityServiceTest extends AbstractAuthorityServiceTest<OrgauthoritiesCommon, OrganizationsCommon> {
- /** The logger. */
+ private static final int MAX_CONTACTS = 1;
+ /** The logger. */
private final String CLASS_NAME = OrgAuthorityServiceTest.class.getName();
private final Logger logger = LoggerFactory.getLogger(CLASS_NAME);
return newID;
}
- /**
- * Creates the contact list.
- *
- * @param testName the test name
- * @throws Exception the exception
- */
- @Test(dataProvider = "testName", groups = {"createList"},
- dependsOnMethods = {"createItemList"})
- public void createContactList(String testName) throws Exception {
- // Add contacts to the initially-created, known item record.
- for (int j = 0; j < nItemsToCreateInList; j++) {
- createContact(testName);
- }
- }
-
// ---------------------------------------------------------------
// CRUD tests : READ tests
// ---------------------------------------------------------------
// In addition, there will be 'nItemsToCreateInList'
// additional items created by the createItemList test,
// all associated with the same parent resource.
- int nExpectedItems = nItemsToCreateInList + 1;
+ int nExpectedItems = MAX_CONTACTS;
if (logger.isDebugEnabled()) {
logger.debug(testName + ": Expected "
+ nExpectedItems + " items; got: " + nItemsReturned);
<properties>
<annox.version>0.5.0</annox.version>
<jaxb2-basics.version>0.6.2</jaxb2-basics.version>
- <maven-jaxb2-plugin.version>0.13.1</maven-jaxb2-plugin.version>
+ <maven-jaxb2-plugin.version>0.13.3</maven-jaxb2-plugin.version>
<jaxb.version>2.2.11</jaxb.version>
<resteasy.version>3.0.19.Final</resteasy.version>
<mysql.driver.version>5.1.8</mysql.driver.version>