com.att.nsa.testing.TestCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saToolkit Show documentation
Show all versions of saToolkit Show documentation
Library of code used in various service assurance systems
/*******************************************************************************
* Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
*******************************************************************************/
package com.att.nsa.testing;
/**
* An abstract test condition. When evaluated, the condition returns its
* State.
*
*
*/
public interface TestCondition
{
public enum State
{
/**
* More work is to be done before this test result is available.
*/
PENDING,
/**
* The test condition is satisfied.
*/
SATISFIED,
/**
* The test is complete and the condition has failed.
*/
FAILED
}
/**
* Return the current state of this test condition.
* @return
*/
State evaluate ();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy