29 $this->assertInstanceOf(SettingsGamification::class, $gamificationTest);
32 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscoreEnabledDataProvider')] 36 $gamificationTest = $gamificationTest->withHighscoreEnabled($IO);
37 $this->assertEquals($IO, $gamificationTest->getHighscoreEnabled());
48 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscoreOwnTableDataProvider')] 52 $gamificationTest = $gamificationTest->withHighscoreOwnTable($IO);
53 $this->assertEquals($IO, $gamificationTest->getHighscoreOwnTable());
64 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscoreTopTableDataProvider')] 68 $gamificationTest = $gamificationTest->withHighscoreTopTable($IO);
69 $this->assertEquals($IO, $gamificationTest->getHighscoreTopTable());
80 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscoreTopNumDataProvider')] 84 $gamificationTest = $gamificationTest->withHighscoreTopNum($IO);
85 $this->assertEquals($IO, $gamificationTest->getHighscoreTopNum());
97 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscoreAnonDataProvider')] 101 $gamificationTest = $gamificationTest->withHighscoreAnon($IO);
102 $this->assertEquals($IO, $gamificationTest->getHighscoreAnon());
113 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscoreAchievedTSDataProvider')] 117 $gamificationTest = $gamificationTest->withHighscoreAchievedTS($IO);
118 $this->assertEquals($IO, $gamificationTest->getHighscoreAchievedTS());
129 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscoreScoreDataProvider')] 133 $gamificationTest = $gamificationTest->withHighscoreScore($IO);
134 $this->assertEquals($IO, $gamificationTest->getHighscoreScore());
145 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscorePercentageDataProvider')] 149 $gamificationTest = $gamificationTest->withHighscorePercentage($IO);
150 $this->assertEquals($IO, $gamificationTest->getHighscorePercentage());
161 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithHighscoreWTimeDataProvider')] 165 $gamificationTest = $gamificationTest->withHighscoreWTime($IO);
166 $this->assertEquals($IO, $gamificationTest->getHighscoreWTime());
testGetAndWithHighscoreTopNum(int $IO)
testGetAndWithHighscoreAnon(bool $IO)
testGetAndWithHighscoreOwnTable(bool $IO)
static getAndWithHighscoreEnabledDataProvider()
testGetAndWithHighscorePercentage(bool $IO)
testGetAndWithHighscoreEnabled(bool $IO)
static getAndWithHighscoreScoreDataProvider()
static getAndWithHighscoreAnonDataProvider()
testGetAndWithHighscoreWTime(bool $IO)
static getAndWithHighscorePercentageDataProvider()
testGetAndWithHighscoreScore(bool $IO)
static getAndWithHighscoreAchievedTSDataProvider()
static getAndWithHighscoreWTimeDataProvider()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getAndWithHighscoreTopTableDataProvider()
testGetAndWithHighscoreTopTable(bool $IO)
static getAndWithHighscoreTopNumDataProvider()
static getAndWithHighscoreOwnTableDataProvider()
testGetAndWithHighscoreAchievedTS(bool $IO)