public static declaresTestClass(source as String) as Boolean:
Reports whether source contains an effective @TestClass annotation.
| Parameter | Description |
|---|---|
source | Klyn source text. |
true when a test class annotation exists outside comments and literals.
assert not TestSourceScanner.declaresTestClass("# @TestClass")