public function setUp() { parent::setUp(); $stream = new MemoryStream(); $stream->open(); $this->setStream($stream); }
public function setUp() { parent::setUp(); $test = new XmlCompactDocument(); $test->load(self::samplesDir() . 'custom/runtime/linear_5_items.xml'); $this->setTest($test->getDocumentComponent()); }
public function setUp() { parent::setUp(); $stream = new MemoryStream(); $stream->open(); $this->setStreamAccess(new PhpStreamAccess($stream)); }
public function setUp() { parent::setUp(); $xml = new XmlCompactDocument('1.0'); $xml->load(self::samplesDir() . 'custom/runtime/assessmenttest_context.xml'); $sessionManager = new SessionManager(); $this->state = $sessionManager->createAssessmentTestSession($xml->getDocumentComponent()); $this->state['OUTCOME1'] = new String('String!'); }
public function setUp() { parent::setUp(); $testFilePath = self::samplesDir() . 'custom/runtime/itemsubset.xml'; $doc = new XmlCompactDocument(); $doc->load($testFilePath); $sessionManager = new SessionManager(); $testSession = $sessionManager->createAssessmentTestSession($doc->getDocumentComponent()); $testSession->beginTestSession(); $this->setTestSession($testSession); }
public function setUp() { parent::setUp(); $this->collection = new IdentifierCollection(); }
public function setUp() { parent::setUp(); $this->emptyStream = new MemoryStream(); $this->emptyStream->open(); }
public function setUp() { parent::setUp(); $this->collection = new StringCollection(); }
public function setUp() { parent::setUp(); }
public function setUp() { parent::setUp(); // register testing custom operators autoloader. spl_autoload_register('custom_operator_autoloader'); }
public function setUp() { parent::setUp(); $this->basicStream = new MemoryStream('binary-data'); $this->emptyStream = new MemoryStream(); }
public function setUp() { parent::setUp(); $this->operands = new OperandsCollection(); }
public function setUp() { parent::setUp(); $this->container = new Container(); }