aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2015-01-19 11:59:22 +0100
committerNicolas Lœuillet <nicolas@loeuillet.org>2015-01-19 11:59:22 +0100
commitf3052b454277b2d54669943f7c0ca5d4b4af50ab (patch)
treef20ced7dd07544a765de352b38e9b80def9eacaf
parente342acf7baf72e3be0fdcd8aac04eebb5c0a16a8 (diff)
downloadwallabag-f3052b454277b2d54669943f7c0ca5d4b4af50ab.tar.gz
wallabag-f3052b454277b2d54669943f7c0ca5d4b4af50ab.tar.zst
wallabag-f3052b454277b2d54669943f7c0ca5d4b4af50ab.zip
foo test
l---------bin/phpunit1
-rwxr-xr-x[-rw-r--r--]bin/test4
-rw-r--r--composer.json9
-rw-r--r--composer.lock1209
-rw-r--r--phpunit.xml.dist27
-rw-r--r--tests/Wallabag/Wallabag/Tests/EntryTest.php19
6 files changed, 474 insertions, 795 deletions
diff --git a/bin/phpunit b/bin/phpunit
new file mode 120000
index 00000000..02269f4e
--- /dev/null
+++ b/bin/phpunit
@@ -0,0 +1 @@
../vendor/phpunit/phpunit/composer/bin/phpunit \ No newline at end of file
diff --git a/bin/test b/bin/test
index e69de29b..67efc630 100644..100755
--- a/bin/test
+++ b/bin/test
@@ -0,0 +1,4 @@
1#!/bin/sh
2set -e
3
4./bin/phpunit \ No newline at end of file
diff --git a/composer.json b/composer.json
index 12281557..4e845742 100644
--- a/composer.json
+++ b/composer.json
@@ -45,7 +45,12 @@
45 "mgargano/simplehtmldom": "dev-master", 45 "mgargano/simplehtmldom": "dev-master",
46 "wallabag/PHP-Flash-Messages": "dev-master", 46 "wallabag/PHP-Flash-Messages": "dev-master",
47 "wallabag/kriss_php5": "dev-master", 47 "wallabag/kriss_php5": "dev-master",
48 "wallabag/pagination": "dev-master", 48 "wallabag/pagination": "dev-master"
49 "phpunit/phpunit": "4.4.*" 49 },
50 "require-dev": {
51 "phpunit/phpunit": "~3.7"
52 },
53 "config": {
54 "bin-dir": "bin"
50 } 55 }
51} \ No newline at end of file 56} \ No newline at end of file
diff --git a/composer.lock b/composer.lock
index 6330c208..3a136511 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,63 +4,9 @@
4 "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 4 "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5 "This file is @generated automatically" 5 "This file is @generated automatically"
6 ], 6 ],
7 "hash": "08260f805c98144283fb3e8d560661cc", 7 "hash": "a03a4e11f840a4f84f7f1a7b77c4eb94",
8 "packages": [ 8 "packages": [
9 { 9 {
10 "name": "doctrine/instantiator",
11 "version": "1.0.4",
12 "source": {
13 "type": "git",
14 "url": "https://github.com/doctrine/instantiator.git",
15 "reference": "f976e5de371104877ebc89bd8fecb0019ed9c119"
16 },
17 "dist": {
18 "type": "zip",
19 "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f976e5de371104877ebc89bd8fecb0019ed9c119",
20 "reference": "f976e5de371104877ebc89bd8fecb0019ed9c119",
21 "shasum": ""
22 },
23 "require": {
24 "php": ">=5.3,<8.0-DEV"
25 },
26 "require-dev": {
27 "athletic/athletic": "~0.1.8",
28 "ext-pdo": "*",
29 "ext-phar": "*",
30 "phpunit/phpunit": "~4.0",
31 "squizlabs/php_codesniffer": "2.0.*@ALPHA"
32 },
33 "type": "library",
34 "extra": {
35 "branch-alias": {
36 "dev-master": "1.0.x-dev"
37 }
38 },
39 "autoload": {
40 "psr-0": {
41 "Doctrine\\Instantiator\\": "src"
42 }
43 },
44 "notification-url": "https://packagist.org/downloads/",
45 "license": [
46 "MIT"
47 ],
48 "authors": [
49 {
50 "name": "Marco Pivetta",
51 "email": "ocramius@gmail.com",
52 "homepage": "http://ocramius.github.com/"
53 }
54 ],
55 "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
56 "homepage": "https://github.com/doctrine/instantiator",
57 "keywords": [
58 "constructor",
59 "instantiate"
60 ],
61 "time": "2014-10-13 12:58:55"
62 },
63 {
64 "name": "ezyang/htmlpurifier", 10 "name": "ezyang/htmlpurifier",
65 "version": "dev-master", 11 "version": "dev-master",
66 "source": { 12 "source": {
@@ -359,379 +305,6 @@
359 "time": "2014-01-05 18:17:34" 305 "time": "2014-01-05 18:17:34"
360 }, 306 },
361 { 307 {
362 "name": "phpunit/php-code-coverage",
363 "version": "2.0.14",
364 "source": {
365 "type": "git",
366 "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
367 "reference": "ca158276c1200cc27f5409a5e338486bc0b4fc94"
368 },
369 "dist": {
370 "type": "zip",
371 "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca158276c1200cc27f5409a5e338486bc0b4fc94",
372 "reference": "ca158276c1200cc27f5409a5e338486bc0b4fc94",
373 "shasum": ""
374 },
375 "require": {
376 "php": ">=5.3.3",
377 "phpunit/php-file-iterator": "~1.3",
378 "phpunit/php-text-template": "~1.2",
379 "phpunit/php-token-stream": "~1.3",
380 "sebastian/environment": "~1.0",
381 "sebastian/version": "~1.0"
382 },
383 "require-dev": {
384 "ext-xdebug": ">=2.1.4",
385 "phpunit/phpunit": "~4.1"
386 },
387 "suggest": {
388 "ext-dom": "*",
389 "ext-xdebug": ">=2.2.1",
390 "ext-xmlwriter": "*"
391 },
392 "type": "library",
393 "extra": {
394 "branch-alias": {
395 "dev-master": "2.0.x-dev"
396 }
397 },
398 "autoload": {
399 "classmap": [
400 "src/"
401 ]
402 },
403 "notification-url": "https://packagist.org/downloads/",
404 "include-path": [
405 ""
406 ],
407 "license": [
408 "BSD-3-Clause"
409 ],
410 "authors": [
411 {
412 "name": "Sebastian Bergmann",
413 "email": "sb@sebastian-bergmann.de",
414 "role": "lead"
415 }
416 ],
417 "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
418 "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
419 "keywords": [
420 "coverage",
421 "testing",
422 "xunit"
423 ],
424 "time": "2014-12-26 13:28:33"
425 },
426 {
427 "name": "phpunit/php-file-iterator",
428 "version": "1.3.4",
429 "source": {
430 "type": "git",
431 "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
432 "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb"
433 },
434 "dist": {
435 "type": "zip",
436 "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb",
437 "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb",
438 "shasum": ""
439 },
440 "require": {
441 "php": ">=5.3.3"
442 },
443 "type": "library",
444 "autoload": {
445 "classmap": [
446 "File/"
447 ]
448 },
449 "notification-url": "https://packagist.org/downloads/",
450 "include-path": [
451 ""
452 ],
453 "license": [
454 "BSD-3-Clause"
455 ],
456 "authors": [
457 {
458 "name": "Sebastian Bergmann",
459 "email": "sb@sebastian-bergmann.de",
460 "role": "lead"
461 }
462 ],
463 "description": "FilterIterator implementation that filters files based on a list of suffixes.",
464 "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
465 "keywords": [
466 "filesystem",
467 "iterator"
468 ],
469 "time": "2013-10-10 15:34:57"
470 },
471 {
472 "name": "phpunit/php-text-template",
473 "version": "1.2.0",
474 "source": {
475 "type": "git",
476 "url": "https://github.com/sebastianbergmann/php-text-template.git",
477 "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a"
478 },
479 "dist": {
480 "type": "zip",
481 "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a",
482 "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a",
483 "shasum": ""
484 },
485 "require": {
486 "php": ">=5.3.3"
487 },
488 "type": "library",
489 "autoload": {
490 "classmap": [
491 "Text/"
492 ]
493 },
494 "notification-url": "https://packagist.org/downloads/",
495 "include-path": [
496 ""
497 ],
498 "license": [
499 "BSD-3-Clause"
500 ],
501 "authors": [
502 {
503 "name": "Sebastian Bergmann",
504 "email": "sb@sebastian-bergmann.de",
505 "role": "lead"
506 }
507 ],
508 "description": "Simple template engine.",
509 "homepage": "https://github.com/sebastianbergmann/php-text-template/",
510 "keywords": [
511 "template"
512 ],
513 "time": "2014-01-30 17:20:04"
514 },
515 {
516 "name": "phpunit/php-timer",
517 "version": "1.0.5",
518 "source": {
519 "type": "git",
520 "url": "https://github.com/sebastianbergmann/php-timer.git",
521 "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c"
522 },
523 "dist": {
524 "type": "zip",
525 "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/19689d4354b295ee3d8c54b4f42c3efb69cbc17c",
526 "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c",
527 "shasum": ""
528 },
529 "require": {
530 "php": ">=5.3.3"
531 },
532 "type": "library",
533 "autoload": {
534 "classmap": [
535 "PHP/"
536 ]
537 },
538 "notification-url": "https://packagist.org/downloads/",
539 "include-path": [
540 ""
541 ],
542 "license": [
543 "BSD-3-Clause"
544 ],
545 "authors": [
546 {
547 "name": "Sebastian Bergmann",
548 "email": "sb@sebastian-bergmann.de",
549 "role": "lead"
550 }
551 ],
552 "description": "Utility class for timing",
553 "homepage": "https://github.com/sebastianbergmann/php-timer/",
554 "keywords": [
555 "timer"
556 ],
557 "time": "2013-08-02 07:42:54"
558 },
559 {
560 "name": "phpunit/php-token-stream",
561 "version": "1.4.0",
562 "source": {
563 "type": "git",
564 "url": "https://github.com/sebastianbergmann/php-token-stream.git",
565 "reference": "db32c18eba00b121c145575fcbcd4d4d24e6db74"
566 },
567 "dist": {
568 "type": "zip",
569 "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/db32c18eba00b121c145575fcbcd4d4d24e6db74",
570 "reference": "db32c18eba00b121c145575fcbcd4d4d24e6db74",
571 "shasum": ""
572 },
573 "require": {
574 "ext-tokenizer": "*",
575 "php": ">=5.3.3"
576 },
577 "require-dev": {
578 "phpunit/phpunit": "~4.2"
579 },
580 "type": "library",
581 "extra": {
582 "branch-alias": {
583 "dev-master": "1.4-dev"
584 }
585 },
586 "autoload": {
587 "classmap": [
588 "src/"
589 ]
590 },
591 "notification-url": "https://packagist.org/downloads/",
592 "license": [
593 "BSD-3-Clause"
594 ],
595 "authors": [
596 {
597 "name": "Sebastian Bergmann",
598 "email": "sebastian@phpunit.de"
599 }
600 ],
601 "description": "Wrapper around PHP's tokenizer extension.",
602 "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
603 "keywords": [
604 "tokenizer"
605 ],
606 "time": "2015-01-17 09:51:32"
607 },
608 {
609 "name": "phpunit/phpunit",
610 "version": "4.4.2",
611 "source": {
612 "type": "git",
613 "url": "https://github.com/sebastianbergmann/phpunit.git",
614 "reference": "e90575c2bb86290d57a262862dab1da125431576"
615 },
616 "dist": {
617 "type": "zip",
618 "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e90575c2bb86290d57a262862dab1da125431576",
619 "reference": "e90575c2bb86290d57a262862dab1da125431576",
620 "shasum": ""
621 },
622 "require": {
623 "ext-dom": "*",
624 "ext-json": "*",
625 "ext-pcre": "*",
626 "ext-reflection": "*",
627 "ext-spl": "*",
628 "php": ">=5.3.3",
629 "phpunit/php-code-coverage": "~2.0",
630 "phpunit/php-file-iterator": "~1.3.2",
631 "phpunit/php-text-template": "~1.2",
632 "phpunit/php-timer": "~1.0.2",
633 "phpunit/phpunit-mock-objects": "~2.3",
634 "sebastian/comparator": "~1.0",
635 "sebastian/diff": "~1.1",
636 "sebastian/environment": "~1.1",
637 "sebastian/exporter": "~1.0",
638 "sebastian/global-state": "~1.0",
639 "sebastian/version": "~1.0",
640 "symfony/yaml": "~2.0"
641 },
642 "suggest": {
643 "phpunit/php-invoker": "~1.1"
644 },
645 "bin": [
646 "phpunit"
647 ],
648 "type": "library",
649 "extra": {
650 "branch-alias": {
651 "dev-master": "4.4.x-dev"
652 }
653 },
654 "autoload": {
655 "classmap": [
656 "src/"
657 ]
658 },
659 "notification-url": "https://packagist.org/downloads/",
660 "license": [
661 "BSD-3-Clause"
662 ],
663 "authors": [
664 {
665 "name": "Sebastian Bergmann",
666 "email": "sebastian@phpunit.de",
667 "role": "lead"
668 }
669 ],
670 "description": "The PHP Unit Testing framework.",
671 "homepage": "https://phpunit.de/",
672 "keywords": [
673 "phpunit",
674 "testing",
675 "xunit"
676 ],
677 "time": "2015-01-17 11:24:41"
678 },
679 {
680 "name": "phpunit/phpunit-mock-objects",
681 "version": "2.3.0",
682 "source": {
683 "type": "git",
684 "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
685 "reference": "c63d2367247365f688544f0d500af90a11a44c65"
686 },
687 "dist": {
688 "type": "zip",
689 "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/c63d2367247365f688544f0d500af90a11a44c65",
690 "reference": "c63d2367247365f688544f0d500af90a11a44c65",
691 "shasum": ""
692 },
693 "require": {
694 "doctrine/instantiator": "~1.0,>=1.0.1",
695 "php": ">=5.3.3",
696 "phpunit/php-text-template": "~1.2"
697 },
698 "require-dev": {
699 "phpunit/phpunit": "~4.3"
700 },
701 "suggest": {
702 "ext-soap": "*"
703 },
704 "type": "library",
705 "extra": {
706 "branch-alias": {
707 "dev-master": "2.3.x-dev"
708 }
709 },
710 "autoload": {
711 "classmap": [
712 "src/"
713 ]
714 },
715 "notification-url": "https://packagist.org/downloads/",
716 "license": [
717 "BSD-3-Clause"
718 ],
719 "authors": [
720 {
721 "name": "Sebastian Bergmann",
722 "email": "sb@sebastian-bergmann.de",
723 "role": "lead"
724 }
725 ],
726 "description": "Mock Object library for PHPUnit",
727 "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
728 "keywords": [
729 "mock",
730 "xunit"
731 ],
732 "time": "2014-10-03 05:12:11"
733 },
734 {
735 "name": "react/promise", 308 "name": "react/promise",
736 "version": "v2.2.0", 309 "version": "v2.2.0",
737 "source": { 310 "source": {
@@ -776,323 +349,6 @@
776 "time": "2014-12-30 13:32:42" 349 "time": "2014-12-30 13:32:42"
777 }, 350 },
778 { 351 {
779 "name": "sebastian/comparator",
780 "version": "1.1.0",
781 "source": {
782 "type": "git",
783 "url": "https://github.com/sebastianbergmann/comparator.git",
784 "reference": "c484a80f97573ab934e37826dba0135a3301b26a"
785 },
786 "dist": {
787 "type": "zip",
788 "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/c484a80f97573ab934e37826dba0135a3301b26a",
789 "reference": "c484a80f97573ab934e37826dba0135a3301b26a",
790 "shasum": ""
791 },
792 "require": {
793 "php": ">=5.3.3",
794 "sebastian/diff": "~1.1",
795 "sebastian/exporter": "~1.0"
796 },
797 "require-dev": {
798 "phpunit/phpunit": "~4.1"
799 },
800 "type": "library",
801 "extra": {
802 "branch-alias": {
803 "dev-master": "1.1.x-dev"
804 }
805 },
806 "autoload": {
807 "classmap": [
808 "src/"
809 ]
810 },
811 "notification-url": "https://packagist.org/downloads/",
812 "license": [
813 "BSD-3-Clause"
814 ],
815 "authors": [
816 {
817 "name": "Jeff Welch",
818 "email": "whatthejeff@gmail.com"
819 },
820 {
821 "name": "Volker Dusch",
822 "email": "github@wallbash.com"
823 },
824 {
825 "name": "Bernhard Schussek",
826 "email": "bschussek@2bepublished.at"
827 },
828 {
829 "name": "Sebastian Bergmann",
830 "email": "sebastian@phpunit.de"
831 }
832 ],
833 "description": "Provides the functionality to compare PHP values for equality",
834 "homepage": "http://www.github.com/sebastianbergmann/comparator",
835 "keywords": [
836 "comparator",
837 "compare",
838 "equality"
839 ],
840 "time": "2014-11-16 21:32:38"
841 },
842 {
843 "name": "sebastian/diff",
844 "version": "1.2.0",
845 "source": {
846 "type": "git",
847 "url": "https://github.com/sebastianbergmann/diff.git",
848 "reference": "5843509fed39dee4b356a306401e9dd1a931fec7"
849 },
850 "dist": {
851 "type": "zip",
852 "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/5843509fed39dee4b356a306401e9dd1a931fec7",
853 "reference": "5843509fed39dee4b356a306401e9dd1a931fec7",
854 "shasum": ""
855 },
856 "require": {
857 "php": ">=5.3.3"
858 },
859 "require-dev": {
860 "phpunit/phpunit": "~4.2"
861 },
862 "type": "library",
863 "extra": {
864 "branch-alias": {
865 "dev-master": "1.2-dev"
866 }
867 },
868 "autoload": {
869 "classmap": [
870 "src/"
871 ]
872 },
873 "notification-url": "https://packagist.org/downloads/",
874 "license": [
875 "BSD-3-Clause"
876 ],
877 "authors": [
878 {
879 "name": "Kore Nordmann",
880 "email": "mail@kore-nordmann.de"
881 },
882 {
883 "name": "Sebastian Bergmann",
884 "email": "sebastian@phpunit.de"
885 }
886 ],
887 "description": "Diff implementation",
888 "homepage": "http://www.github.com/sebastianbergmann/diff",
889 "keywords": [
890 "diff"
891 ],
892 "time": "2014-08-15 10:29:00"
893 },
894 {
895 "name": "sebastian/environment",
896 "version": "1.2.1",
897 "source": {
898 "type": "git",
899 "url": "https://github.com/sebastianbergmann/environment.git",
900 "reference": "6e6c71d918088c251b181ba8b3088af4ac336dd7"
901 },
902 "dist": {
903 "type": "zip",
904 "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6e6c71d918088c251b181ba8b3088af4ac336dd7",
905 "reference": "6e6c71d918088c251b181ba8b3088af4ac336dd7",
906 "shasum": ""
907 },
908 "require": {
909 "php": ">=5.3.3"
910 },
911 "require-dev": {
912 "phpunit/phpunit": "~4.3"
913 },
914 "type": "library",
915 "extra": {
916 "branch-alias": {
917 "dev-master": "1.2.x-dev"
918 }
919 },
920 "autoload": {
921 "classmap": [
922 "src/"
923 ]
924 },
925 "notification-url": "https://packagist.org/downloads/",
926 "license": [
927 "BSD-3-Clause"
928 ],
929 "authors": [
930 {
931 "name": "Sebastian Bergmann",
932 "email": "sebastian@phpunit.de"
933 }
934 ],
935 "description": "Provides functionality to handle HHVM/PHP environments",
936 "homepage": "http://www.github.com/sebastianbergmann/environment",
937 "keywords": [
938 "Xdebug",
939 "environment",
940 "hhvm"
941 ],
942 "time": "2014-10-25 08:00:45"
943 },
944 {
945 "name": "sebastian/exporter",
946 "version": "1.0.2",
947 "source": {
948 "type": "git",
949 "url": "https://github.com/sebastianbergmann/exporter.git",
950 "reference": "c7d59948d6e82818e1bdff7cadb6c34710eb7dc0"
951 },
952 "dist": {
953 "type": "zip",
954 "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c7d59948d6e82818e1bdff7cadb6c34710eb7dc0",
955 "reference": "c7d59948d6e82818e1bdff7cadb6c34710eb7dc0",
956 "shasum": ""
957 },
958 "require": {
959 "php": ">=5.3.3"
960 },
961 "require-dev": {
962 "phpunit/phpunit": "~4.0"
963 },
964 "type": "library",
965 "extra": {
966 "branch-alias": {
967 "dev-master": "1.0.x-dev"
968 }
969 },
970 "autoload": {
971 "classmap": [
972 "src/"
973 ]
974 },
975 "notification-url": "https://packagist.org/downloads/",
976 "license": [
977 "BSD-3-Clause"
978 ],
979 "authors": [
980 {
981 "name": "Jeff Welch",
982 "email": "whatthejeff@gmail.com"
983 },
984 {
985 "name": "Volker Dusch",
986 "email": "github@wallbash.com"
987 },
988 {
989 "name": "Bernhard Schussek",
990 "email": "bschussek@2bepublished.at"
991 },
992 {
993 "name": "Sebastian Bergmann",
994 "email": "sebastian@phpunit.de"
995 },
996 {
997 "name": "Adam Harvey",
998 "email": "aharvey@php.net"
999 }
1000 ],
1001 "description": "Provides the functionality to export PHP variables for visualization",
1002 "homepage": "http://www.github.com/sebastianbergmann/exporter",
1003 "keywords": [
1004 "export",
1005 "exporter"
1006 ],
1007 "time": "2014-09-10 00:51:36"
1008 },
1009 {
1010 "name": "sebastian/global-state",
1011 "version": "1.0.0",
1012 "source": {
1013 "type": "git",
1014 "url": "https://github.com/sebastianbergmann/global-state.git",
1015 "reference": "c7428acdb62ece0a45e6306f1ae85e1c05b09c01"
1016 },
1017 "dist": {
1018 "type": "zip",
1019 "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/c7428acdb62ece0a45e6306f1ae85e1c05b09c01",
1020 "reference": "c7428acdb62ece0a45e6306f1ae85e1c05b09c01",
1021 "shasum": ""
1022 },
1023 "require": {
1024 "php": ">=5.3.3"
1025 },
1026 "require-dev": {
1027 "phpunit/phpunit": "~4.2"
1028 },
1029 "suggest": {
1030 "ext-uopz": "*"
1031 },
1032 "type": "library",
1033 "extra": {
1034 "branch-alias": {
1035 "dev-master": "1.0-dev"
1036 }
1037 },
1038 "autoload": {
1039 "classmap": [
1040 "src/"
1041 ]
1042 },
1043 "notification-url": "https://packagist.org/downloads/",
1044 "license": [
1045 "BSD-3-Clause"
1046 ],
1047 "authors": [
1048 {
1049 "name": "Sebastian Bergmann",
1050 "email": "sebastian@phpunit.de"
1051 }
1052 ],
1053 "description": "Snapshotting of global state",
1054 "homepage": "http://www.github.com/sebastianbergmann/global-state",
1055 "keywords": [
1056 "global state"
1057 ],
1058 "time": "2014-10-06 09:23:50"
1059 },
1060 {
1061 "name": "sebastian/version",
1062 "version": "1.0.4",
1063 "source": {
1064 "type": "git",
1065 "url": "https://github.com/sebastianbergmann/version.git",
1066 "reference": "a77d9123f8e809db3fbdea15038c27a95da4058b"
1067 },
1068 "dist": {
1069 "type": "zip",
1070 "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/a77d9123f8e809db3fbdea15038c27a95da4058b",
1071 "reference": "a77d9123f8e809db3fbdea15038c27a95da4058b",
1072 "shasum": ""
1073 },
1074 "type": "library",
1075 "autoload": {
1076 "classmap": [
1077 "src/"
1078 ]
1079 },
1080 "notification-url": "https://packagist.org/downloads/",
1081 "license": [
1082 "BSD-3-Clause"
1083 ],
1084 "authors": [
1085 {
1086 "name": "Sebastian Bergmann",
1087 "email": "sebastian@phpunit.de",
1088 "role": "lead"
1089 }
1090 ],
1091 "description": "Library that helps with managing the version number of Git-hosted PHP projects",
1092 "homepage": "https://github.com/sebastianbergmann/version",
1093 "time": "2014-12-15 14:25:24"
1094 },
1095 {
1096 "name": "symfony/browser-kit", 352 "name": "symfony/browser-kit",
1097 "version": "v2.6.3", 353 "version": "v2.6.3",
1098 "target-dir": "Symfony/Component/BrowserKit", 354 "target-dir": "Symfony/Component/BrowserKit",
@@ -1927,53 +1183,6 @@
1927 "time": "2015-01-05 14:28:40" 1183 "time": "2015-01-05 14:28:40"
1928 }, 1184 },
1929 { 1185 {
1930 "name": "symfony/yaml",
1931 "version": "v2.6.3",
1932 "target-dir": "Symfony/Component/Yaml",
1933 "source": {
1934 "type": "git",
1935 "url": "https://github.com/symfony/Yaml.git",
1936 "reference": "82462a90848a52c2533aa6b598b107d68076b018"
1937 },
1938 "dist": {
1939 "type": "zip",
1940 "url": "https://api.github.com/repos/symfony/Yaml/zipball/82462a90848a52c2533aa6b598b107d68076b018",
1941 "reference": "82462a90848a52c2533aa6b598b107d68076b018",
1942 "shasum": ""
1943 },
1944 "require": {
1945 "php": ">=5.3.3"
1946 },
1947 "type": "library",
1948 "extra": {
1949 "branch-alias": {
1950 "dev-master": "2.6-dev"
1951 }
1952 },
1953 "autoload": {
1954 "psr-0": {
1955 "Symfony\\Component\\Yaml\\": ""
1956 }
1957 },
1958 "notification-url": "https://packagist.org/downloads/",
1959 "license": [
1960 "MIT"
1961 ],
1962 "authors": [
1963 {
1964 "name": "Symfony Community",
1965 "homepage": "http://symfony.com/contributors"
1966 },
1967 {
1968 "name": "Fabien Potencier",
1969 "email": "fabien@symfony.com"
1970 }
1971 ],
1972 "description": "Symfony Yaml Component",
1973 "homepage": "http://symfony.com",
1974 "time": "2015-01-03 15:33:07"
1975 },
1976 {
1977 "name": "twig/extensions", 1186 "name": "twig/extensions",
1978 "version": "v1.0.1", 1187 "version": "v1.0.1",
1979 "source": { 1188 "source": {
@@ -2248,7 +1457,421 @@
2248 "time": "2015-01-18 19:51:55" 1457 "time": "2015-01-18 19:51:55"
2249 } 1458 }
2250 ], 1459 ],
2251 "packages-dev": [], 1460 "packages-dev": [
1461 {
1462 "name": "phpunit/php-code-coverage",
1463 "version": "1.2.18",
1464 "source": {
1465 "type": "git",
1466 "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
1467 "reference": "fe2466802556d3fe4e4d1d58ffd3ccfd0a19be0b"
1468 },
1469 "dist": {
1470 "type": "zip",
1471 "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/fe2466802556d3fe4e4d1d58ffd3ccfd0a19be0b",
1472 "reference": "fe2466802556d3fe4e4d1d58ffd3ccfd0a19be0b",
1473 "shasum": ""
1474 },
1475 "require": {
1476 "php": ">=5.3.3",
1477 "phpunit/php-file-iterator": ">=1.3.0@stable",
1478 "phpunit/php-text-template": ">=1.2.0@stable",
1479 "phpunit/php-token-stream": ">=1.1.3,<1.3.0"
1480 },
1481 "require-dev": {
1482 "phpunit/phpunit": "3.7.*@dev"
1483 },
1484 "suggest": {
1485 "ext-dom": "*",
1486 "ext-xdebug": ">=2.0.5"
1487 },
1488 "type": "library",
1489 "extra": {
1490 "branch-alias": {
1491 "dev-master": "1.2.x-dev"
1492 }
1493 },
1494 "autoload": {
1495 "classmap": [
1496 "PHP/"
1497 ]
1498 },
1499 "notification-url": "https://packagist.org/downloads/",
1500 "include-path": [
1501 ""
1502 ],
1503 "license": [
1504 "BSD-3-Clause"
1505 ],
1506 "authors": [
1507 {
1508 "name": "Sebastian Bergmann",
1509 "email": "sb@sebastian-bergmann.de",
1510 "role": "lead"
1511 }
1512 ],
1513 "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
1514 "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
1515 "keywords": [
1516 "coverage",
1517 "testing",
1518 "xunit"
1519 ],
1520 "time": "2014-09-02 10:13:14"
1521 },
1522 {
1523 "name": "phpunit/php-file-iterator",
1524 "version": "1.3.4",
1525 "source": {
1526 "type": "git",
1527 "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
1528 "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb"
1529 },
1530 "dist": {
1531 "type": "zip",
1532 "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb",
1533 "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb",
1534 "shasum": ""
1535 },
1536 "require": {
1537 "php": ">=5.3.3"
1538 },
1539 "type": "library",
1540 "autoload": {
1541 "classmap": [
1542 "File/"
1543 ]
1544 },
1545 "notification-url": "https://packagist.org/downloads/",
1546 "include-path": [
1547 ""
1548 ],
1549 "license": [
1550 "BSD-3-Clause"
1551 ],
1552 "authors": [
1553 {
1554 "name": "Sebastian Bergmann",
1555 "email": "sb@sebastian-bergmann.de",
1556 "role": "lead"
1557 }
1558 ],
1559 "description": "FilterIterator implementation that filters files based on a list of suffixes.",
1560 "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
1561 "keywords": [
1562 "filesystem",
1563 "iterator"
1564 ],
1565 "time": "2013-10-10 15:34:57"
1566 },
1567 {
1568 "name": "phpunit/php-text-template",
1569 "version": "1.2.0",
1570 "source": {
1571 "type": "git",
1572 "url": "https://github.com/sebastianbergmann/php-text-template.git",
1573 "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a"
1574 },
1575 "dist": {
1576 "type": "zip",
1577 "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a",
1578 "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a",
1579 "shasum": ""
1580 },
1581 "require": {
1582 "php": ">=5.3.3"
1583 },
1584 "type": "library",
1585 "autoload": {
1586 "classmap": [
1587 "Text/"
1588 ]
1589 },
1590 "notification-url": "https://packagist.org/downloads/",
1591 "include-path": [
1592 ""
1593 ],
1594 "license": [
1595 "BSD-3-Clause"
1596 ],
1597 "authors": [
1598 {
1599 "name": "Sebastian Bergmann",
1600 "email": "sb@sebastian-bergmann.de",
1601 "role": "lead"
1602 }
1603 ],
1604 "description": "Simple template engine.",
1605 "homepage": "https://github.com/sebastianbergmann/php-text-template/",
1606 "keywords": [
1607 "template"
1608 ],
1609 "time": "2014-01-30 17:20:04"
1610 },
1611 {
1612 "name": "phpunit/php-timer",
1613 "version": "1.0.5",
1614 "source": {
1615 "type": "git",
1616 "url": "https://github.com/sebastianbergmann/php-timer.git",
1617 "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c"
1618 },
1619 "dist": {
1620 "type": "zip",
1621 "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/19689d4354b295ee3d8c54b4f42c3efb69cbc17c",
1622 "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c",
1623 "shasum": ""
1624 },
1625 "require": {
1626 "php": ">=5.3.3"
1627 },
1628 "type": "library",
1629 "autoload": {
1630 "classmap": [
1631 "PHP/"
1632 ]
1633 },
1634 "notification-url": "https://packagist.org/downloads/",
1635 "include-path": [
1636 ""
1637 ],
1638 "license": [
1639 "BSD-3-Clause"
1640 ],
1641 "authors": [
1642 {
1643 "name": "Sebastian Bergmann",
1644 "email": "sb@sebastian-bergmann.de",
1645 "role": "lead"
1646 }
1647 ],
1648 "description": "Utility class for timing",
1649 "homepage": "https://github.com/sebastianbergmann/php-timer/",
1650 "keywords": [
1651 "timer"
1652 ],
1653 "time": "2013-08-02 07:42:54"
1654 },
1655 {
1656 "name": "phpunit/php-token-stream",
1657 "version": "1.2.2",
1658 "source": {
1659 "type": "git",
1660 "url": "https://github.com/sebastianbergmann/php-token-stream.git",
1661 "reference": "ad4e1e23ae01b483c16f600ff1bebec184588e32"
1662 },
1663 "dist": {
1664 "type": "zip",
1665 "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/ad4e1e23ae01b483c16f600ff1bebec184588e32",
1666 "reference": "ad4e1e23ae01b483c16f600ff1bebec184588e32",
1667 "shasum": ""
1668 },
1669 "require": {
1670 "ext-tokenizer": "*",
1671 "php": ">=5.3.3"
1672 },
1673 "type": "library",
1674 "extra": {
1675 "branch-alias": {
1676 "dev-master": "1.2-dev"
1677 }
1678 },
1679 "autoload": {
1680 "classmap": [
1681 "PHP/"
1682 ]
1683 },
1684 "notification-url": "https://packagist.org/downloads/",
1685 "include-path": [
1686 ""
1687 ],
1688 "license": [
1689 "BSD-3-Clause"
1690 ],
1691 "authors": [
1692 {
1693 "name": "Sebastian Bergmann",
1694 "email": "sb@sebastian-bergmann.de",
1695 "role": "lead"
1696 }
1697 ],
1698 "description": "Wrapper around PHP's tokenizer extension.",
1699 "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
1700 "keywords": [
1701 "tokenizer"
1702 ],
1703 "time": "2014-03-03 05:10:30"
1704 },
1705 {
1706 "name": "phpunit/phpunit",
1707 "version": "3.7.38",
1708 "source": {
1709 "type": "git",
1710 "url": "https://github.com/sebastianbergmann/phpunit.git",
1711 "reference": "38709dc22d519a3d1be46849868aa2ddf822bcf6"
1712 },
1713 "dist": {
1714 "type": "zip",
1715 "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/38709dc22d519a3d1be46849868aa2ddf822bcf6",
1716 "reference": "38709dc22d519a3d1be46849868aa2ddf822bcf6",
1717 "shasum": ""
1718 },
1719 "require": {
1720 "ext-ctype": "*",
1721 "ext-dom": "*",
1722 "ext-json": "*",
1723 "ext-pcre": "*",
1724 "ext-reflection": "*",
1725 "ext-spl": "*",
1726 "php": ">=5.3.3",
1727 "phpunit/php-code-coverage": "~1.2",
1728 "phpunit/php-file-iterator": "~1.3",
1729 "phpunit/php-text-template": "~1.1",
1730 "phpunit/php-timer": "~1.0",
1731 "phpunit/phpunit-mock-objects": "~1.2",
1732 "symfony/yaml": "~2.0"
1733 },
1734 "require-dev": {
1735 "pear-pear.php.net/pear": "1.9.4"
1736 },
1737 "suggest": {
1738 "phpunit/php-invoker": "~1.1"
1739 },
1740 "bin": [
1741 "composer/bin/phpunit"
1742 ],
1743 "type": "library",
1744 "extra": {
1745 "branch-alias": {
1746 "dev-master": "3.7.x-dev"
1747 }
1748 },
1749 "autoload": {
1750 "classmap": [
1751 "PHPUnit/"
1752 ]
1753 },
1754 "notification-url": "https://packagist.org/downloads/",
1755 "include-path": [
1756 "",
1757 "../../symfony/yaml/"
1758 ],
1759 "license": [
1760 "BSD-3-Clause"
1761 ],
1762 "authors": [
1763 {
1764 "name": "Sebastian Bergmann",
1765 "email": "sebastian@phpunit.de",
1766 "role": "lead"
1767 }
1768 ],
1769 "description": "The PHP Unit Testing framework.",
1770 "homepage": "http://www.phpunit.de/",
1771 "keywords": [
1772 "phpunit",
1773 "testing",
1774 "xunit"
1775 ],
1776 "time": "2014-10-17 09:04:17"
1777 },
1778 {
1779 "name": "phpunit/phpunit-mock-objects",
1780 "version": "1.2.3",
1781 "source": {
1782 "type": "git",
1783 "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
1784 "reference": "5794e3c5c5ba0fb037b11d8151add2a07fa82875"
1785 },
1786 "dist": {
1787 "type": "zip",
1788 "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/5794e3c5c5ba0fb037b11d8151add2a07fa82875",
1789 "reference": "5794e3c5c5ba0fb037b11d8151add2a07fa82875",
1790 "shasum": ""
1791 },
1792 "require": {
1793 "php": ">=5.3.3",
1794 "phpunit/php-text-template": ">=1.1.1@stable"
1795 },
1796 "suggest": {
1797 "ext-soap": "*"
1798 },
1799 "type": "library",
1800 "autoload": {
1801 "classmap": [
1802 "PHPUnit/"
1803 ]
1804 },
1805 "notification-url": "https://packagist.org/downloads/",
1806 "include-path": [
1807 ""
1808 ],
1809 "license": [
1810 "BSD-3-Clause"
1811 ],
1812 "authors": [
1813 {
1814 "name": "Sebastian Bergmann",
1815 "email": "sb@sebastian-bergmann.de",
1816 "role": "lead"
1817 }
1818 ],
1819 "description": "Mock Object library for PHPUnit",
1820 "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
1821 "keywords": [
1822 "mock",
1823 "xunit"
1824 ],
1825 "time": "2013-01-13 10:24:48"
1826 },
1827 {
1828 "name": "symfony/yaml",
1829 "version": "v2.6.3",
1830 "target-dir": "Symfony/Component/Yaml",
1831 "source": {
1832 "type": "git",
1833 "url": "https://github.com/symfony/Yaml.git",
1834 "reference": "82462a90848a52c2533aa6b598b107d68076b018"
1835 },
1836 "dist": {
1837 "type": "zip",
1838 "url": "https://api.github.com/repos/symfony/Yaml/zipball/82462a90848a52c2533aa6b598b107d68076b018",
1839 "reference": "82462a90848a52c2533aa6b598b107d68076b018",
1840 "shasum": ""
1841 },
1842 "require": {
1843 "php": ">=5.3.3"
1844 },
1845 "type": "library",
1846 "extra": {
1847 "branch-alias": {
1848 "dev-master": "2.6-dev"
1849 }
1850 },
1851 "autoload": {
1852 "psr-0": {
1853 "Symfony\\Component\\Yaml\\": ""
1854 }
1855 },
1856 "notification-url": "https://packagist.org/downloads/",
1857 "license": [
1858 "MIT"
1859 ],
1860 "authors": [
1861 {
1862 "name": "Symfony Community",
1863 "homepage": "http://symfony.com/contributors"
1864 },
1865 {
1866 "name": "Fabien Potencier",
1867 "email": "fabien@symfony.com"
1868 }
1869 ],
1870 "description": "Symfony Yaml Component",
1871 "homepage": "http://symfony.com",
1872 "time": "2015-01-03 15:33:07"
1873 }
1874 ],
2252 "aliases": [], 1875 "aliases": [],
2253 "minimum-stability": "stable", 1876 "minimum-stability": "stable",
2254 "stability-flags": { 1877 "stability-flags": {
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
new file mode 100644
index 00000000..cede1cea
--- /dev/null
+++ b/phpunit.xml.dist
@@ -0,0 +1,27 @@
1<?xml version="1.0" encoding="UTF-8"?>
2
3 <phpunit backupGlobals="false"
4 backupStaticAttributes="false"
5 colors="true"
6 convertErrorsToExceptions="true"
7 convertNoticesToExceptions="true"
8 convertWarningsToExceptions="true"
9 processIsolation="false"
10 stopOnFailure="false"
11 syntaxCheck="false"
12 bootstrap="vendor/autoload.php"
13 >
14
15 <testsuites>
16 <testsuite name="wallabag Test Suite">
17 <directory>tests</directory>
18 </testsuite>
19 </testsuites>
20
21 <filter>
22 <whitelist>
23 <directory>inc</directory>
24 </whitelist>
25 </filter>
26
27</phpunit>
diff --git a/tests/Wallabag/Wallabag/Tests/EntryTest.php b/tests/Wallabag/Wallabag/Tests/EntryTest.php
new file mode 100644
index 00000000..2c3bf2fc
--- /dev/null
+++ b/tests/Wallabag/Wallabag/Tests/EntryTest.php
@@ -0,0 +1,19 @@
1<?php
2/**
3 * wallabag, self hostable application allowing you to not miss any content anymore
4 *
5 * @category wallabag
6 * @author Nicolas Lœuillet <nicolas@loeuillet.org>
7 * @copyright 2013
8 * @license http://opensource.org/licenses/MIT see COPYING file
9 */
10
11namespace wallabag\wallabag\Tests;
12
13class EntryTest extends \PHPUnit_Framework_TestCase
14{
15 public function testFoo()
16 {
17 $this->assertTrue(true);
18 }
19}