Skip to content

Commit

Permalink
move tests into the right namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Mar 15, 2013
1 parent bcb3081 commit 086ae44
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
@@ -1,5 +1,5 @@

package org.fcrepo.api.legacy;
package org.fcrepo.api;

import java.io.IOException;
import java.io.UnsupportedEncodingException;
Expand Down
@@ -1,5 +1,5 @@

package org.fcrepo.api.legacy;
package org.fcrepo.api;

import static java.util.regex.Pattern.DOTALL;
import static java.util.regex.Pattern.compile;
Expand All @@ -23,6 +23,7 @@
import org.apache.http.entity.mime.MultipartEntity;
import org.apache.http.entity.mime.content.StringBody;
import org.apache.http.util.EntityUtils;
import org.fcrepo.api.AbstractResourceTest;
import org.fcrepo.jaxb.responses.management.DatastreamFixity;
import org.fcrepo.jaxb.responses.management.FixityStatus;
import org.junit.Test;
Expand Down
Expand Up @@ -4,7 +4,6 @@
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.message.BasicNameValuePair;
import org.fcrepo.api.legacy.AbstractResourceTest;
import org.junit.Test;

import java.util.ArrayList;
Expand Down
@@ -1,5 +1,5 @@

package org.fcrepo.api.legacy;
package org.fcrepo.api;

import static java.util.regex.Pattern.DOTALL;
import static java.util.regex.Pattern.compile;
Expand All @@ -13,6 +13,7 @@
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.util.EntityUtils;
import org.fcrepo.api.AbstractResourceTest;
import org.junit.Test;

public class FedoraIdentifiersTest extends AbstractResourceTest {
Expand Down
@@ -1,5 +1,5 @@

package org.fcrepo.api.legacy;
package org.fcrepo.api;

import static java.util.regex.Pattern.compile;
import static org.junit.Assert.assertEquals;
Expand All @@ -10,6 +10,7 @@
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.util.EntityUtils;
import org.fcrepo.api.AbstractResourceTest;
import org.junit.Test;

public class FedoraObjectsTest extends AbstractResourceTest {
Expand Down
@@ -1,5 +1,5 @@

package org.fcrepo.api.legacy;
package org.fcrepo.api;

import static java.util.regex.Pattern.DOTALL;
import static java.util.regex.Pattern.compile;
Expand All @@ -13,6 +13,7 @@
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.util.EntityUtils;
import org.fcrepo.api.AbstractResourceTest;
import org.junit.Test;

public class FedoraRepositoryTest extends AbstractResourceTest {
Expand Down Expand Up @@ -50,7 +51,7 @@ public void testDescribeHtml() throws Exception {
final String description = EntityUtils.toString(response.getEntity());
logger.debug("Found the repository description:\n" + description);
assertTrue("Failed to find a proper repo version", compile(
"Number Of Objects").matcher(
"Number Of Objects: ").matcher(
description).find());
}

Expand Down

0 comments on commit 086ae44

Please sign in to comment.