org.dasein.cloud.test.platform
Class StatefulMonitoringTests

java.lang.Object
  extended by org.dasein.cloud.test.platform.StatefulMonitoringTests

public class StatefulMonitoringTests
extends Object

Verifies the stateful elements of cloud monitoring solutions like AWS CloudWatch.

Created by Cameron Stokes: 2/19/13 2:38 PM

Since:
2013.04
Version:
2013.04 initial version
Author:
Cameron Stokes

Field Summary
 org.junit.rules.TestName name
           
 
Constructor Summary
StatefulMonitoringTests()
           
 
Method Summary
 void after()
           
 void before()
           
static void cleanUp()
           
static void configure()
           
 void testAddAlarm()
          Requires setAvailableMetricProperties() to be run first.
 void testDisableAlarmActions()
          Requires addTestAlarm() to be run first.
 void testEnableAlarmActions()
          Requires addTestAlarm() to be run first.
 void testListAlarms()
          Requires addTestAlarm() ()} to be run first.
 void testListAlarmsWithFilter()
          Requires setAvailableMetricProperties() to be run first.
 void testListMetrics()
           
 void testListMetricsWithBadFilter()
           
 void testListMetricsWithFilter()
          Requires setAvailableMetricProperties() to be run first.
 void testRemoveAlarms()
          Requires addTestAlarm() to be run first.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final org.junit.rules.TestName name
Constructor Detail

StatefulMonitoringTests

public StatefulMonitoringTests()
Method Detail

configure

public static void configure()

cleanUp

public static void cleanUp()

before

public void before()

after

public void after()

testListMetrics

public void testListMetrics()
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListMetricsWithFilter

public void testListMetricsWithFilter()
                               throws org.dasein.cloud.CloudException,
                                      org.dasein.cloud.InternalException
Requires setAvailableMetricProperties() to be run first.

Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListMetricsWithBadFilter

public void testListMetricsWithBadFilter()
                                  throws org.dasein.cloud.CloudException,
                                         org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListAlarms

public void testListAlarms()
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Requires addTestAlarm() ()} to be run first.

Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testListAlarmsWithFilter

public void testListAlarmsWithFilter()
                              throws org.dasein.cloud.CloudException,
                                     org.dasein.cloud.InternalException
Requires setAvailableMetricProperties() to be run first.

Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testAddAlarm

public void testAddAlarm()
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Requires setAvailableMetricProperties() to be run first.

Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testRemoveAlarms

public void testRemoveAlarms()
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Requires addTestAlarm() to be run first.

Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testEnableAlarmActions

public void testEnableAlarmActions()
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Requires addTestAlarm() to be run first.

Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

testDisableAlarmActions

public void testDisableAlarmActions()
                             throws org.dasein.cloud.CloudException,
                                    org.dasein.cloud.InternalException
Requires addTestAlarm() to be run first.

Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.