fix test v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 24 Dec 2013 00:12:53 +0100
branchv_0
changeset 45ce33736066b1
parent 44 67581ec4396e
child 46 0b05bc13aadd
fix test
java/sql-dk/test/info/globalcode/sql/dk/CLIParserTest.java
     1.1 --- a/java/sql-dk/test/info/globalcode/sql/dk/CLIParserTest.java	Mon Dec 23 20:15:23 2013 +0100
     1.2 +++ b/java/sql-dk/test/info/globalcode/sql/dk/CLIParserTest.java	Tue Dec 24 00:12:53 2013 +0100
     1.3 @@ -19,6 +19,7 @@
     1.4  
     1.5  import info.globalcode.sql.dk.CLIParser.Tokens;
     1.6  import static info.globalcode.sql.dk.CLIParser.TYPE_NAME_SEPARATOR;
     1.7 +import static info.globalcode.sql.dk.CLIOptions.DEFAULT_NAME_PREFIX;
     1.8  import java.sql.Types;
     1.9  import java.util.Collection;
    1.10  import static org.testng.Assert.*;
    1.11 @@ -109,7 +110,7 @@
    1.12  		String[] args = new String[]{
    1.13  			Tokens.DB, DATABASE_NAME_1,
    1.14  			Tokens.SQL, SQL_1,
    1.15 -			Tokens.DATA, TYPE_NAME_SEPARATOR + NAME_1, DATA_1, TYPE_NAME_SEPARATOR + NAME_2, DATA_2, TYPE_NAME_SEPARATOR + NAME_3, DATA_3};
    1.16 +			Tokens.DATA, DEFAULT_NAME_PREFIX + NAME_1, DATA_1, DEFAULT_NAME_PREFIX + NAME_2, DATA_2, DEFAULT_NAME_PREFIX + NAME_3, DATA_3};
    1.17  		CLIOptions options = parser.parseOptions(args);
    1.18  		options.validate();
    1.19