ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

References ilHistory\_compareHistArray().

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)
+ Here is the call graph for this function:

◆ testCompare2()

HistCompareTest::testCompare2 ( )

Test compare 2.

Definition at line 56 of file HistCompareTest.php.

References ilHistory\_compareHistArray().

56  : void
57  {
58  $this->assertEquals(
59  1,
61  ["date" => "2021-12-01"],
62  ["date" => "2021-11-03"],
63  )
64  );
65  }
static _compareHistArray(array $a, array $b)
+ Here is the call graph for this function:

◆ testCompare3()

HistCompareTest::testCompare3 ( )

Test compare 3.

Definition at line 70 of file HistCompareTest.php.

References ilHistory\_compareHistArray().

70  : void
71  {
72  $this->assertEquals(
73  0,
75  ["date" => "2021-12-03"],
76  ["date" => "2021-12-03"],
77  )
78  );
79  }
static _compareHistArray(array $a, array $b)
+ Here is the call graph for this function:

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