ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilServicesTermsOfServiceSuite.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once 'libs/composer/vendor/autoload.php';
5require_once 'Services/Database/interfaces/interface.ilDBInterface.php';
6require_once 'Services/Database/interfaces/interface.ilDBStatement.php';
7require_once 'Services/Database/classes/class.ilDBConstants.php';
8require_once 'Services/Language/classes/class.ilLanguage.php';
9require_once 'Services/TermsOfService/exceptions/class.ilTermsOfServiceMissingDatabaseAdapterException.php';
10require_once 'Services/TermsOfService/exceptions/class.ilTermsOfServiceMissingLanguageAdapterException.php';
11require_once 'Services/TermsOfService/exceptions/class.ilTermsOfServiceNoSignableDocumentFoundException.php';
12
18{
22 public static function suite()
23 {
24 $suite = new self();
25
26 require_once 'Services/TermsOfService/test/factories/ilTermsOfServiceEntityFactoryTest.php';
27 $suite->addTestSuite('ilTermsOfServiceEntityFactoryTest');
28
29 require_once 'Services/TermsOfService/test/factories/ilTermsOfServiceDataGatewayFactoryTest.php';
30 $suite->addTestSuite('ilTermsOfServiceDataGatewayFactoryTest');
31
32 require_once 'Services/TermsOfService/test/factories/ilTermsOfServiceTableDataProviderFactoryTest.php';
33 $suite->addTestSuite('ilTermsOfServiceTableDataProviderFactoryTest');
34
35 require_once 'Services/TermsOfService/test/provider/ilTermsOfServiceAgreementsByLanguageTableDataProviderTest.php';
36 $suite->addTestSuite('ilTermsOfServiceAgreementsByLanguageTableDataProviderTest');
37
38 require_once 'Services/TermsOfService/test/provider/ilTermsOfServiceAcceptanceHistoryProviderTest.php';
39 $suite->addTestSuite('ilTermsOfServiceAcceptanceHistoryProviderTest');
40
41 require_once 'Services/TermsOfService/test/entities/ilTermsOfServiceAcceptanceEntityTest.php';
42 $suite->addTestSuite('ilTermsOfServiceAcceptanceEntityTest');
43
44 require_once 'Services/TermsOfService/test/gateways/ilTermsOfServiceAcceptanceDatabaseGatewayTest.php';
45 $suite->addTestSuite('ilTermsOfServiceAcceptanceDatabaseGatewayTest');
46
47 require_once 'Services/TermsOfService/test/documents/ilTermsOfServiceFileSystemDocumentTest.php';
48 $suite->addTestSuite('ilTermsOfServiceFileSystemDocumentTest');
49
50 return $suite;
51 }
52}
$suite
An exception for terminatinating execution or to throw for unit testing.