case TEST_METHOD:
return "Test " + myClassName + "." + myMethodName;
case TEST_SCRIPT:
return "Tests in " + myScriptName;
case TEST_FOLDER:
<BUG>return "Tests in " + FileUtil.toSystemDependentName(myFolderName);
default:</BUG>
throw new IllegalStateException("Unknown test type: " + myTestType);
}
}

case TEST_METHOD:
return "Test " + myClassName + "." + myMethodName;
case TEST_SCRIPT:
return "Tests in " + myScriptName;
case TEST_FOLDER:
return "Tests in " + FileUtil.toSystemDependentName(myFolderName);
case TEST_FUNCTION:
return "Test " + myMethodName;
default:
throw new IllegalStateException("Unknown test type: " + myTestType);
}
}
