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 String
CONF_ISO
Test configuration file, ISO encoded and for sure no BOM.static String
CONF_UTFBOM
Test configuration file, UTF8 encoded with BOM.static String
CONF_UTFNOBOM
Test configuration file, UTF8 encoded without BOM.static String
INPUTBYTEFILE
Test input binary file.static String
INPUTENCODED
Test input encoded file.static String
INPUTFILE
Test 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 void
setLogger()
The BeforeClass method.void
setUp()
Test Before method.void
tearDown()
Test After method.void
testConfIso()
Test method normal for Main function.void
testConfWithBom()
Test method normal for Main function.void
testConfWithoutBom()
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 MalformedURLException
The BeforeClass method.- Throws:
MalformedURLException
- in case of error.
-
setUp
@BeforeEach public void setUp() throws Exception
Test Before method.- Throws:
Exception
- in case of error
-
tearDown
@AfterEach public void tearDown() throws Exception
Test 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.
-
-