public class TestGroupName extends java.lang.Object implements java.lang.Comparable<TestGroupName>
Constructor and Description |
---|
TestGroupName()
"Any group" constructor
|
TestGroupName(java.lang.String suite,
java.lang.String aPackage,
java.lang.String shortClassName) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TestGroupName o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getClassName() |
java.lang.String |
getFullName()
Return full test group name, with the same format as for TestName (suite: package.a.ClassName)
|
java.lang.String |
getPackageName() |
java.lang.String |
getSuite() |
int |
hashCode() |
boolean |
includes(TestGroupName tg)
Return true if this group includes given test group or if groups are equal.
|
boolean |
isClassNameSet() |
boolean |
isEmpty1()
Return true if group name is any group name
|
boolean |
isPackageSet() |
boolean |
isSuiteSet() |
java.lang.String |
toString() |
public TestGroupName()
public TestGroupName(@NotNull java.lang.String suite, @NotNull java.lang.String aPackage, @NotNull java.lang.String shortClassName)
@NotNull public java.lang.String getSuite()
@NotNull public java.lang.String getPackageName()
@NotNull public java.lang.String getClassName()
public boolean isPackageSet()
public boolean isClassNameSet()
public boolean isSuiteSet()
public boolean isEmpty1()
public boolean includes(TestGroupName tg)
tg
- the name of the test group which should be tested for belonging to this test group@NotNull public java.lang.String getFullName()
public int compareTo(TestGroupName o)
compareTo
in interface java.lang.Comparable<TestGroupName>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object