|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.utjml.compiler.rt.JMLTestCoverage.CInfo
public static class JMLTestCoverage.CInfo
Class representing coverage of an atomic boolean expression. This class is a tuple consisting of the ID number of an atomic boolean expression and its evaluated value (true, false, or undefined).
| Method Summary | |
|---|---|
static JMLTestCoverage.CInfo |
defined(int id,
boolean val)
Creates a new coverage info for the given atomic boolean expression with the given value. |
boolean |
equals(Object other)
Returns true if this object is equal to the given object. |
int |
id()
Returns the identification number of the atomic boolean expression that this coverage info represents. |
String |
toString()
Returns a string representation of this coverage information. |
static JMLTestCoverage.CInfo |
undefined(int id)
Creates a new coverage info for the given atomic boolean expression with the undefied value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static JMLTestCoverage.CInfo defined(int id,
boolean val)
public static JMLTestCoverage.CInfo undefined(int id)
public int id()
public boolean equals(Object other)
equals in class Objectpublic String toString()
<coverage><id>, where
<id> is the id number of the atomic
boolean expression that this coverage info represents
an <coverage> is one of the following
coverage symbols:
toString in class Object
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||