Added a common database backend implementation.
Added sqlite (proof of concept)
This commit is contained in:
31
persistence/implementation/sqlite/tests/application.e
Normal file
31
persistence/implementation/sqlite/tests/application.e
Normal file
@@ -0,0 +1,31 @@
|
||||
note
|
||||
description : "tests application root class"
|
||||
date : "$Date: 2014-08-20 15:21:15 -0300 (mi., 20 ago. 2014) $"
|
||||
revision : "$Revision: 95678 $"
|
||||
|
||||
class
|
||||
APPLICATION
|
||||
|
||||
inherit
|
||||
ARGUMENTS
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make
|
||||
-- Run application.
|
||||
local
|
||||
user: USER_DATA_PROVIDER
|
||||
node: NODE_DATA_PROVIDER
|
||||
l_security: SECURITY_PROVIDER
|
||||
do
|
||||
create connection.make_basic ("cms_dev")
|
||||
create user.make (connection)
|
||||
user.new_user ("test", "test", "test")
|
||||
end
|
||||
|
||||
connection: DATABASE_CONNECTION_ODBC
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user