JS test minor: removed 'Inline' from name checkFooBoxWithInlineDirectives

checkFooBoxWithInlineDirectives was moved from InlineTest, but was not renamed
This commit is contained in:
Alexey Tsvetkov
2014-11-13 18:35:16 +03:00
parent a6597e8926
commit c52d6ba92e
3 changed files with 64 additions and 64 deletions
@@ -36,12 +36,12 @@ public abstract class SingleFileTranslationWithDirectivesTest extends SingleFile
nodeConsumer.consume(null); nodeConsumer.consume(null);
} }
protected void checkFooBoxIsOkWithInlineDirectives() throws Exception { protected void checkFooBoxIsOkWithDirectives() throws Exception {
checkFooBoxIsOk(); checkFooBoxIsOk();
processInlineDirectives(); processDirectives();
} }
protected void processInlineDirectives() throws Exception { protected void processDirectives() throws Exception {
String fileName = getInputFilePath(getTestName(true) + ".kt"); String fileName = getInputFilePath(getTestName(true) + ".kt");
String fileText = JsTestUtils.readFile(fileName); String fileText = JsTestUtils.readFile(fileName);
@@ -25,214 +25,214 @@ public final class InlineTest extends SingleFileTranslationWithDirectivesTest {
} }
public void testInlineSimpleAssignment() throws Exception { public void testInlineSimpleAssignment() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineGenericSimple() throws Exception { public void testInlineGenericSimple() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineIntSimple() throws Exception { public void testInlineIntSimple() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineInc() throws Exception { public void testInlineInc() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineCallNoInline() throws Exception { public void testInlineCallNoInline() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineFunctionInLambda() throws Exception { public void testInlineFunctionInLambda() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineLambdaNoCapture() throws Exception { public void testInlineLambdaNoCapture() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineLambdaWithCapture() throws Exception { public void testInlineLambdaWithCapture() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineChain() throws Exception { public void testInlineChain() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineChainWithFewStatements() throws Exception { public void testInlineChainWithFewStatements() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testCallInlineFunctionOnTopLevelSimple() throws Exception { public void testCallInlineFunctionOnTopLevelSimple() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testCallInlineFunctionOnTopLevel() throws Exception { public void testCallInlineFunctionOnTopLevel() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineIf() throws Exception { public void testInlineIf() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineNoReturn() throws Exception { public void testInlineNoReturn() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testStatementsAfterReturn() throws Exception { public void testStatementsAfterReturn() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLambdaReassignment() throws Exception { public void testLambdaReassignment() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLambdaReassignmentWithCapture() throws Exception { public void testLambdaReassignmentWithCapture() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineMethod() throws Exception { public void testInlineMethod() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testThisImplicitlyCaptured() throws Exception { public void testThisImplicitlyCaptured() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testAstCopy() throws Exception { public void testAstCopy() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testNoInlineLambda() throws Exception { public void testNoInlineLambda() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testlambdaInLambda() throws Exception { public void testlambdaInLambda() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testInlineDefaultArgument() throws Exception { public void testInlineDefaultArgument() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLocalInlineFunction() throws Exception { public void testLocalInlineFunction() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLocalInlineFunctionDeclaredInLambda() throws Exception { public void testLocalInlineFunctionDeclaredInLambda() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLocalInlineExtensionFunction() throws Exception { public void testLocalInlineExtensionFunction() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLocalInlineFunctionNameClash() throws Exception { public void testLocalInlineFunctionNameClash() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLocalInlineFunctionComplex() throws Exception { public void testLocalInlineFunctionComplex() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testArrayLiteralAliasing() throws Exception { public void testArrayLiteralAliasing() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLocalInlineFunctionReference() throws Exception { public void testLocalInlineFunctionReference() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testThisLiteralAliasing() throws Exception { public void testThisLiteralAliasing() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testIdentityEquals() throws Exception { public void testIdentityEquals() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testVararg() throws Exception { public void testVararg() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testMutualRecursion() throws Exception { public void testMutualRecursion() throws Exception {
try { try {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} catch (Exception e) { } catch (Exception e) {
assert e.getCause() instanceof InlineRecursionException; assert e.getCause() instanceof InlineRecursionException;
} }
} }
public void testInlineOrder() throws Exception { public void testInlineOrder() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testCallableReference() throws Exception { public void testCallableReference() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testCallableReferenceOfLocalInline() throws Exception { public void testCallableReferenceOfLocalInline() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testAnonymousObjectInlineMethod() throws Exception { public void testAnonymousObjectInlineMethod() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testClassObject() throws Exception { public void testClassObject() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testExtension() throws Exception { public void testExtension() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testExtensionWithManyArguments() throws Exception { public void testExtensionWithManyArguments() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testParams() throws Exception { public void testParams() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testRootConstructor() throws Exception { public void testRootConstructor() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSeveralClosures() throws Exception { public void testSeveralClosures() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSeveralUsage() throws Exception { public void testSeveralUsage() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSimpleDouble() throws Exception { public void testSimpleDouble() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSimpleInt() throws Exception { public void testSimpleInt() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSimpleEnum() throws Exception { public void testSimpleEnum() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSimpleLambda() throws Exception { public void testSimpleLambda() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSimpleObject() throws Exception { public void testSimpleObject() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testIncrementProperty() throws Exception { public void testIncrementProperty() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSimpleReturnFunctionWithResultUnused() throws Exception { public void testSimpleReturnFunctionWithResultUnused() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
} }
@@ -24,38 +24,38 @@ public class LabelTest extends SingleFileTranslationWithDirectivesTest {
} }
public void testSimpleLabel() throws Exception { public void testSimpleLabel() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSiblingLabels() throws Exception { public void testSiblingLabels() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testNestedLabels() throws Exception { public void testNestedLabels() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSimpleLabelInlined() throws Exception { public void testSimpleLabelInlined() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSiblingLabelsInlined() throws Exception { public void testSiblingLabelsInlined() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testSiblingLabelsInlinedClashing() throws Exception { public void testSiblingLabelsInlinedClashing() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testNestedLabelsInlinedClashing() throws Exception { public void testNestedLabelsInlinedClashing() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testLabelWithVariableClashing() throws Exception { public void testLabelWithVariableClashing() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
public void testNestedLabelsInlinedClashingAtFunctionsWithClosure() throws Exception { public void testNestedLabelsInlinedClashingAtFunctionsWithClosure() throws Exception {
checkFooBoxIsOkWithInlineDirectives(); checkFooBoxIsOkWithDirectives();
} }
} }