mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
foo test
This commit is contained in:
parent
e342acf7ba
commit
f3052b4542
6 changed files with 474 additions and 795 deletions
1
bin/phpunit
Symbolic link
1
bin/phpunit
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../vendor/phpunit/phpunit/composer/bin/phpunit
|
4
bin/test
Normal file → Executable file
4
bin/test
Normal file → Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
./bin/phpunit
|
|
@ -45,7 +45,12 @@
|
||||||
"mgargano/simplehtmldom": "dev-master",
|
"mgargano/simplehtmldom": "dev-master",
|
||||||
"wallabag/PHP-Flash-Messages": "dev-master",
|
"wallabag/PHP-Flash-Messages": "dev-master",
|
||||||
"wallabag/kriss_php5": "dev-master",
|
"wallabag/kriss_php5": "dev-master",
|
||||||
"wallabag/pagination": "dev-master",
|
"wallabag/pagination": "dev-master"
|
||||||
"phpunit/phpunit": "4.4.*"
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~3.7"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"bin-dir": "bin"
|
||||||
}
|
}
|
||||||
}
|
}
|
1209
composer.lock
generated
1209
composer.lock
generated
File diff suppressed because it is too large
Load diff
27
phpunit.xml.dist
Normal file
27
phpunit.xml.dist
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<phpunit backupGlobals="false"
|
||||||
|
backupStaticAttributes="false"
|
||||||
|
colors="true"
|
||||||
|
convertErrorsToExceptions="true"
|
||||||
|
convertNoticesToExceptions="true"
|
||||||
|
convertWarningsToExceptions="true"
|
||||||
|
processIsolation="false"
|
||||||
|
stopOnFailure="false"
|
||||||
|
syntaxCheck="false"
|
||||||
|
bootstrap="vendor/autoload.php"
|
||||||
|
>
|
||||||
|
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="wallabag Test Suite">
|
||||||
|
<directory>tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory>inc</directory>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
</phpunit>
|
19
tests/Wallabag/Wallabag/Tests/EntryTest.php
Normal file
19
tests/Wallabag/Wallabag/Tests/EntryTest.php
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* wallabag, self hostable application allowing you to not miss any content anymore
|
||||||
|
*
|
||||||
|
* @category wallabag
|
||||||
|
* @author Nicolas Lœuillet <nicolas@loeuillet.org>
|
||||||
|
* @copyright 2013
|
||||||
|
* @license http://opensource.org/licenses/MIT see COPYING file
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace wallabag\wallabag\Tests;
|
||||||
|
|
||||||
|
class EntryTest extends \PHPUnit_Framework_TestCase
|
||||||
|
{
|
||||||
|
public function testFoo()
|
||||||
|
{
|
||||||
|
$this->assertTrue(true);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue