Project

General

Profile

Revision 5611

Added by berkley almost 10 years ago

minor changes to crudservicetest

View differences:

test/edu/ucsb/nceas/metacat/dataone/CrudServiceTest.java
60 60
 */
61 61
public class CrudServiceTest extends MCTestCase 
62 62
{   
63
    private int createCount = 0;
64
    
63 65
    /**
64 66
    * consstructor for the test
65 67
    */
......
81 83
	 */
82 84
	public void tearDown() 
83 85
	{
86
	    System.out.println(createCount + " docs created in this test session.");
84 87
	}
85 88

  
86 89
	/**
......
725 728
        SystemMetadata sm = createSystemMetadata(id, testDoc, format);
726 729
        //create the doc
727 730
        cs.create(token, id, sbis, sm);
731
        createCount++;
728 732
        return id;
729 733
	}
730 734
	

Also available in: Unified diff