From 9306db22c457ba2a60b21dd17b15ca02da8abda3 Mon Sep 17 00:00:00 2001 From: Sergey Karashevich Date: Thu, 27 Sep 2018 22:55:38 +0300 Subject: [PATCH] [gui-test] add SystemProperties annotation --- .../framework/SystemProperties.kt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/SystemProperties.kt diff --git a/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/SystemProperties.kt b/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/SystemProperties.kt new file mode 100644 index 000000000000..3163ae3891f6 --- /dev/null +++ b/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/SystemProperties.kt @@ -0,0 +1,15 @@ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +package com.intellij.testGuiFramework.framework + + +/** + * An annotation to provide custom system properties for a running instance of IDEA. + * It assumed to have a next usage: + * @code { + * @SystemProperties(arrayOf("key1=value1", "key2=value2")) + * SomeGuiTestClass + * } + */ +@kotlin.annotation.Retention(AnnotationRetention.RUNTIME) +@kotlin.annotation.Target(AnnotationTarget.CLASS, AnnotationTarget.FILE) +annotation class SystemProperties(val keyValueArray: Array)