org.codenarc.rule.AbstractRuleTestCase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of CodeNarc Show documentation
Show all versions of CodeNarc Show documentation
The CodeNarc project provides a static analysis tool for Groovy code.
package org.codenarc.rule;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.*;
import groovy.lang.*;
import groovy.util.*;
@java.lang.SuppressWarnings(value="DuplicateLiteral") public abstract class AbstractRuleTestCase
extends org.codenarc.test.AbstractTestCase implements
groovy.lang.GroovyObject {
protected static java.lang.Object CONSTRUCTOR_METHOD_NAME;
protected static java.lang.Object DEFAULT_TEST_FILES;
protected static java.lang.Object DEFAULT_TEST_CLASS_NAMES;
protected Rule rule;
protected java.lang.String sourceCodeName;
protected java.lang.String sourceCodePath;
public AbstractRuleTestCase
() {}
protected void assertSingleViolation(java.lang.String source, java.lang.Integer lineNumber, java.lang.String sourceLineText) { }
protected void assertSingleViolation(java.lang.String source, java.lang.Integer lineNumber) { }
protected void assertSingleViolation(java.lang.String source) { }
protected void assertViolation(org.codenarc.rule.Violation violation, java.lang.Integer lineNumber, java.lang.String sourceLineText) { }
public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
public void setMetaClass(groovy.lang.MetaClass mc) { }
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
public java.lang.Object getProperty(java.lang.String property) { return null;}
public void setProperty(java.lang.String property, java.lang.Object value) { }
@org.junit.Test() public void testThatUnrelatedCodeHasNoViolations() { }
@org.junit.Test() public void testThatInvalidCodeHasNoViolations() { }
@org.junit.Test() public void testThatApplyToFilesMatchingValuesAreValidRegex() { }
protected abstract Rule createRule();
protected void assertTwoViolations(java.lang.String source, java.lang.Integer lineNumber1, java.lang.String sourceLineText1, java.lang.Integer lineNumber2, java.lang.String sourceLineText2) { }
protected void assertInlineViolations(java.lang.String annotatedSource) { }
protected static java.lang.String inlineViolation(java.lang.String violationMessage) { return (java.lang.String)null;}
protected static java.lang.String removeInlineViolations(java.lang.String annotatedSource) { return (java.lang.String)null;}
protected void assertViolations(java.lang.String source, java.util.Map[] violationMaps) { }
protected void assertTwoViolations(java.lang.String source, java.lang.Integer lineNumber1, java.lang.String sourceLineText1, java.lang.Object msg1, java.lang.Integer lineNumber2, java.lang.String sourceLineText2, java.lang.Object msg2) { }
protected void assertSingleViolation(java.lang.String source, java.lang.Integer lineNumber, java.lang.String sourceLineText, java.lang.Object messageText) { }
protected void assertSingleViolation(java.lang.String source, groovy.lang.Closure closure) { }
protected void assertNoViolations(java.lang.String source) { }
protected void assertViolation(org.codenarc.rule.Violation violation, java.lang.Integer lineNumber, java.lang.String sourceLineText, java.lang.Object messageText) { }
protected java.util.List applyRuleTo(java.lang.String source) { return (java.util.List)null;}
protected java.util.List manuallyApplyRule(java.lang.String source) { return (java.util.List)null;}
@org.junit.Before() public void setUpAbstractRuleTestCase() { }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy