Example #1
0
 public function tearDown()
 {
     parent::tearDown();
     if ($this->getStream()->isOpen()) {
         $this->getStream()->close();
     }
 }
 public function tearDown()
 {
     parent::tearDown();
     $streamAccess = $this->getStreamAccess();
     unset($streamAccess);
     $stream = $this->getStream();
     unset($stream);
 }
 public function tearDown()
 {
     parent::tearDown();
     unset($this->emptyStream);
 }
Example #4
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->container);
 }
Example #5
0
 public function tearDown()
 {
     parent::tearDown();
 }
 public function tearDown()
 {
     parent::tearDown();
     unset($this->operands);
 }
Example #7
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->collection);
 }
Example #8
0
 public function tearDown()
 {
     parent::tearDown();
     unset($this->test);
 }
Example #9
0
 /**
  * Create a QtiComponent object from an XML String.
  *
  * @param string $xmlString An XML String to transform in a QtiComponent object.
  * @param string $version A QTI version rule the creation of the component.
  * @return \qtism\data\QtiComponent
  */
 public function createComponentFromXml($xmlString, $version = '2.1.0')
 {
     $element = QtiSmTestCase::createDOMElement($xmlString);
     $factory = $this->getMarshallerFactory($version);
     $marshaller = $factory->createMarshaller($element);
     return $marshaller->unmarshall($element);
 }
 public function tearDown()
 {
     parent::tearDown();
     unset($this->state);
 }
 public function tearDown()
 {
     parent::tearDown();
     // unregister testing custom operators autoloader.
     spl_autoload_unregister('custom_operator_autoloader');
 }