Project

General

Profile

« Previous | Next » 

Revision 4407

Added by daigle about 16 years ago

Delete test document after test is through.

View differences:

test/edu/ucsb/nceas/metacattest/NonAsciiCharacterTest.java
348 348
            Thread.sleep(3000);
349 349
            queryDocWhichHasTitle(newdocid  + ".1", testTitle, EML2_0_1, SUCCESS);
350 350
            
351
            deleteDocid(newdocid  + ".1", SUCCESS, false);
352
            
351 353
            m.logout();
352 354
        }
353 355
        catch (MetacatAuthException mae) {
......
386 388
            Thread.sleep(3000);
387 389
            queryDocWhichHasTitle(newdocid  + ".1", testTitle, EML2_1_0, SUCCESS);
388 390
            
391
            deleteDocid(newdocid  + ".1", SUCCESS, false);
392
            
389 393
            m.logout();
390 394
        }
391 395
        catch (MetacatAuthException mae) {
......
424 428
            Thread.sleep(3000);
425 429
            queryDocWhichHasTitle(newdocid  + ".1", convertedTestTitle, EML2_0_1, SUCCESS);
426 430
            
431
            deleteDocid(newdocid  + ".1", SUCCESS, false);
432
            
427 433
            m.logout();
428 434
        }
429 435
        catch (MetacatAuthException mae) {
......
462 468
            Thread.sleep(3000);
463 469
            queryDocWhichHasTitle(newdocid  + ".1", convertedTestTitle, EML2_1_0, SUCCESS);
464 470
            
471
            deleteDocid(newdocid  + ".1", SUCCESS, false);
472
            
465 473
            m.logout();
466 474
        }
467 475
        catch (MetacatAuthException mae) {
......
499 507
            // this tests searching for the document in the database
500 508
            Thread.sleep(3000);
501 509
            queryDocWhichHasTitle(newdocid  + ".1", convertedTestTitle, EML2_0_1, SUCCESS);
510
            
511
            deleteDocid(newdocid  + ".1", SUCCESS, false);
502 512
  
503 513
            m.logout();
504 514
        }
......
538 548
            Thread.sleep(3000);
539 549
            queryDocWhichHasTitle(newdocid  + ".1", convertedTestTitle, EML2_1_0, SUCCESS);
540 550
            
551
            deleteDocid(newdocid  + ".1", SUCCESS, false);
552
            
541 553
            m.logout();
542 554
        }
543 555
        catch (MetacatAuthException mae) {
......
575 587
            Thread.sleep(3000);
576 588
            queryDocWhichHasTitle(newdocid  + ".1", testTitle, EML2_0_1, SUCCESS);
577 589
            
590
            deleteDocid(newdocid  + ".1", SUCCESS, false);
591
            
578 592
            m.logout();
579 593
        }
580 594
        catch (MetacatAuthException mae) {
......
612 626
            Thread.sleep(3000);
613 627
            queryDocWhichHasTitle(newdocid  + ".1", testTitle, EML2_1_0, SUCCESS);
614 628
            
629
            deleteDocid(newdocid  + ".1", SUCCESS, false);
630
            
615 631
            m.logout();
616 632
        }
617 633
        catch (MetacatAuthException mae) {

Also available in: Unified diff