31 $this->assertInstanceOf(SettingsResultSummary::class, $settingsResultSummary);
34 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithScoreReportingDataProvider')] 46 [ScoreReportingTypes::SCORE_REPORTING_DISABLED],
47 [ScoreReportingTypes::SCORE_REPORTING_FINISHED],
48 [ScoreReportingTypes::SCORE_REPORTING_AFTER_PASSED]
52 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithReportingDateDataProvider')] 56 $settingsResultSummary = $settingsResultSummary->withReportingDate($IO);
57 $this->assertEquals($IO, $settingsResultSummary->getReportingDate());
68 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithShowGradingStatusEnabledDataProvider')] 72 $settingsResultSummary = $settingsResultSummary->withShowGradingStatusEnabled($IO);
73 $this->assertEquals($IO, $settingsResultSummary->getShowGradingStatusEnabled());
84 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithShowGradingMarkEnabledDataProvider')] 88 $settingsResultSummary = $settingsResultSummary->withShowGradingMarkEnabled($IO);
89 $this->assertEquals($IO, $settingsResultSummary->getShowGradingMarkEnabled());
100 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithPassDeletionAllowedDataProvider')] 104 $settingsResultSummary = $settingsResultSummary->withPassDeletionAllowed($IO);
105 $this->assertEquals($IO, $settingsResultSummary->getPassDeletionAllowed());
116 #[\PHPUnit\Framework\Attributes\DataProvider('getAndWithShowPassDetailsDataProvider')] 120 $settingsResultSummary = $settingsResultSummary->withShowPassDetails($IO);
121 $this->assertEquals($IO, $settingsResultSummary->getShowPassDetails());
testGetAndWithShowPassDetails(bool $IO)
testGetAndWithPassDeletionAllowed(bool $IO)
static getAndWithShowGradingStatusEnabledDataProvider()
testGetAndWithShowGradingMarkEnabled(bool $IO)
testGetAndWithScoreReporting(ScoreReportingTypes $IO)
testGetAndWithShowGradingStatusEnabled(bool $IO)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static getAndWithReportingDateDataProvider()
testGetAndWithReportingDate(?\DateTimeImmutable $IO)
static getAndWithShowGradingMarkEnabledDataProvider()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getAndWithPassDeletionAllowedDataProvider()
static getAndWithShowPassDetailsDataProvider()
static getAndWithScoreReportingDataProvider()