lithium\tests\integration\data\source\database\adapter\Sqlite3Test::testEnabledFeatures PHP Method

testEnabledFeatures() public method

public testEnabledFeatures ( )
    public function testEnabledFeatures()
    {
        $supported = array('booleans', 'schema', 'relationships', 'sources');
        $notSupported = array('arrays', 'transactions');
        foreach ($supported as $feature) {
            $this->assertTrue(Sqlite3::enabled($feature));
        }
        foreach ($notSupported as $feature) {
            $this->assertFalse(Sqlite3::enabled($feature));
        }
        $this->assertNull(Sqlite3::enabled('unexisting'));
    }