From f3e756059365097074d3ce0207bc542d364e1cf7 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Wed, 12 Aug 2015 18:28:41 +0300 Subject: [PATCH] Enabled test --- .../{AutoNotNullThisType.kt.todo => AutoNotNullThisType.kt} | 0 .../completion/test/JvmSmartCompletionTestGenerated.java | 6 ++++++ 2 files changed, 6 insertions(+) rename idea/idea-completion/testData/smart/smartCasts/{AutoNotNullThisType.kt.todo => AutoNotNullThisType.kt} (100%) diff --git a/idea/idea-completion/testData/smart/smartCasts/AutoNotNullThisType.kt.todo b/idea/idea-completion/testData/smart/smartCasts/AutoNotNullThisType.kt similarity index 100% rename from idea/idea-completion/testData/smart/smartCasts/AutoNotNullThisType.kt.todo rename to idea/idea-completion/testData/smart/smartCasts/AutoNotNullThisType.kt diff --git a/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/JvmSmartCompletionTestGenerated.java b/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/JvmSmartCompletionTestGenerated.java index 78ffb99bffb..1805d6a963e 100644 --- a/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/JvmSmartCompletionTestGenerated.java +++ b/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/JvmSmartCompletionTestGenerated.java @@ -1228,6 +1228,12 @@ public class JvmSmartCompletionTestGenerated extends AbstractJvmSmartCompletionT JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/smart/smartCasts"), Pattern.compile("^(.+)\\.kt$"), true); } + @TestMetadata("AutoNotNullThisType.kt") + public void testAutoNotNullThisType() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/smart/smartCasts/AutoNotNullThisType.kt"); + doTest(fileName); + } + @TestMetadata("AutoNotNullType.kt") public void testAutoNotNullType() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/smart/smartCasts/AutoNotNullType.kt");