ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
DataReadmeTest.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 2017 Stefan Hecken <stefan.hecken@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3
4
require_once(
"libs/composer/vendor/autoload.php"
);
5
11
class
DataReadmeTest
extends
PHPUnit_Framework_TestCase
12
{
13
protected
function
setUp
()
14
{
15
$this->old_active = ini_get(
"assert.active"
);
16
$this->old_bail = ini_get(
"assert.bail"
);
17
$this->old_warninig = ini_get(
"assert.warning"
);
18
19
ini_set(
"assert.active"
,
"1"
);
20
ini_set(
"assert.bail"
,
"0"
);
21
ini_set(
"assert.warning"
,
"1"
);
22
}
23
24
protected
function
tearDown
()
25
{
26
ini_set(
"assert.active"
, $this->old_active);
27
ini_set(
"assert.bail"
, $this->old_bail);
28
ini_set(
"assert.warning"
, $this->old_warninig);
29
}
30
31
public
function
testReadme
()
32
{
33
ob_start();
34
require_once(__DIR__ .
"/../../src/Data/README.md"
);
35
ob_end_clean();
36
$this->assertTrue(
true
);
37
}
38
}
DataReadmeTest\tearDown
tearDown()
Definition:
DataReadmeTest.php:24
DataReadmeTest\testReadme
testReadme()
Definition:
DataReadmeTest.php:31
PHPUnit_Framework_TestCase
DataReadmeTest
Testing the faytory of result objects.
Definition:
DataReadmeTest.php:11
DataReadmeTest\setUp
setUp()
Definition:
DataReadmeTest.php:13
tests
Data
DataReadmeTest.php
Generated on Tue Jan 28 2025 19:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)