Project

General

Profile

« Previous | Next » 

Revision 9179

Added by Jing Tao over 9 years ago

Add a test in it. Otherwise it failed and said there is not tests found.

View differences:

test/edu/ucsb/nceas/metacat/dataone/v1/D1NodeV1ServiceTest.java
33 33
import java.util.Date;
34 34
import java.util.List;
35 35

  
36
import junit.framework.Test;
37
import junit.framework.TestSuite;
38

  
36 39
import org.apache.wicket.protocol.http.mock.MockHttpServletRequest;
37 40
import org.dataone.client.D1Node;
38 41
import org.dataone.client.NodeLocator;
......
75 78
    }
76 79
  
77 80
   
81
    public static Test suite() 
82
    {
83
        TestSuite suite = new TestSuite();
84
        suite.addTest(new D1NodeV1ServiceTest("initialize"));
85
        return suite;
86
    }
78 87
	
88
    public void initialize() {
89
        assertTrue(true);
90
    }
79 91
	
80 92
	/**
81 93
	 * create system metadata with a specified id

Also available in: Unified diff