Home modules.gotpike.org
Username: Password: [Create Account]
[Forgot Password?]

Modules

ADT
Database
GTK2
GUI
IP
PiJAX
Public
Sql
Stdio
Subversion
System
Tools
Xosd
lua
v4l2
wx

Recent Changes

Public.Parser.XML2 1.50
Public.ZeroMQ 1.1
Public.Template.Mustache 1.0
Public.Protocols.XMPP 1.4
Sql.Provider.jdbc 1.0

Popular Downloads

Public.Parser.JSON2 1.0
Public.Parser.JSON 0.2
GTK2 2.23
Public.Web.FCGI 1.8
Public.Parser.XML2 1.48


Module Information
Sql.Provider.SQLite
Viewing contents of Sql_Provider_SQLite-1.8/testsuite.in

START_MARKER

// verify that we have all of the expected classes and objects
test_do(rm("testsuite.db"))
test_true(objectp(Sql.Sql("SQLite://testsuite.db")))
test_eval_error(Sql.Sql("SQLite://testsuite.db")->query("select * from foo"))
test_true(Sql.Sql("SQLite://testsuite.db")->query("select * from SQLITE_MASTER"))
test_false(sizeof(Sql.Sql("SQLite://testsuite.db")->list_tables()))
test_do(rm("testsuite.db"))



gotpike.org | Copyright © 2004 - 2019 | Pike is a trademark of Department of Computer and Information Science, Linköping University