java/sql-dk/src/test/java/info/globalcode/sql/dk/CLIParserTest.java
branchv_0
changeset 241 f332033ed66c
parent 238 4a1864c3e867
child 250 aae5009bd0af
equal deleted inserted replaced
240:09c72e23c895 241:f332033ed66c
    20 import info.globalcode.sql.dk.CLIParser.Tokens;
    20 import info.globalcode.sql.dk.CLIParser.Tokens;
    21 import static info.globalcode.sql.dk.CLIParser.TYPE_NAME_SEPARATOR;
    21 import static info.globalcode.sql.dk.CLIParser.TYPE_NAME_SEPARATOR;
    22 import info.globalcode.sql.dk.InfoLister.InfoType;
    22 import info.globalcode.sql.dk.InfoLister.InfoType;
    23 import java.io.ByteArrayInputStream;
    23 import java.io.ByteArrayInputStream;
    24 import java.util.Collection;
    24 import java.util.Collection;
    25 import static org.testng.Assert.*;
    25 import org.junit.jupiter.api.BeforeEach;
    26 import org.testng.annotations.BeforeMethod;
    26 import org.junit.jupiter.api.Test;
    27 import org.testng.annotations.Test;
    27 import static org.junit.jupiter.api.Assertions.*;
    28 
    28 
    29 /**
    29 /**
    30  *
    30  *
    31  * @author Ing. František Kučera (frantovo.cz)
    31  * @author Ing. František Kučera (frantovo.cz)
    32  */
    32  */
    40 	private static final String NAME_1 = "param1";
    40 	private static final String NAME_1 = "param1";
    41 	private static final String NAME_2 = "param2";
    41 	private static final String NAME_2 = "param2";
    42 	private static final String NAME_3 = "param3";
    42 	private static final String NAME_3 = "param3";
    43 	private CLIParser parser;
    43 	private CLIParser parser;
    44 
    44 
    45 	@BeforeMethod
    45 	@BeforeEach
    46 	public void setUpMethod() throws Exception {
    46 	public void setUpMethod() throws Exception {
    47 		parser = new CLIParser();
    47 		parser = new CLIParser();
    48 	}
    48 	}
    49 
    49 
    50 	private CLIOptions parseOptions(String[] args) throws CLIParserException {
    50 	private CLIOptions parseOptions(String[] args) throws CLIParserException {