From ef27a59a57e5d11ef9b43dffdf65c2d0259135f2 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Wed, 20 May 2015 16:51:10 +0200 Subject: [PATCH] NPE (IDEA-140526) --- .../testng/model/TestNGConsoleProperties.java | 4 +++- .../theoryinpractice/testng/model/TestNGTestGroup.java | 6 +++++- .../theoryinpractice/testng/model/TestNGTestPattern.java | 9 +++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/plugins/testng/src/com/theoryinpractice/testng/model/TestNGConsoleProperties.java b/plugins/testng/src/com/theoryinpractice/testng/model/TestNGConsoleProperties.java index 35aae2d20cc4..0dcb581b96c5 100644 --- a/plugins/testng/src/com/theoryinpractice/testng/model/TestNGConsoleProperties.java +++ b/plugins/testng/src/com/theoryinpractice/testng/model/TestNGConsoleProperties.java @@ -19,6 +19,7 @@ import com.intellij.execution.Executor; import com.intellij.execution.runners.ExecutionEnvironment; import com.intellij.execution.testframework.JavaAwareTestConsoleProperties; import com.intellij.execution.testframework.JavaTestLocator; +import com.intellij.execution.testframework.SourceScope; import com.intellij.execution.testframework.sm.runner.SMTestLocator; import com.intellij.openapi.actionSystem.DefaultActionGroup; import com.intellij.psi.search.GlobalSearchScope; @@ -45,7 +46,8 @@ public class TestNGConsoleProperties extends JavaAwareTestConsoleProperties