Revision f652956b
Added by Andreas Kohlbecker over 6 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/idminter/RegistrationIdentifierMinterTest.java | ||
---|---|---|
41 | 41 |
@Test |
42 | 42 |
@DataSet("RegistrationIdentifierMinterTest.xml") |
43 | 43 |
public void testNextValueNoDomain(){ |
44 |
printDataSet(System.err, new String[]{"REGISTRATION"}); |
|
44 |
|
|
45 | 45 |
RegistrationIdentifierMinter minter = new RegistrationIdentifierMinter(); |
46 | 46 |
minter.setSessionFactory(factory); |
47 | 47 |
minter.setMinLocalId("100"); |
... | ... | |
53 | 53 |
@Test |
54 | 54 |
@DataSet("RegistrationIdentifierMinterTest.xml") |
55 | 55 |
public void testNextValueAndString(){ |
56 |
printDataSet(System.err, new String[]{"REGISTRATION"}); |
|
57 | 56 |
RegistrationIdentifierMinter minter = new RegistrationIdentifierMinter(); |
58 | 57 |
minter.setSessionFactory(factory); |
59 | 58 |
minter.setMinLocalId("100"); |
... | ... | |
67 | 66 |
@Test |
68 | 67 |
@DataSet("RegistrationIdentifierMinterTest.xml") |
69 | 68 |
public void testNextValueNewRange(){ |
70 |
printDataSet(System.err, new String[]{"REGISTRATION"}); |
|
71 | 69 |
RegistrationIdentifierMinter minter = new RegistrationIdentifierMinter(); |
72 | 70 |
minter.setSessionFactory(factory); |
73 | 71 |
minter.setMinLocalId("300"); |
... | ... | |
80 | 78 |
@Test |
81 | 79 |
@DataSet("RegistrationIdentifierMinterTest.xml") |
82 | 80 |
public void testNextValueOutOfRange(){ |
83 |
printDataSet(System.err, new String[]{"REGISTRATION"}); |
|
84 | 81 |
RegistrationIdentifierMinter minter = new RegistrationIdentifierMinter(); |
85 | 82 |
minter.setSessionFactory(factory); |
86 | 83 |
minter.setMinLocalId("100"); |
Also available in: Unified diff
removing debug output