Commented out un-implemented tests.

This commit is contained in:
Harald Kuhr 2009-10-16 17:41:56 +02:00
parent 20a61daa0e
commit 3314710867

View File

@ -1149,15 +1149,6 @@ public class HTTPCacheTestCase extends MockObjectTestCase {
assertTrue(Arrays.equals(value, result.toByteArray())); assertTrue(Arrays.equals(value, result.toByteArray()));
} }
public void testVaryVariations() {
fail("TODO");
}
public void testVarationsWithSameContentType() {
// I believe there is a bug if two variations has same content type...
fail("TODO");
}
public void testVaryStarNonCached() throws Exception { public void testVaryStarNonCached() throws Exception {
HTTPCache cache = new HTTPCache(TEMP_ROOT, 60000, 1024 * 1024, 10, true); HTTPCache cache = new HTTPCache(TEMP_ROOT, 60000, 1024 * 1024, 10, true);
@ -1240,6 +1231,16 @@ public class HTTPCacheTestCase extends MockObjectTestCase {
assertTrue(Arrays.equals(value, result.toByteArray())); assertTrue(Arrays.equals(value, result.toByteArray()));
} }
/*
public void testVaryVariations() {
fail("TODO");
}
public void testVarationsWithSameContentType() {
// I believe there is a bug if two variations has same content type...
fail("TODO");
}
// Test failing request (IOException) // Test failing request (IOException)
public void testIOException() { public void testIOException() {
fail("TODO"); fail("TODO");
@ -1303,4 +1304,5 @@ public class HTTPCacheTestCase extends MockObjectTestCase {
public void testServletRequest() { public void testServletRequest() {
fail("Not implemented"); fail("Not implemented");
} }
*/
} }