Annotate public non-test methods

Newer versions of TestNG try to run these.
This commit is contained in:
Andrew Gaul 2022-07-31 19:29:29 +09:00 committed by Andrew Gaul
parent 65e16c97f5
commit 2b217fb2bb
4 changed files with 6 additions and 0 deletions

View File

@ -107,6 +107,7 @@ public class RoleTest {
assertNotEquals(role2, role1, "role2 should not equal role1");
}
@Test(enabled = false)
public static void verifyRunListForEnvironment(Map<String, List<String>> envRunList, String envName,
String... expectedEntries) {
assertTrue(envRunList.containsKey(envName), "envRunList contains " + envName);

View File

@ -36,6 +36,8 @@ import com.google.inject.Injector;
@Test(groups = "unit")
public class ListHostsResponseTest extends BaseParserTest<Set<Host>, Set<Host>> {
@Override
@Test(enabled = false)
public void compare(Set<Host> expects, Set<Host> response) {
assertEquals(response.toString(), expects.toString());
}

View File

@ -64,6 +64,7 @@ public class FilesystemBlobIntegrationTest extends BaseBlobIntegrationTest {
// Mac OS X HFS+ does not support UserDefinedFileAttributeView:
// https://bugs.openjdk.java.net/browse/JDK-8030048
@Override
@Test(enabled = false)
public void checkContentMetadata(Blob blob) {
if (!isMacOSX()) {
super.checkContentMetadata(blob);

View File

@ -99,6 +99,7 @@ public class BaseBlobSignerLiveTest extends BaseBlobStoreIntegrationTest {
}
}
@Test(enabled = false)
public void testSignGetUrlWithTime(final long timeout) throws InterruptedException, IOException {
String name = "hello";
String text = "fooooooooooooooooooooooo";
@ -166,6 +167,7 @@ public class BaseBlobSignerLiveTest extends BaseBlobStoreIntegrationTest {
}
}
@Test(enabled = false)
public void testSignPutUrlWithTime(final long timeout) throws InterruptedException, IOException {
String name = "hello";
String text = "fooooooooooooooooooooooo";