Commit graph

36 commits

Author SHA1 Message Date
brantje e6c1c131d6
Add icon service 2017-08-06 21:16:15 +02:00
WolFi 3259c9dc32
PHPUnit Database test fixes for latest nextloud 2017-05-07 19:16:36 +02:00
brantje 8a694a0885
Disable database test. Fix tests. 2017-05-06 13:32:18 +02:00
brantje 4f5bd73783
Fix tests 2017-02-22 18:02:55 +01:00
brantje 5f7661659a
Adjust reviewed code 2017-01-11 20:06:39 +01:00
Phil Davis d84516fa84
Class names in comments 2017-01-06 20:09:22 +05:45
brantje e98817595f
Fix classname 2017-01-04 10:57:05 +01:00
brantje 863d7c4985
Add test for Settings, improve SettingsService 2016-12-30 16:59:48 +01:00
brantje af70943faa
Fix some tests 2016-12-21 23:04:38 +01:00
brantje f1bab7dd68
Add license header to files 2016-10-19 17:45:50 +02:00
Marcos Zuriaga 02ef0187ef
Added missing classes to coverage
Added missing @covers annotations
2016-10-16 20:35:14 +02:00
Marcos Zuriaga 7f208004e0
Finished credential mapper tests
Fixed some security flaws on the credential update method in the credential mapper class
2016-10-16 19:02:43 +02:00
brantje ce49cae86e
Update @covers 2016-10-15 22:19:04 +02:00
brantje 306c267b1b
Fix test and typo 2016-10-15 22:18:44 +02:00
Marcos Zuriaga 8a30328a73
Added partial test
Fixed bug with null data in the mock datasets
Edited mock data so there it's some expired credentials
Added some phpdocs
2016-10-15 21:03:50 +02:00
Marcos Zuriaga 41b0005e7c
Added credential revision mapper unit test 2016-10-15 19:27:43 +02:00
Marcos Zuriaga 95509e3558
Added file mapper test
Updated database test mock data and added missing tables
Changed some wrong phpdoc
Added some phpdoc
2016-10-15 17:53:22 +02:00
Marcos Zuriaga c91c9cb6d8
Add more vervosity to the travis phpunit run
Skip test that fails by unknown php witchery and mark as incomplete
Changed some incomplete annotation
2016-10-14 23:30:54 +02:00
Marcos Zuriaga 52c072631d
Added unit tests agains sharerequest mapper
Added some helper functions on the database helper test
Renamed method so it's less confusing
2016-10-14 22:39:06 +02:00
Marcos Zuriaga 286476a546
Fixed some types on sharerequest entity
Added partial unit test for sharerequest mapper
Changed some assertEquals to assertSame so we don't do loosy type checks
2016-10-14 15:39:33 +02:00
Marcos Zuriaga 61dbcedfa4
Removed unused var from mapper constructor 2016-10-12 19:23:12 +02:00
Marcos Zuriaga 5186648889
Added unit test for SharingACLMapper
Renamed some vars
Added launch_phpunit.sh to gitignore
2016-10-12 19:08:59 +02:00
Marcos Zuriaga 9c53219346
Removed unused method and variable 2016-10-11 23:15:45 +02:00
Marcos Zuriaga 1f30ccc963
Added Database testing base class
Added VaultMapper unit tests
Edited some VaultMapper docs and changed a function to use the Utils implementation
Added coverage phpunit annotations
2016-10-11 01:41:32 +02:00
Marcos Zuriaga d909d780b3
Removed TODO 2016-10-10 02:16:10 +02:00
Marcos Zuriaga 652be86567
Refactored to use assertEquals where applicable,
so in case of errors the messages are more meaningful
2016-10-10 02:15:00 +02:00
Marcos Zuriaga d6e4f32ec8
Added EntityJSONSerializer trait unit tests 2016-10-09 18:24:14 +02:00
Marcos Zuriaga 64930bb106
Create unit tests for Vault database model
Fix some typos in phpdoc of vault db model
2016-10-09 17:53:20 +02:00
Marcos Zuriaga 0b6a2baa41
Added SharingACL database model test case 2016-10-09 16:12:40 +02:00
Marcos Zuriaga bc0f47a8e5
Unit tests for ShareRequest model
Fixes bug with asACLJson result data in sharerequest
2016-10-09 14:52:23 +02:00
Marcos Zuriaga ba259c350c
Added some dirs to coverage tests
Added File db model to tests
2016-10-09 02:31:46 +02:00
Marcos Zuriaga 0fc7b26f38
Added CredentialRevision unit test 2016-10-09 01:46:53 +02:00
Marcos Zuriaga e4d55f3e29
Added credential test case 2016-10-09 00:39:59 +02:00
Marcos Zuriaga e2faab8f4d
NotFoundJSONResponse unit tests 2016-10-08 18:47:15 +02:00
Marcos Zuriaga 1e8d742c01
Utils class simplification of microtime method
utils unit tests
2016-10-08 18:24:30 +02:00
Marcos Zuriaga c6097bfc5f
Add permissions entity backend uint tests 2016-10-08 17:32:07 +02:00