Package de.hsh.graja.modules.checkstyle
Class CheckstyleMocker
- java.lang.Object
-
- de.hsh.graja.modules.checkstyle.CheckstyleMocker
-
public class CheckstyleMocker extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Paragraph
expectedErrorStudent
static String
expectedErrorTeacher
-
Constructor Summary
Constructors Constructor Description CheckstyleMocker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckstyleModuleConfiguration
mockConfig()
static GradingAspect
mockFaultyGradingAspect()
static GradingAspect
mockGradingAspect()
static ModuleRunnerInput
mockModuleRunnerInput()
static ModuleRunnerInput
mockModuleRunnerInput(Submission submission)
static Submission
mockSubmission()
static Submission
mockSubmission(String relativePath)
-
-
-
Field Detail
-
expectedErrorTeacher
public static final String expectedErrorTeacher
- See Also:
- Constant Field Values
-
expectedErrorStudent
public static final Paragraph expectedErrorStudent
-
-
Method Detail
-
mockConfig
public static CheckstyleModuleConfiguration mockConfig()
-
mockSubmission
public static Submission mockSubmission(String relativePath) throws IOException
- Throws:
IOException
-
mockSubmission
public static Submission mockSubmission() throws IOException
- Throws:
IOException
-
mockModuleRunnerInput
public static ModuleRunnerInput mockModuleRunnerInput() throws IOException
- Throws:
IOException
-
mockModuleRunnerInput
public static ModuleRunnerInput mockModuleRunnerInput(Submission submission)
-
mockGradingAspect
public static GradingAspect mockGradingAspect()
-
mockFaultyGradingAspect
public static GradingAspect mockFaultyGradingAspect()
-
-