Project

General

Profile

« Previous | Next » 

Revision 3186

Added by Jing Tao over 17 years ago

Add delete method in inserting spatial data.

View differences:

test/edu/ucsb/nceas/metacattest/client/MetacatClientTest.java
676 676
	            response = m.update(identifier,
677 677
	                    new StringReader(spatialtestdocument), null);
678 678
	            assertTrue(response.indexOf("<success>") != -1);
679
	            Thread.sleep(6000);
680
	            String response2 = m.delete(identifier);
681
	            assertTrue(response2.indexOf("<success>") != -1);
679 682
	            //System.err.println(response);
680 683
	
681 684
	        } catch (MetacatAuthException mae) {

Also available in: Unified diff