Revision 9031
Added by Jing Tao over 9 years ago
IdentifierManagerTest.java | ||
---|---|---|
258 | 258 |
System.out.println("the head 1 is "+head.getValue()); |
259 | 259 |
assertTrue(head.getValue().equals(guid.getValue())); |
260 | 260 |
assertTrue(IdentifierManager.getInstance().systemMetadataSIDExists(seriesId.getValue())); |
261 |
assertTrue(!IdentifierManager.getInstance().systemMetadataGUIDExists(seriesId.getValue()));
|
|
262 |
assertTrue(IdentifierManager.getInstance().systemMetadataGUIDExists(guid.getValue()));
|
|
261 |
assertTrue(!IdentifierManager.getInstance().systemMetadataPIDExists(seriesId.getValue()));
|
|
262 |
assertTrue(IdentifierManager.getInstance().systemMetadataPIDExists(guid.getValue()));
|
|
263 | 263 |
assertTrue(!IdentifierManager.getInstance().systemMetadataSIDExists(guid.getValue())); |
264 | 264 |
|
265 | 265 |
//do a update with the same series id |
Also available in: Unified diff
Change methods'name base on the change on the source code.