Lukas Reschke
ff24a91f48
Cleanup the unit tests and add some unit tests for controllers
2015-07-06 15:35:37 +02:00
Thomas Müller
9a1b5f31a2
Case insensitive search in contacts - fixes #813 , owncloud/mail#197
2015-07-01 15:47:27 +02:00
Scrutinizer Auto-Fixer
cf7c31b6bb
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-06-26 17:49:39 +02:00
Thomas Müller
fa342397be
setup VCARD classes for tests as well
2015-05-08 13:11:42 +02:00
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
a053cd7e49
Hopefully fixs travis build
2014-09-28 10:15:16 +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
79bc4679de
Connect pre_deleteContact when unit tests are run
2014-09-06 17:27:13 +02:00
LEDfan
40c3594c22
Fix mistake
2014-09-06 14:44:55 +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
eba5190582
Can't merge remote branch without specifying it
2013-10-03 13:24:42 +02:00
Thomas Tanghus
38ea88fa9a
Checkout CI integration branch until my PRs in core are merged
2013-10-03 04:15:11 +02: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
de624f3455
Conditionally define PHPUNIT_RUN
2013-10-01 19:15:21 +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
cf92673e8c
OC_ -> OCP\
2013-09-16 02:24:08 +02: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
Thomas Tanghus
055c04bfac
Pfff
2013-08-20 03:32:36 +02:00
Thomas Tanghus
96cdfe56b2
New approach
2013-08-20 01:30:28 +02:00
Thomas Tanghus
193cc7371c
Force an error
2013-08-20 01:14:32 +02:00
Thomas Tanghus
d0eb82f16b
Well lets try without config
2013-08-20 01:08:03 +02:00
Thomas Tanghus
701e4b9739
Reordering tests
2013-08-20 01:00:29 +02:00
Thomas Tanghus
13ddb14cf1
Moved Makefile to tests
2013-08-20 00:31:41 +02:00
Thomas Tanghus
09a8d673af
OK. this works locally
2013-08-19 22:41:29 +02:00
Thomas Tanghus
1edfff7f54
Lets go...
2013-08-19 21:38:15 +02:00
Thomas Tanghus
dd25c0522b
Add verbose to phpunit.xml
2013-08-19 20:44:53 +02:00
Thomas Tanghus
578f79f231
Let's try to test with DBs
2013-08-19 20:08:55 +02:00
Thomas Tanghus
decdfc91cd
Fix test dir
2013-08-19 19:50:57 +02:00
Thomas Tanghus
22170596d7
More travis
2013-08-19 19:45:18 +02:00
Thomas Tanghus
40e7c7e31e
Another travis try
2013-08-19 18:58:54 +02:00
Thomas Tanghus
5154a5dcf1
Move VObject tests to own class/file
2013-05-31 21:32:45 +02:00
Thomas Tanghus
591a48aa67
Added custom GroupProperty. Refs #96
2013-05-19 00:54:51 +02:00
Thomas Tanghus
04ddf9eeb8
Added tests for upgrading vCards
2013-05-15 22:59:42 +02:00
Thomas Tanghus
a93a5e714c
Contacts: Basic permissions test.
2013-04-27 02:19:44 +02:00
Thomas Tanghus
32c773b5b5
Contacts: Removed local copy of Request class
2013-04-25 03:17:49 +02:00
Thomas Tanghus
255c538a60
Contacts: Add more routes and wrap response in a JSONResponse object.
2013-03-28 03:19:01 +01:00
Thomas Tanghus
efefdbe059
Contacts: Updated tests
2013-03-25 17:07:49 +01:00
Thomas Tanghus
33f756845a
Contacts: 10 more assertions to AddressBook test.
2013-03-20 11:28:30 +01:00