public class JMXValidator extends Object implements Serializable
| Constructor and Description |
|---|
JMXValidator(JMXBlackboard blackboard) |
JMXValidator(JMXEventRecorder recorder,
List<Expectation> expectedEvents) |
| Modifier and Type | Method and Description |
|---|---|
List<ValidationResult> |
validate()
Matches recorded events with expected events Returned list contains only
error or unexpected Events so if list is empty that means test has passed
successfully.
|
boolean |
validateAttributes(Expectation expectation,
List<ValidationResult> list,
MBeanServerConnection remoteMBS) |
void |
validateNotifications(Expectation expectation,
List<ValidationResult> list,
List<JMXNotification> recordedNotificationList) |
void |
validateOperations(Expectation expectation,
List<ValidationResult> list,
List<JMXOperation> recordedOpList) |
public JMXValidator(JMXBlackboard blackboard)
public JMXValidator(JMXEventRecorder recorder, List<Expectation> expectedEvents)
public List<ValidationResult> validate()
public boolean validateAttributes(Expectation expectation, List<ValidationResult> list, MBeanServerConnection remoteMBS)
public void validateOperations(Expectation expectation, List<ValidationResult> list, List<JMXOperation> recordedOpList)
public void validateNotifications(Expectation expectation, List<ValidationResult> list, List<JMXNotification> recordedNotificationList)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.