File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
src/test/java/net/sf/jsqlparser/statement/select Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 349349 <plugin >
350350 <groupId >org.apache.maven.plugins</groupId >
351351 <artifactId >maven-surefire-plugin</artifactId >
352- <version >3.0.0-M4 </version >
352+ <version >3.0.0-M5 </version >
353353 <configuration >
354354 <trimStackTrace >false</trimStackTrace >
355355 </configuration >
Original file line number Diff line number Diff line change 1515import java .util .ArrayList ;
1616import java .util .Collections ;
1717import java .util .List ;
18- import jdk .nashorn .internal .ir .annotations .Ignore ;
1918import net .sf .jsqlparser .JSQLParserException ;
2019import net .sf .jsqlparser .expression .*;
2120import net .sf .jsqlparser .expression .operators .arithmetic .Addition ;
@@ -142,16 +141,8 @@ public void testMultiPartColumnNameWithDatabaseNameAndSchemaNameAndTableName() t
142141 }
143142
144143 @ Test
145- @ Ignore
146- public void testMultiPartColumnNameWithDatabaseNameAndSchemaName () {
147- final String statement = "SELECT databaseName.schemaName..columnName FROM tableName" ;
148- Select select ;
149- try {
150- select = (Select ) parserManager .parse (new StringReader (statement ));
151- fail ("must not work" );
152- } catch (JSQLParserException ex ) {
153- //Logger.getLogger(SelectTest.class.getName()).log(Level.SEVERE, null, ex);
154- }
144+ public void testMultiPartColumnNameWithDatabaseNameAndSchemaName () throws JSQLParserException {
145+ assertSqlCanBeParsedAndDeparsed ("SELECT databaseName.schemaName..columnName FROM tableName" );
155146 }
156147
157148 @ Test
You can’t perform that action at this time.
0 commit comments