Class Struts2JspFileParserTest
- java.lang.Object
-
- org.nuiton.i18n.plugin.parser.impl.Struts2JspFileParserTest
-
public class Struts2JspFileParserTest extends Object
To tes theParserStruts2Mojo.Struts2JspFileParser
parser.- Since:
- 2.5
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
detectedKeys
static String
ENCODING
protected static org.apache.maven.plugin.logging.SystemStreamLog
log
protected org.nuiton.io.SortedProperties
oldParser
protected ParserStruts2Mojo.Struts2JspFileParser
parser
-
Constructor Summary
Constructors Constructor Description Struts2JspFileParserTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getKeys()
protected void
parseLine(File f, String line, String... expectedKeys)
void
setUp()
void
tearDown()
-
-
-
Field Detail
-
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
-
log
protected static final org.apache.maven.plugin.logging.SystemStreamLog log
-
parser
protected ParserStruts2Mojo.Struts2JspFileParser parser
-
oldParser
protected org.nuiton.io.SortedProperties oldParser
-
-
Method Detail
-
getKeys
public void getKeys() throws IOException
- Throws:
IOException
-
parseLine
protected void parseLine(File f, String line, String... expectedKeys) throws IOException
- Throws:
IOException
-
-