Disable "UseOfSystemOutOrSystemErr" inspection in tests
This commit is contained in:
@@ -41,7 +41,6 @@ public class CliBaseTest {
|
||||
@NotNull
|
||||
private static String executeCompilerGrabOutput(@NotNull CLICompiler<?> compiler, @NotNull String[] args) {
|
||||
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
|
||||
//noinspection UseOfSystemOutOrSystemErr
|
||||
PrintStream origOut = System.out;
|
||||
try {
|
||||
System.setOut(new PrintStream(bytes));
|
||||
|
||||
@@ -79,7 +79,6 @@ public class ScriptTest extends CliBaseTest {
|
||||
@NotNull List<JetScriptDefinition> scriptDefinitions
|
||||
) {
|
||||
KotlinPaths paths = new KotlinPathsFromHomeDir(new File("dist/kotlinc"));
|
||||
//noinspection UseOfSystemOutOrSystemErr
|
||||
GroupingMessageCollector messageCollector =
|
||||
new GroupingMessageCollector(new PrintingMessageCollector(System.err, MessageRenderer.PLAIN, false));
|
||||
Disposable rootDisposable = Disposer.newDisposable();
|
||||
|
||||
@@ -129,7 +129,6 @@ public class TestlibTest extends UsefulTestCase {
|
||||
if ("junit/framework/Test".equals(typeMapper.mapClass(superClass).getInternalName())) {
|
||||
String name = typeMapper.mapClass(descriptor).getInternalName();
|
||||
|
||||
//noinspection UseOfSystemOutOrSystemErr
|
||||
System.out.println(name);
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in New Issue
Block a user