Skip to content

Commit 44ff9ed

Browse files
committed
1 parent d8abd44 commit 44ff9ed

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*-
2+
* #%L
3+
* JSQLParser library
4+
* %%
5+
* Copyright (C) 2004 - 2019 JSQLParser
6+
* %%
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
8+
* #L%
9+
*/
10+
/*
11+
* Copyright (C) 2019 JSQLParser.
12+
*
13+
* This library is free software; you can redistribute it and/or
14+
* modify it under the terms of the GNU Lesser General Public
15+
* License as published by the Free Software Foundation; either
16+
* version 2.1 of the License, or (at your option) any later version.
17+
*
18+
* This library is distributed in the hope that it will be useful,
19+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21+
* Lesser General Public License for more details.
22+
*
23+
* You should have received a copy of the GNU Lesser General Public
24+
* License along with this library; if not, write to the Free Software
25+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
26+
* MA 02110-1301 USA
27+
*/
28+
package net.sf.jsqlparser.schema;
29+
30+
import org.junit.Test;
31+
32+
/**
33+
*
34+
* @author Tobias Warneke ([email protected])
35+
*/
36+
public class TableTest {
37+
38+
@Test
39+
public void tableIndexException() {
40+
Table table = new Table();
41+
table.setName("bla");
42+
table.setDatabase(new Database(new Server("server", "instance"), "db"));
43+
}
44+
45+
}

0 commit comments

Comments
 (0)