1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-10 21:24:33 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
Thomas Müller
95528debca try to fix broken unit tests 2015-05-08 13:11:42 +02:00
Vincent Petry
0b5fb1bfc7 Fix to make it compatible with Sabre 2.1
Also fixed unit tests so they run but some still fail

- Added IUserSession mock
- Replaced OCP::getUser() with IUserSession usage to make the mock work
- Added base class for test cases
2015-03-17 12:53:05 +01:00
LEDfan
e40104f6e1 Merge pull request #578 from owncloud/fix-search-master
adding first unit test for search of address book provider
2014-12-05 07:47:07 +01:00
Bernhard Reiter
2db4e3b4e7 Fix Addressbook::childExists($id).
Return false instead of throwing an exception if there's no child with $id.
Also, add a test for that function.
2014-10-01 21:06:57 +02:00
LEDfan
d0f5e761b8 Undo wrong change 2014-09-06 17:32:42 +02:00
LEDfan
5e47fe9f65 only purge not deleted contacts 2014-09-06 17:31:23 +02:00
LEDfan
b46843ea50 Also test deleting of child 2014-09-06 14:42:10 +02:00
Thomas Müller
504418dc00 adding first unit test for search of address book provider 2014-08-05 22:20:50 +02:00
Thomas Tanghus
748aa3dfc6 Add visibility to test methods 2014-03-10 16:39:42 +01:00
Thomas Tanghus
1afddaa98e Finally actually implement the interfaces I claim to.
\Iterator, \Countable, \ArrayAccess

Still need some checks to assure validity after unset()
2014-03-10 15:16:15 +01:00
Thomas Tanghus
ec06ba01e4 Port hack from 5.0.12 to fix wrongly escaped parameters. #146
Add a test for it and remove validator plugin as it's now done
in the CardDAV plugin to avoid parsing unnecessarily.
2013-10-01 19:15:22 +02:00
Thomas Tanghus
00c6f11c52 Test_VObject -> Test_VObjects to be able to run core tests. 2013-10-01 19:15:21 +02:00
Thomas Tanghus
898714583a Disable app test to be able to run core tests 2013-10-01 19:15:21 +02:00
Pellaeon Lin
746ab57a86 CamelCase generate_random_bytes 2013-09-29 10:30:51 +08:00
Thomas Tanghus
3fb45cbcd5 Test first dammit 2013-09-04 08:25:39 +02:00
Thomas Tanghus
3fa1042def generate_random_bytes => generateRandomBytes 2013-09-04 08:24:02 +02:00
Thomas Tanghus
4a67ad28ca Improved unit tests and adjust backend method signatures. 2013-08-26 20:10:29 +02:00
Thomas Tanghus
4a3495aab4 Last commit in master until travis starts working 2013-08-20 19:02:36 +02:00