Searched refs:db (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/sqlite/
H A DOldExceptionTest.java24 private Database db = null; field in class:OldExceptionTest
28 db = new Database();
33 db.open(dbFile.getName(), 0);
H A DOldDatabaseTest.java55 private Database db = null; field in class:OldDatabaseTest
82 db = new Database();
83 db.open(dbFile.getPath(), 0);
84 db.busy_handler(null);
89 db.close();
100 // db closed
102 db.close();
106 db.open(dbFile.getPath(), 0);
107 //db is open
113 db
[all...]
H A DOldBlobTest.java31 private static Database db = null; field in class:OldBlobTest
39 db = new Database();
40 db.open(dbFile.getPath(), 0);
42 db.exec("create table B(id integer primary key, val blob)",null);
43 db.exec("insert into B values(1, zeroblob(128))", null);
44 db.exec("insert into B values(2, zeroblob(128))", null);
45 db.exec("insert into B values(3, zeroblob(128))", null);
78 * db.open_blob is not supported.
86 Blob blob = db.open_blob(dbFile.getPath(), "B", "val", 1, true);
H A DOldFunctionContextTest.java32 private Database db = null; field in class:OldFunctionContextTest
36 db = new Database();
37 db.open(dbFile.getPath(), 0);
46 db.exec("insert into " + DatabaseCreator.TEST_TABLE2
48 db.create_function("test", 1, testString);
49 TableResult res = db.get_table("select test(ftext) from "
59 db.exec("insert into " + DatabaseCreator.SIMPLE_TABLE1
61 db.create_function("testInt", 1, testInt);
62 TableResult res = db.get_table("select testInt(speed) from "
72 db
[all...]
H A DOldStmtTest.java29 private Database db; field in class:OldStmtTest
79 db = new Database();
80 db.open(dbFile.getPath(), 0);
81 db.exec(DatabaseCreator.CREATE_TABLE_SIMPLE1, null);
94 db.close();
101 db.prepare("");
112 st = db.prepare("");
120 st = db.prepare("select * from " + DatabaseCreator.SIMPLE_TABLE1);
123 st = db.prepare("insert into " + DatabaseCreator.SIMPLE_TABLE1
127 st = db
[all...]
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/
H A DDocumentBuilderTest.java122 DocumentBuilder db; field in class:DocumentBuilderTest
130 db = dbf.newDocumentBuilder();
151 assertNull(db.getSchema());
226 Document d = db.parse(f);
242 Document d = db.parse(f);
259 db.parse((File)null);
271 db.parse(new File("_"));
282 db.parse(f);
302 Document d = db.parse(is);
319 db
[all...]
H A DDocumentBuilderFactoryTest.java310 DocumentBuilder db = dbf.newDocumentBuilder();
311 assertTrue(db instanceof DocumentBuilder);
312 db.parse(getClass().getResourceAsStream("/simple.xml"));
320 DocumentBuilder db = dbf.newDocumentBuilder();

Completed in 104 milliseconds