Package org.jastacry.test
Class TestConfig
- java.lang.Object
 - 
- org.jastacry.test.TestConfig
 
 
- 
public class TestConfig extends Object
Test of Main function.- Author:
 - Kai Kretschmann
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringCONF_ISOTest configuration file, ISO encoded and for sure no BOM.static StringCONF_UTFBOMTest configuration file, UTF8 encoded with BOM.static StringCONF_UTFNOBOMTest configuration file, UTF8 encoded without BOM.static StringINPUTBYTEFILETest input binary file.static StringINPUTENCODEDTest input encoded file.static StringINPUTFILETest input text file. 
- 
Constructor Summary
Constructors Constructor Description TestConfig() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidsetLogger()The BeforeClass method.voidsetUp()Test Before method.voidtearDown()Test After method.voidtestConfIso()Test method normal for Main function.voidtestConfWithBom()Test method normal for Main function.voidtestConfWithoutBom()Test method normal for Main function. 
 - 
 
- 
- 
Field Detail
- 
CONF_UTFBOM
public static final String CONF_UTFBOM
Test configuration file, UTF8 encoded with BOM.- See Also:
 - Constant Field Values
 
 
- 
CONF_UTFNOBOM
public static final String CONF_UTFNOBOM
Test configuration file, UTF8 encoded without BOM.- See Also:
 - Constant Field Values
 
 
- 
CONF_ISO
public static final String CONF_ISO
Test configuration file, ISO encoded and for sure no BOM.- See Also:
 - Constant Field Values
 
 
- 
INPUTFILE
public static final String INPUTFILE
Test input text file.- See Also:
 - Constant Field Values
 
 
- 
INPUTBYTEFILE
public static final String INPUTBYTEFILE
Test input binary file.- See Also:
 - Constant Field Values
 
 
- 
INPUTENCODED
public static final String INPUTENCODED
Test input encoded file.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
setLogger
@BeforeAll public static void setLogger() throws MalformedURLExceptionThe BeforeClass method.- Throws:
 MalformedURLException- in case of error.
 
- 
setUp
@BeforeEach public void setUp() throws ExceptionTest Before method.- Throws:
 Exception- in case of error
 
- 
tearDown
@AfterEach public void tearDown() throws ExceptionTest After method.- Throws:
 Exception- in case of error
 
- 
testConfWithBom
@Test public void testConfWithBom()
Test method normal for Main function. 
- 
testConfWithoutBom
@Test public void testConfWithoutBom()
Test method normal for Main function. 
- 
testConfIso
@Test public void testConfIso()
Test method normal for Main function. 
 - 
 
 -