'taoTests', 'label' => 'Test core extension', 'description' => 'TAO Tests extension contains the abstraction of the test-runners, but requires an implementation in order to be able to run tests', 'license' => 'GPL-2.0', 'author' => 'Open Assessment Technologies, CRP Henri Tudor', 'models' => [ 'http://www.tao.lu/Ontologies/TAOTest.rdf', ], 'install' => [ 'rdf' => [ __DIR__ . '/models/ontology/taotest.rdf', ], 'php' => [ RegisterTestPluginService::class, RegisterTestProviderService::class, RegisterFrontendPaths::class, RegisterTestPreviewerRegistryService::class, SetupProvider::class, ], ], 'update' => Updater::class, 'managementRole' => 'http://www.tao.lu/Ontologies/TAOTest.rdf#TestsManagerRole', 'acl' => [ ['grant', 'http://www.tao.lu/Ontologies/TAOTest.rdf#TestsManagerRole', ['ext' => 'taoTests']], ['grant', TaoRoles::REST_PUBLISHER, ['ext' => 'taoTests', 'mod' => 'RestTests']], ], 'optimizableClasses' => [ 'http://www.tao.lu/Ontologies/TAOTest.rdf#Test', ], 'constants' => [ # actions directory "DIR_ACTIONS" => $extpath . "actions" . DIRECTORY_SEPARATOR, # views directory "DIR_VIEWS" => $extpath . "views" . DIRECTORY_SEPARATOR, # default module name 'DEFAULT_MODULE_NAME' => 'Tests', #default action name 'DEFAULT_ACTION_NAME' => 'index', #BASE PATH: the root path in the file system (usually the document root) 'BASE_PATH' => $extpath, #BASE URL (usually the domain root) 'BASE_URL' => ROOT_URL . 'taoTests/', ], ];