GADriverSQLiteTestFixture

GADriverTestFixture subclass: #'GADriverSQLiteTestFixture' 

Overview

Please comment me using the following template inspired by Class Responsibility Collaborator (CRC) design:

For the Class part: State the name of the class with one line description: For example, I'm xxx the root of the hierarchy of visitor objects.

For the Responsibility part: Three sentences about my main responsibility, what I'm doing, what services do I offer.

For the Collaborators Part: State my main collaborators and one line about how I interact with them.

Public API and Key Messages

  • label item

One simple example is simply gorgeous.

Internal Representation and Key Implementation Points.

Implementation Points

Instance Method Details

connection

connection

createDatabase

Nothing

createDatabase
| encoding |
encoding := self connection encoding = 'utf8' 
ifTrue: 'UTF-8' ] 
.

self connection execute: ('PRAGMA encoding = "' , encoding) , '"'

dropDatabase

We remove the database file

newConnection:

We always create the connection for testing with the same options in sqlite by the moment

newConnection: options