Revision 1120
Added by Jing Tao about 22 years ago
MetaCatServletNetTest.java | ||
---|---|---|
220 | 220 |
{ |
221 | 221 |
String name = "john"+MetaCatUtil.getOption("accNumSeparator") |
222 | 222 |
+serialNumber+MetaCatUtil.getOption("accNumSeparator")+"1"; |
223 |
MetaCatUtil.debugMessage("docid: "+name, 20); |
|
223 |
MetaCatUtil.debugMessage("insert docid: "+name, 20);
|
|
224 | 224 |
String content="<?xml version=\"1.0\"?>" |
225 | 225 |
+"<!DOCTYPE acl PUBLIC \"-//ecoinformatics.org//" |
226 | 226 |
+"eml-access-2.0.0beta6//EN\" \"http://pine.nceas.ucsb." |
... | ... | |
249 | 249 |
{ |
250 | 250 |
String name = "john"+MetaCatUtil.getOption("accNumSeparator") |
251 | 251 |
+serialNumber+MetaCatUtil.getOption("accNumSeparator")+"1"; |
252 |
MetaCatUtil.debugMessage("docid: "+name, 20); |
|
252 |
MetaCatUtil.debugMessage("insert docid: "+name, 20);
|
|
253 | 253 |
String content="<?xml version=\"1.0\"?>" |
254 | 254 |
+"<acl authSystem=\"knb\" order=\"allowFirst\">" |
255 | 255 |
+"<identifier>"+name+"</identifier>" |
... | ... | |
274 | 274 |
{ |
275 | 275 |
String name = "john"+MetaCatUtil.getOption("accNumSeparator") |
276 | 276 |
+serialNumber+MetaCatUtil.getOption("accNumSeparator")+"1"; |
277 |
MetaCatUtil.debugMessage("docid: "+name, 20); |
|
277 |
MetaCatUtil.debugMessage("insert non well-formed docid: "+name, 20);
|
|
278 | 278 |
String content="<?xml version=\"1.0\"?>" |
279 | 279 |
+"<acl authSystem=\"knb\" order=\"allowFirst\">" |
280 | 280 |
+"<identifier>"+name+"</identifier>" |
... | ... | |
332 | 332 |
{ |
333 | 333 |
String name = "john"+MetaCatUtil.getOption("accNumSeparator") |
334 | 334 |
+serialNumber+MetaCatUtil.getOption("accNumSeparator")+"2"; |
335 |
MetaCatUtil.debugMessage("docid: "+name, 20); |
|
335 |
MetaCatUtil.debugMessage("update docid: "+name, 20);
|
|
336 | 336 |
String content="<?xml version=\"1.0\"?>" |
337 | 337 |
+"<!DOCTYPE acl PUBLIC \"-//ecoinformatics.org//" |
338 | 338 |
+"eml-access-2.0.0beta6//EN\" \"http://pine.nceas.ucsb." |
... | ... | |
374 | 374 |
{ |
375 | 375 |
String name = "john"+MetaCatUtil.getOption("accNumSeparator") |
376 | 376 |
+serialNumber+MetaCatUtil.getOption("accNumSeparator")+"2"; |
377 |
MetaCatUtil.debugMessage("delete docid: "+name, 20); |
|
377 | 378 |
assert(handleDeleteFile(name)); |
378 | 379 |
|
379 | 380 |
} |
Also available in: Unified diff
Change some debug message.