Project

General

Profile

« Previous | Next » 

Revision 9180

Added by Jing Tao over 9 years ago

Add a initial test.

View differences:

test/edu/ucsb/nceas/metacat/dataone/D1NodeServiceTest.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;
......
76 79
        // set up the fake request (for logging)
77 80
        request = new MockHttpServletRequest(null, null, null);
78 81
    }
79
  
82
    
83
    public static Test suite() 
84
    {
85
        TestSuite suite = new TestSuite();
86
        suite.addTest(new D1NodeServiceTest("initialize"));
87
        return suite;
88
    }
89
    
80 90
    /**
81 91
	 * Establish a testing framework by initializing appropriate objects
82 92
	 */

Also available in: Unified diff