From 228b3c56a37913c4a388cb3509d646b7c158fe1d Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Mon, 27 Mar 2017 16:15:02 +0300 Subject: [PATCH] Minor: fix failing CliTestGenerated#testPluginSimple test Add missing Android Dialog stub cause Android Extensions plugin now generates the synthetic property for Dialog. --- compiler/testData/cli/jvm/androidPlugin/androidApp.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compiler/testData/cli/jvm/androidPlugin/androidApp.kt b/compiler/testData/cli/jvm/androidPlugin/androidApp.kt index b840bbfcd33..7bcff1c6c5f 100644 --- a/compiler/testData/cli/jvm/androidPlugin/androidApp.kt +++ b/compiler/testData/cli/jvm/androidPlugin/androidApp.kt @@ -6,4 +6,8 @@ public open class Activity { public open class Fragment { public open fun getView(): android.view.View = null!! -} \ No newline at end of file +} + +open class Dialog { + open fun findViewById(id: Int): android.view.View? = null +}