public abstract class AbstractTranslationTestCase extends Object
Constructor and Description |
---|
AbstractTranslationTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkDiff(String path1,
String path2) |
protected void |
checkDuplicates(String path,
String... allowed) |
protected void |
checkFormat(String path) |
protected void |
checkSingleLabels(String path,
TranslationProperties p) |
protected TranslationProperties |
extractProps(InputStream in) |
protected TranslationProperties |
extractProps(String path) |
protected InputStream |
getFromContext(String path) |
public AbstractTranslationTestCase()
protected InputStream getFromContext(String path) throws IOException
IOException
protected TranslationProperties extractProps(String path) throws IOException
IOException
protected TranslationProperties extractProps(InputStream in) throws IOException
IOException
protected void checkFormat(String path) throws IOException
IOException
protected void checkSingleLabels(String path, TranslationProperties p) throws IOException
IOException
protected void checkDuplicates(String path, String... allowed) throws IOException
IOException
protected void checkDiff(String path1, String path2) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.