Exemplo n.º 1
0
 /**
  * @todo Implement testLoadAllAdapters().
  */
 public function testLoadAllAdapters()
 {
     require_once JPATH_BASE . '/libraries/joomla/base/adapterinstance.php';
     $this->object = new JAdapter(dirname(__FILE__), 'Test', 'adapters');
     $this->object->loadAllAdapters();
     $this->assertThat($this->object->getAdapter('Testadapter4'), $this->isInstanceOf('TestTestadapter4'));
 }
Exemplo n.º 2
0
 /**
  * @todo Implement testLoadAllAdapters().
  */
 public function testLoadAllAdapters()
 {
     require_once JPATH_PLATFORM . '/joomla/base/adapterinstance.php';
     $this->object = new JAdapter(JUnitHelper::normalize(dirname(__FILE__)), 'Test', 'TestAdapters');
     $this->object->loadAllAdapters();
     $this->assertThat($this->object->getAdapter('Testadapter4'), $this->isInstanceOf('TestTestadapter4'));
 }