Definition at line 22 of file ilNullPluginStateDBTest.php.
◆ setUp()
ilNullPluginStateDBTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 27 of file ilNullPluginStateDBTest.php.
29 $this->db = new \ilNullPluginStateDB();
30 $this->data_factory =
new Data\Factory();
◆ testGetCurrentPluginDBVersion()
ilNullPluginStateDBTest::testGetCurrentPluginDBVersion |
( |
| ) |
|
Definition at line 47 of file ilNullPluginStateDBTest.php.
References null.
49 $this->assertEquals(
null, $this->db->getCurrentPluginDBVersion(
"plg1"));
50 $this->assertEquals(
null, $this->db->getCurrentPluginDBVersion(
"plg2"));
51 $this->assertEquals(
null, $this->db->getCurrentPluginVersion(
"plg3"));
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
◆ testGetCurrentPluginVersion()
ilNullPluginStateDBTest::testGetCurrentPluginVersion |
( |
| ) |
|
Definition at line 40 of file ilNullPluginStateDBTest.php.
References null.
42 $this->assertEquals(
null, $this->db->getCurrentPluginVersion(
"plg1"));
43 $this->assertEquals(
null, $this->db->getCurrentPluginVersion(
"plg2"));
44 $this->assertEquals(
null, $this->db->getCurrentPluginVersion(
"plg3"));
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
◆ testIsPluginActivated()
ilNullPluginStateDBTest::testIsPluginActivated |
( |
| ) |
|
Definition at line 33 of file ilNullPluginStateDBTest.php.
35 $this->assertFalse($this->db->isPluginActivated(
"plg1"));
36 $this->assertFalse($this->db->isPluginActivated(
"plg2"));
37 $this->assertFalse($this->db->isPluginActivated(
"plg3"));
◆ testRemove()
ilNullPluginStateDBTest::testRemove |
( |
| ) |
|
◆ testSetActivation()
ilNullPluginStateDBTest::testSetActivation |
( |
| ) |
|
◆ testSetCurrentPluginVersionKnownPlugin()
ilNullPluginStateDBTest::testSetCurrentPluginVersionKnownPlugin |
( |
| ) |
|
Definition at line 54 of file ilNullPluginStateDBTest.php.
57 $VERSION = $this->data_factory->version(
"1.0.0");
60 $this->db->setCurrentPluginVersion($PLUGIN_ID, $VERSION, $DB_VERSION);
62 $this->assertTrue(
true);
◆ $data_factory
◆ $db
The documentation for this class was generated from the following file: