/* 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 org.fcrepo.test.api;
import static org.fcrepo.test.api.TestHTTPStatusCodes.RI_SEARCH_PATH;
import static org.fcrepo.test.api.TestHTTPStatusCodes.checkError;
import junit.framework.JUnit4TestAdapter;
import org.fcrepo.test.FedoraServerTestCase;
import org.junit.AfterClass;
import org.junit.Test;
/**
* HTTP status code tests to be run when API-A authentication is off and the
* resource index is disabled.
*
* @author Chris Wilper
*/
public class TestHTTPStatusCodesConfigQ
extends FedoraServerTestCase {
public static junit.framework.Test suite() {
return new JUnit4TestAdapter(TestHTTPStatusCodesConfigQ.class);
}
@AfterClass
public static void cleanUp() throws Exception {
TestHTTPStatusCodes.cleanUp();
}
//---
// API-A Lite: riSearch
//---
@Test
public void testRISearch_Disabled() throws Exception {
checkError(RI_SEARCH_PATH);
}
}