we must explicitly disable inherited test methods in surefire even when the class is disabled

git-svn-id: http://jclouds.googlecode.com/svn/trunk@1857 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2009-08-09 23:01:29 +00:00
parent 4d9ccc797e
commit 1740912593
1 changed files with 68 additions and 1 deletions

View File

@ -25,6 +25,8 @@ package org.jclouds.aws.s3;
import java.io.File;
import java.io.InputStream;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;
import org.jclouds.gae.config.GaeHttpCommandExecutorServiceModule;
import org.testng.annotations.BeforeMethod;
@ -40,9 +42,74 @@ import com.google.inject.Module;
*
* @author Adrian Cole
*/
@Test(enabled = false, sequential = true, testName = "s3.JCloudsGaePerformanceLiveTest", groups = { "live" })
@Test(enabled = false, sequential = true, testName = "s3.JCloudsGaePerformanceLiveTest", groups = { "disabled" })
public class JCloudsGaePerformanceLiveTest extends BaseJCloudsPerformance {
@Override
@Test(enabled = false)
public void testPutBytesParallel() throws InterruptedException, ExecutionException,
TimeoutException {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutBytesParallelEU() throws InterruptedException, ExecutionException,
TimeoutException {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutBytesSerial() throws Exception {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutBytesSerialEU() throws Exception {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutFileParallel() throws InterruptedException, ExecutionException,
TimeoutException {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutFileSerial() throws Exception {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutInputStreamParallel() throws InterruptedException, ExecutionException,
TimeoutException {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutInputStreamSerial() throws Exception {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutStringParallel() throws InterruptedException, ExecutionException,
TimeoutException {
throw new UnsupportedOperationException();
}
@Override
@Test(enabled = false)
public void testPutStringSerial() throws Exception {
throw new UnsupportedOperationException();
}
public JCloudsGaePerformanceLiveTest() {
super();
// otherwise, we'll get timeout errors