org.eclipse.cdt.ui.testplugin.util
Class ExpectedStrings
java.lang.Object
org.eclipse.cdt.ui.testplugin.util.ExpectedStrings
public class ExpectedStrings
- extends java.lang.Object
- Author:
- Peter Graves
This utility class maintains a list of strings, and as a tests finds strings
in a structure/list, it will maintain a list of unfound/extra strings.
Constructor Summary |
ExpectedStrings()
Constructor for ExpectedStrings. |
ExpectedStrings(java.lang.String[] values)
Constructor for ExpectedStrings that accepts a list of strings that
we expect to get. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expStrings
public java.lang.String[] expStrings
ExpectedStrings
public ExpectedStrings()
- Constructor for ExpectedStrings.
ExpectedStrings
public ExpectedStrings(java.lang.String[] values)
- Constructor for ExpectedStrings that accepts a list of strings that
we expect to get.
foundString
public int foundString(java.lang.String current)
getNum
public int getNum(java.lang.String name)
gotAll
public boolean gotAll()
gotExtra
public boolean gotExtra()
getMissingString
public java.lang.String getMissingString()
getExtraString
public java.lang.String getExtraString()