/**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     $modules[] = 'service_container_annotation_discovery_test';
     $modules[] = 'service_container_annotation_discovery_subtest';
     parent::setUp($modules);
     $this->container = \Drupal::getContainer();
 }
Пример #2
0
 protected function setUp()
 {
     $args = func_get_args();
     parent::setUp($args);
     // Define two data collections,
     $this->collections = array(0 => 'zero', 1 => 'one');
     // Create several objects for testing.
     for ($i = 0; $i <= 5; $i++) {
         $this->objects[$i] = (object) array('key1' => $this->randomString(), 'key2' => $this->randomString());
     }
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp('service_container_test_ctools');
     $this->container = \Drupal::getContainer();
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp(array('dblog'));
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     $modules[] = 'service_container_symfony_test';
     $modules[] = 'service_container_symfony_subtest';
     parent::setUp($modules);
 }