@Test(enabled = true, dependsOnMethods = "testReboot") public void testSuspendResume() throws Exception { super.testSuspendResume(); }
@Test(enabled = true, dependsOnMethods = "testReboot") public void testSuspendResume() throws Exception { super.testSuspendResume(); }
@Test(enabled = true, dependsOnMethods = "testReboot") public void testSuspendResume() throws Exception { try { // may fail because of lack of AdminActions extension or non-admin user, so log and continue super.testSuspendResume(); } catch (AuthorizationException e) { getAnonymousLogger().info("testSuspendResume() threw, probably due to lack of privileges: " + e.getMessage()); } catch (UnsupportedOperationException e) { getAnonymousLogger().info("testSuspendResume() threw, probably due to unavailable AdminActions extension: " + e.getMessage()); } }
@Test(enabled = true, dependsOnMethods = "testReboot") public void testSuspendResume() throws Exception { try { // may fail because of lack of AdminActions extension or non-admin user, so log and continue super.testSuspendResume(); } catch (AuthorizationException e) { getAnonymousLogger().info("testSuspendResume() threw, probably due to lack of privileges: " + e.getMessage()); } catch (UnsupportedOperationException e) { getAnonymousLogger().info("testSuspendResume() threw, probably due to unavailable AdminActions extension: " + e.getMessage()); } }
@Test(enabled = true, dependsOnMethods = "testReboot") public void testSuspendResume() throws Exception { try { // may fail because of lack of AdminActions extension or non-admin user, so log and continue super.testSuspendResume(); } catch (AuthorizationException e) { getAnonymousLogger().info("testSuspendResume() threw, probably due to lack of privileges: " + e.getMessage()); } catch (UnsupportedOperationException e) { getAnonymousLogger().info("testSuspendResume() threw, probably due to unavailable AdminActions extension: " + e.getMessage()); } }