public class Tag
Base class for all tags. The simple name (without packages) of the singleton derived from this class will be used as name. Two tag object with the same simple name (same object names in different packages) are treated as a single tag.
For example, if you create a Tag com.sksamuel.kotlintest.SuperTag then the tag name will
simply be SuperTag.
Therefore, the tags com.sksamuel.kotlintest.SuperTag and io.kotlintest.SuperTag are
considered equal.
| Constructor and Description |
|---|
Tag()
Base class for all tags. The simple name (without packages) of the singleton derived from this
class will be used as name. Two tag object with the same simple name (same object names in
different packages) are treated as a single tag.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Simple name of the singleton/class derived from this class.
|
java.lang.String |
toString()
Same as
Tag.getName. |
public Tag()
Base class for all tags. The simple name (without packages) of the singleton derived from this class will be used as name. Two tag object with the same simple name (same object names in different packages) are treated as a single tag.
For example, if you create a Tag com.sksamuel.kotlintest.SuperTag then the tag name will
simply be SuperTag.
Therefore, the tags com.sksamuel.kotlintest.SuperTag and io.kotlintest.SuperTag are
considered equal.
public java.lang.String getName()
Simple name of the singleton/class derived from this class.
public java.lang.String toString()
Same as Tag.getName.
Tag.getName