Skip the test if a Sqlite adapter configuration is unavailable.

Returns

void

Source

						public function skip() {
		$this->skipIf(!Sqlite3::enabled(), 'Sqlite3 adapter is not enabled.');

		$this->_dbConfig = Connections::get('test', array('config' => true));
		$hasDb = (isset($this->_dbConfig['adapter']) && $this->_dbConfig['adapter'] == 'Sqlite3');
		$message = 'Test database is either unavailable, or not using a Sqlite3 adapter';
		$this->skipIf(!$hasDb, $message);

		$isMemory = $this->_dbConfig['database'] == ':memory:';
		$message = "Test database is not an in-memory database.";
		$this->skipIf(!$isMemory, $message);
	}