Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.0-JSR-6
-
Fix Version/s: 1.0-RC-1
-
Component/s: None
-
Labels:None
-
Environment:Groovy Version: 1.0-JSR-06 JVM: 1.5.0_06-b05
-
Testcase included:yes
-
Number of attachments :
Description
Result of this test:
class DbServiceTest extends GroovyTestCase {
void testSomething() {
def name = GroovyTestCase.class.simpleName
assertEquals(GroovyTestCase.class.simpleName, name)
assertTrue(name.length() == "GroovyTestCase".length())
println name
println name
}
}
is:
.GroovyTestCase
GroovyTestCase
Time: 0.016
OK (1 test)
Where is the period coming from?
Looks like it's output from a testXXX method. An empty testXXX() also outputs a "."