This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Nimut/add-functional-tests
Add basic functional tests
- Loading branch information
Showing
15 changed files
with
2,053 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace TYPO3\CMS\Core\Tests\Functional\Framework\Frontend; | ||
|
||
/* | ||
* This file is part of the NIMUT testing-framework project. | ||
* | ||
* It is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License, either version 2 | ||
* of the License, or any later version. | ||
* | ||
* For the full copyright and license information, please read | ||
* LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
/** | ||
* @deprecated will be removed once TYPO3 9 LTS is released | ||
*/ | ||
class Response extends \Nimut\TestingFramework\Http\Response | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace TYPO3\CMS\Core\Tests\Functional\Framework\Frontend; | ||
|
||
/* | ||
* This file is part of the NIMUT testing-framework project. | ||
* | ||
* It is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License, either version 2 | ||
* of the License, or any later version. | ||
* | ||
* For the full copyright and license information, please read | ||
* LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
/** | ||
* @deprecated will be removed once TYPO3 9 LTS is released | ||
*/ | ||
class ResponseContent extends \Nimut\TestingFramework\Http\ResponseContent | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace TYPO3\CMS\Core\Tests\Functional\Framework\Frontend; | ||
|
||
/* | ||
* This file is part of the NIMUT testing-framework project. | ||
* | ||
* It is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License, either version 2 | ||
* of the License, or any later version. | ||
* | ||
* For the full copyright and license information, please read | ||
* LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
/** | ||
* @deprecated will be removed once TYPO3 9 LTS is released | ||
*/ | ||
class ResponseSection extends \Nimut\TestingFramework\Http\ResponseSection | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace TYPO3\CMS\Core\Tests; | ||
|
||
/* | ||
* This file is part of the NIMUT testing-framework project. | ||
* | ||
* It is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License, either version 2 | ||
* of the License, or any later version. | ||
* | ||
* For the full copyright and license information, please read | ||
* LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
/** | ||
* @deprecated will be removed once TYPO3 9 LTS is released | ||
*/ | ||
abstract class FunctionalTestCase extends \Nimut\TestingFramework\TestCase\FunctionalTestCase | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace TYPO3\CMS\Core\Tests; | ||
|
||
/* | ||
* This file is part of the NIMUT testing-framework project. | ||
* | ||
* It is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License, either version 2 | ||
* of the License, or any later version. | ||
* | ||
* For the full copyright and license information, please read | ||
* LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
/** | ||
* @deprecated will be removed once TYPO3 9 LTS is released | ||
*/ | ||
class FunctionalTestCaseBootstrapUtility extends \Nimut\TestingFramework\Bootstrap\FunctionalTestCaseBootstrapUtility | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<phpunit | ||
backupGlobals="true" | ||
backupStaticAttributes="false" | ||
bootstrap="../../src/TestingFramework/Bootstrap/FunctionalTestsBootstrap.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
forceCoversAnnotation="false" | ||
processIsolation="true" | ||
stopOnError="false" | ||
stopOnFailure="false" | ||
stopOnIncomplete="false" | ||
stopOnSkipped="false" | ||
verbose="false" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<dataset> | ||
<be_users> | ||
<uid>1</uid> | ||
<pid>0</pid> | ||
<tstamp>1366642540</tstamp> | ||
<username>admin</username> | ||
<password>$1$tCrlLajZ$C0sikFQQ3SWaFAZ1Me0Z/1</password> <!-- password --> | ||
<admin>1</admin> | ||
<disable>0</disable> | ||
<starttime>0</starttime> | ||
<endtime>0</endtime> | ||
<options>0</options> | ||
<crdate>1366642540</crdate> | ||
<cruser_id>0</cruser_id> | ||
<workspace_perms>1</workspace_perms> | ||
<disableIPlock>1</disableIPlock> | ||
<deleted>0</deleted> | ||
<TSconfig>NULL</TSconfig> | ||
<lastlogin>1371033743</lastlogin> | ||
<createdByAction>0</createdByAction> | ||
<workspace_id>0</workspace_id> | ||
<workspace_preview>1</workspace_preview> | ||
</be_users> | ||
</dataset> |
Oops, something went wrong.