All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codenarc.rule.AbstractRuleTestCase Maven / Gradle / Ivy

There is a newer version: 3.5.0-groovy-4.0
Show newest version
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