(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestCreate(t *testing.T) { |
| 13 | simpleCreateCase := engineDBContentTestSuite{ |
| 14 | inputs: []string{"CREATE TABLE tb1( one TEXT, two INT, three INT, four TEXT );"}, |
| 15 | expectedTableNames: []string{"tb1"}, |
| 16 | } |
| 17 | |
| 18 | simpleCreateCase.runTestSuite(t) |
| 19 | |
| 20 | multiplyCreationCase := engineDBContentTestSuite{ |
| 21 | inputs: []string{ |
| 22 | "CREATE TABLE tb1( one TEXT, two INT, three INT, four TEXT );", |
| 23 | "CREATE TABLE tb2( one TEXT, two INT, three INT, four TEXT );", |
| 24 | }, |
| 25 | expectedTableNames: []string{"tb1", "tb2"}, |
| 26 | } |
| 27 | |
| 28 | multiplyCreationCase.runTestSuite(t) |
| 29 | |
| 30 | } |
| 31 | |
| 32 | func TestDrop(t *testing.T) { |
| 33 | simpleDropCase := engineDBContentTestSuite{ |
nothing calls this directly
no test coverage detected