ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 
4 require_once 'libs/composer/vendor/autoload.php';
5 require_once 'Services/Database/interfaces/interface.ilDBInterface.php';
6 require_once 'Services/Database/interfaces/interface.ilDBStatement.php';
7 require_once 'Services/Database/classes/class.ilDBConstants.php';
8 require_once 'Services/Language/classes/class.ilLanguage.php';
9 require_once 'Services/TermsOfService/exceptions/class.ilTermsOfServiceMissingDatabaseAdapterException.php';
10 require_once 'Services/TermsOfService/exceptions/class.ilTermsOfServiceMissingLanguageAdapterException.php';
11 require_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