-
Notifications
You must be signed in to change notification settings - Fork 397
Expand file tree
/
Copy pathTestSQLiteQPG.java
More file actions
23 lines (17 loc) · 899 Bytes
/
TestSQLiteQPG.java
File metadata and controls
23 lines (17 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package sqlancer.qpg.sqlite;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import sqlancer.Main;
import sqlancer.dbms.TestConfig;
public class TestSQLiteQPG {
@Test
public void testSqliteQPG() {
assertEquals(0,
Main.executeMain(new String[] { "--random-seed", "0", "--timeout-seconds", TestConfig.SECONDS,
"--num-threads", "1", "--num-queries", TestConfig.NUM_QUERIES, "--random-string-generation",
"ALPHANUMERIC_SPECIALCHAR", "--database-prefix",
"pqsdb" /* Workaround for connections not being closed */, "--qpg-enable", "true", "sqlite3",
"--oracle", "NoREC", "--test-fts", "false", "--test-rtree", "false", "--test-check-constraints",
"false", "--test-in-operator", "false" }));
}
}