forked from pmd/pmd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor tests for javascript, jsp, plsql, scala, visualforce, xml
using BaseParsingHelper Revert "REVERT ME Remove some diff" This reverts commit f728100.
- Loading branch information
Showing
62 changed files
with
784 additions
and
1,167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
pmd-javascript/src/test/java/net/sourceforge/pmd/lang/ecmascript/ast/JsParsingHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html | ||
*/ | ||
|
||
package net.sourceforge.pmd.lang.ecmascript.ast; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper; | ||
import net.sourceforge.pmd.lang.ecmascript.EcmascriptLanguageModule; | ||
|
||
public final class JsParsingHelper extends BaseParsingHelper<JsParsingHelper, ASTAstRoot> { | ||
|
||
public static final JsParsingHelper DEFAULT = new JsParsingHelper(Params.getDefaultProcess()); | ||
|
||
private JsParsingHelper(@NotNull Params params) { | ||
super(EcmascriptLanguageModule.NAME, ASTAstRoot.class, params); | ||
} | ||
|
||
@NotNull | ||
@Override | ||
protected JsParsingHelper clone(@NotNull Params params) { | ||
return new JsParsingHelper(params); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.