Commit graph

63 commits

Author SHA1 Message Date
brantje
3f4afba34f
Fixes 2017-01-11 18:09:49 +01:00
brantje
1eab778775
Merge remote-tracking branch 'phil-davis/r2' 2017-01-06 19:12:49 +01:00
brantje
0a6eea3ea5
Merge remote-tracking branch 'phil-davis/r1' 2017-01-06 19:12:04 +01:00
Phil Davis
6ff72c1841
Vault logout test text 2017-01-06 20:15:10 +05:45
Phil Davis
d84516fa84
Class names in comments 2017-01-06 20:09:22 +05:45
Phil Davis
4ca81a5bbf
Class name comments in controller tests 2017-01-06 19:30:38 +05:45
brantje
581695dd27
Fix for coversDefaultClass 2017-01-04 12:02:50 +01:00
brantje
807b4149ce
Add some tests 2017-01-04 11:55:32 +01:00
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
858195834d
Add settings page, non functional
Implement disable context menu

Implemement disable http warning

Implement vault key strength setting

Implement share settings

Implement version check setting
2016-12-28 21:34:59 +01:00
brantje
af70943faa
Fix some tests 2016-12-21 23:04:38 +01:00
brantje
b1aebc4a14
Add translations to javascript files 2016-12-21 14:06:29 +01:00
brantje
a6406e53f6
Add test 2016-12-20 00:39:00 +01:00
brantje
c0de19650a
Add test for bookmarkletCtrl
Signed-off-by: brantje <brantje@gmail.com>

Add test templates for other controllers
2016-10-23 13:10:52 +02:00
brantje
f1bab7dd68
Add license header to files 2016-10-19 17:45:50 +02:00
brantje
d9dc7f8704
No need to mock localstorage 2016-10-17 19:40:17 +02:00
brantje
e83bcd3242
Make scrutinizer happy 2016-10-17 19:29:05 +02:00
brantje
0d0f5bc7a0
Start with a few credentialCtrl tests 2016-10-17 19:25:47 +02:00
brantje
e84da75f05
Add required files for karma 2016-10-17 18:43:33 +02:00
Marcos Zuriaga
02ef0187ef
Added missing classes to coverage
Added missing @covers annotations
2016-10-16 20:35:14 +02:00
Marcos
75f541e2c9 Merge branch 'master' into phpunit 2016-10-16 19:07:20 +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
bb554a8407
Remove deprecated cron 2016-10-16 13:21:27 +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
114df3e948
Attempt to fix pgsql fails 2016-10-15 01:48:33 +02:00
Marcos Zuriaga
4086f22212
Refactored helper to use nextcloud query builder
hoping this fixes the test problems with pgsql
2016-10-15 01:42:14 +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
3f2bb33ce3
Changed unit test env var names 2016-10-11 22:33:48 +02:00
Marcos Zuriaga
efd27ee1ae
Fix truncate table 2016-10-11 02:06:04 +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
a45dd19792
Merge branch 'codeCoverage' into phpunit 2016-10-09 15:02:34 +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