ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 26 of file HistCompareTest.php.

Member Function Documentation

◆ setUp()

HistCompareTest::setUp ( )
protected

Definition at line 30 of file HistCompareTest.php.

30 : void
31 {
32 parent::setUp();
33 }

◆ tearDown()

HistCompareTest::tearDown ( )
protected

Definition at line 35 of file HistCompareTest.php.

35 : void
36 {
37 }

◆ testCompare()

HistCompareTest::testCompare ( )

Test compare.

Definition at line 42 of file HistCompareTest.php.

42 : void
43 {
44 $this->assertEquals(
45 -1,
47 ["date" => "2021-12-01"],
48 ["date" => "2021-12-03"],
49 )
50 );
51 }
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 56 of file HistCompareTest.php.

56 : void
57 {
58 $this->assertEquals(
59 1,
61 ["date" => "2021-12-01"],
62 ["date" => "2021-11-03"],
63 )
64 );
65 }

References ilHistory\_compareHistArray().

+ Here is the call graph for this function:

◆ testCompare3()

HistCompareTest::testCompare3 ( )

Test compare 3.

Definition at line 70 of file HistCompareTest.php.

70 : void
71 {
72 $this->assertEquals(
73 0,
75 ["date" => "2021-12-03"],
76 ["date" => "2021-12-03"],
77 )
78 );
79 }

References ilHistory\_compareHistArray().

+ Here is the call graph for this function:

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