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 349
349
<plugin >
350
350
<groupId >org.apache.maven.plugins</groupId >
351
351
<artifactId >maven-surefire-plugin</artifactId >
352
- <version >3.0.0-M4 </version >
352
+ <version >3.0.0-M5 </version >
353
353
<configuration >
354
354
<trimStackTrace >false</trimStackTrace >
355
355
</configuration >
Original file line number Diff line number Diff line change 15
15
import java .util .ArrayList ;
16
16
import java .util .Collections ;
17
17
import java .util .List ;
18
- import jdk .nashorn .internal .ir .annotations .Ignore ;
19
18
import net .sf .jsqlparser .JSQLParserException ;
20
19
import net .sf .jsqlparser .expression .*;
21
20
import net .sf .jsqlparser .expression .operators .arithmetic .Addition ;
@@ -142,16 +141,8 @@ public void testMultiPartColumnNameWithDatabaseNameAndSchemaNameAndTableName() t
142
141
}
143
142
144
143
@ 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" );
155
146
}
156
147
157
148
@ Test
You can’t perform that action at this time.
0 commit comments