ILIAS  release_8 Revision v8.25-1-g13de6a5eca6
HistCompareTest Class Reference

Test clipboard repository. More...

+ Inheritance diagram for HistCompareTest:
+ Collaboration diagram for HistCompareTest:

Public Member Functions

 testCompare ()
 Test compare. More...
 
 testCompare2 ()
 Test compare 2. More...
 
 testCompare3 ()
 Test compare 3. More...
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Detailed Description

Test clipboard repository.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 10 of file HistCompareTest.php.

Member Function Documentation

◆ setUp()

HistCompareTest::setUp ( )
protected

Definition at line 14 of file HistCompareTest.php.

14 : void
15 {
16 parent::setUp();
17 }

◆ tearDown()

HistCompareTest::tearDown ( )
protected

Definition at line 19 of file HistCompareTest.php.

19 : void
20 {
21 }

◆ testCompare()

HistCompareTest::testCompare ( )

Test compare.

Definition at line 26 of file HistCompareTest.php.

26 : void
27 {
28 $this->assertEquals(
29 -1,
31 ["date" => "2021-12-01"],
32 ["date" => "2021-12-03"],
33 )
34 );
35 }
static _compareHistArray(array $a, array $b)

References ilHistory\_compareHistArray().

+ Here is the call graph for this function:

◆ testCompare2()

HistCompareTest::testCompare2 ( )

Test compare 2.

Definition at line 40 of file HistCompareTest.php.

40 : void
41 {
42 $this->assertEquals(
43 1,
45 ["date" => "2021-12-01"],
46 ["date" => "2021-11-03"],
47 )
48 );
49 }

References ilHistory\_compareHistArray().

+ Here is the call graph for this function:

◆ testCompare3()

HistCompareTest::testCompare3 ( )

Test compare 3.

Definition at line 54 of file HistCompareTest.php.

54 : void
55 {
56 $this->assertEquals(
57 0,
59 ["date" => "2021-12-03"],
60 ["date" => "2021-12-03"],
61 )
62 );
63 }

References ilHistory\_compareHistArray().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: