This commit is contained in:
Liana.Bakradze
2017-04-20 19:40:28 +03:00
parent 6701f2562e
commit c40c52e08d
2 changed files with 7 additions and 7 deletions
@@ -24,14 +24,14 @@ import org.jetbrains.annotations.NotNull;
import java.io.IOException;
public class PyStudySmartChecker {
class PyStudySmartChecker {
private PyStudySmartChecker() {
}
private static final Logger LOG = Logger.getInstance(PyStudySmartChecker.class);
public static void smartCheck(@NotNull final AnswerPlaceholder placeholder,
private static void smartCheck(@NotNull final AnswerPlaceholder placeholder,
@NotNull final Project project,
@NotNull final VirtualFile answerFile,
@NotNull final TaskFile answerTaskFile,
@@ -82,7 +82,7 @@ public class PyStudySmartChecker {
}
}
public static void runSmartTestProcess(@NotNull final VirtualFile taskDir,
static void runSmartTestProcess(@NotNull final VirtualFile taskDir,
@NotNull final PyStudyTestRunner testRunner,
@NotNull final String taskFileName,
@NotNull final TaskFile taskFile,
@@ -112,7 +112,7 @@ public class PyStudySmartChecker {
}
}
private static Pair<VirtualFile, TaskFile> getCopyWithAnswers(@NotNull final VirtualFile taskDir,
static Pair<VirtualFile, TaskFile> getCopyWithAnswers(@NotNull final VirtualFile taskDir,
@NotNull final VirtualFile file,
@NotNull final TaskFile source) {
try {
@@ -18,7 +18,7 @@ import org.jetbrains.annotations.NotNull;
import java.io.File;
import java.util.Map;
public class PyStudyTestRunner {
class PyStudyTestRunner {
private static final String PYTHONPATH = "PYTHONPATH";
@NotNull private final Task myTask;
@NotNull private final VirtualFile myTaskDir;
@@ -29,7 +29,7 @@ public class PyStudyTestRunner {
myTaskDir = taskDir;
}
public Process createCheckProcess(@NotNull final Project project, @NotNull final String executablePath) throws ExecutionException {
Process createCheckProcess(@NotNull final Project project, @NotNull final String executablePath) throws ExecutionException {
final Sdk sdk = PythonSdkType.findPythonSdk(ModuleManager.getInstance(project).getModules()[0]);
PyEduPluginConfigurator configurator = new PyEduPluginConfigurator();
String testsFileName = configurator.getTestFileName();
@@ -59,7 +59,7 @@ public class PyStudyTestRunner {
return null;
}
public GeneralCommandLine getCommandLine() {
GeneralCommandLine getCommandLine() {
return myCommandLine;
}
}