Skip to content
Snippets Groups Projects
Commit 63e9ec45 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

add mockedClasses

parent 1f7b95a4
Branches
Tags
3 merge requests!2080Sandbox detach zf from storm,!2061Master,!1964Stable
Pipeline #47 passed with stage
in 8 minutes and 43 seconds
......@@ -85,6 +85,7 @@ $translate->setLocale('fr');
require_once 'tests/library/ZendAfi/View/Helper/ViewHelperTestCase.php';
require_once 'tests/application/modules/admin/controllers/AdminAbstractControllerTestCase.php';
require_once 'tests/fixtures/RessourcesNumeriquesFixtures.php';
require_once 'tests/fixtures/MockedClasses.php';
register_shutdown_function(function(){
TestSpeedTrap::printSpeedTrappedTests();
......
<?php
/**
* Copyright (c) 2012-2014, Agence Française Informatique (AFI). All rights reserved.
*
* BOKEH is free software; you can redistribute it and/or modify
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by
* the Free Software Foundation.
*
* There are special exceptions to the terms and conditions of the AGPL as it
* is applied to this software (see README file).
*
* BOKEH is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
abstract class BokehBaseMockClass {
public function select() {}
public function fetchall() {}
public function find() {}
public function findAllBy() {}
public function saveEmprunteur() {}
public function setOAIHandler(){}
public function getRecordsFromSet(){}
public function getListRecordsResumptionToken(){}
public function setListRecordsResumptionToken(){}
public function translate(){}
public function open_url(){}
public function getGUID(){}
public function OuvrirSession(){}
public function FermerSession(){}
public function getEmpruntsOf(){}
public function getReservationsOf(){}
public function getAvisFromPreferences(){}
}
class MockLoader extends BokehBaseMockClass {}
class MockOpsysService extends BokehBaseMockClass {}
class Mock_OpsysService extends BokehBaseMockClass {}
class OpsysFactory extends BokehBaseMockClass {}
class Class_WebServiceOAI extends BokehBaseMockClass {}
class MockTranslator extends BokehBaseMockClass {}
class Class_XMLMock extends BokehBaseMockClass {}
class OuvreSessionResponseMock extends BokehBaseMockClass{}
class MappedSoapClientMock extends BokehBaseMockClass{}
class Storm_Model_TableClass_Article extends BokehBaseMockClass {}
class Storm_Model_TableClass_AvisNotice extends BokehBaseMockClass {}
class Storm_Model_TableClass_PanierNotice extends BokehBaseMockClass {}
class Storm_Model_TableClass_NewsletterSubscription extends BokehBaseMockClass {}
class Storm_Model_TableClass_Newsletter extends BokehBaseMockClass {}
class Storm_Model_TableClass_Users extends BokehBaseMockClass {}
class Storm_Model_TableClass_Notice extends BokehBaseMockClass {}
class MockClass_Users extends BokehBaseMockClass {}
class MockClass_AvisNotice extends BokehBaseMockClass {}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment