/* The contents of this file are subject to the license and copyright terms
* detailed in the license directory at the root of the source tree (also
* available online at http://fedora-commons.org/license/).
*/
package fedora.test.api;
import junit.framework.Test;
import junit.framework.TestSuite;
import fedora.test.FedoraServerTestCase;
import static fedora.test.api.TestHTTPStatusCodes.RI_SEARCH_PATH;
import static fedora.test.api.TestHTTPStatusCodes.checkError;
/**
* HTTP status code tests to be run when API-A authentication is off and the
* resource index is disabled.
*
* @author Chris Wilper
*/
public class TestHTTPStatusCodesConfigA
extends FedoraServerTestCase {
public static Test suite() {
TestSuite suite = new TestSuite("TestHTTPStatusCodesConfigA TestSuite");
suite.addTestSuite(TestHTTPStatusCodesConfigA.class);
suite.addTest(fedora.test.api.TestHTTPStatusCodes.suite());
return suite;
}
//---
// API-A Lite: riSearch
//---
public void testRISearch_Disabled() throws Exception {
checkError(RI_SEARCH_PATH);
}
}