Added SingleFileTranslationTest#checkFooBoxIsOk without arguments which use test name as filename.

This commit is contained in:
Zalim Bashorov
2013-06-04 16:06:41 +04:00
parent 6f942a21de
commit 60a2f4ef08
@@ -68,6 +68,10 @@ public abstract class SingleFileTranslationTest extends BasicTest {
checkFooBoxIsTrue(getTestName(true) + ".kt", ecmaVersions);
}
protected void checkFooBoxIsOk() throws Exception {
checkFooBoxIsOk(getTestName(true) + ".kt");
}
protected void checkFooBoxIsOk(@NotNull String filename) throws Exception {
checkFooBoxIsOk(DEFAULT_ECMA_VERSIONS, filename);
}