summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* introduce dependency analyzer to take care of app dependenciesThomas Müller2014-12-042-6/+92
| | | | some more unit tests on xml info parser
* Replace uniqid calls with $this->getUniqueID so tests pass again on windowsJoas Schilling2014-12-0321-35/+43
|
* concatenate queries with 'or'Bjoern Schiessle2014-11-281-2/+5
|
* Merge pull request #12472 from owncloud/modifyCookiesMorris Jobke2014-11-283-9/+95
|\ | | | | Add functions to modify cookies to response class
| * Add functions to modify cookies to response classLukas Reschke2014-11-273-9/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code. This PR adds some basic functionalities to add and invalidate cookies. Usage: ```php $response = new TemplateResponse(...); $response->addCookie('foo', 'bar'); $response->invalidateCookie('foo'); $response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00')); ``` Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.
* | Merge pull request #12443 from owncloud/issue/6101-all-classes-autoloadableMorris Jobke2014-11-281-2/+0
|\ \ | | | | | | Issue/6101 Make all interfaces/classes autoloadable
| * | Move share interfaces to own files so they can be autoloadedJoas Schilling2014-11-271-2/+0
| |/
* | Add storage and cache wrappers to apply a permissions mask to a storageRobin Appelman2014-11-272-0/+199
| |
* | Add storage and cache wrappers to jail a storage to a subfolderRobin Appelman2014-11-273-4/+126
| |
* | Correctly namespace and autoload DatabaseExceptionJoas Schilling2014-11-271-2/+2
|/
* Merge pull request #12350 from mprokop/link_expirationMorris Jobke2014-11-261-4/+2
|\ | | | | fix calculation of expiration date if there is a default expiration date...
| * Consolidate if statement, and update unit testMiguel Prokop2014-11-211-4/+2
| |
* | Merge pull request #12421 from ↵Morris Jobke2014-11-267-111/+111
|\ \ | | | | | | | | | | | | owncloud/issue/6101-remove-namespace-permission-constants Issue/6101 remove namespace permission constants
| * | Replace deprecated constant with new class constantJoas Schilling2014-11-257-111/+111
| | |
* | | Merge pull request #12420 from owncloud/sqlite-wal-2Morris Jobke2014-11-261-2/+2
|\ \ \ | | | | | | | | adding new config parameter for sqlite to specify the journal mode
| * | | fix failing unit test for the temp manager - concurrently executed unit ↵Thomas Müller2014-11-251-2/+2
| |/ / | | | | | | | | | tests influence each other
* | | handle invalid xml fileThomas Müller2014-11-251-0/+5
| | |
* | | simplify xml parser codeThomas Müller2014-11-251-17/+8
| | |
* | | Introduce app info xml parser including basic unit test - necessary for #10777Thomas Müller2014-11-251-0/+57
|/ /
* | Merge pull request #12380 from owncloud/remove-oc-migrateLukas Reschke2014-11-251-98/+0
|\ \ | | | | | | Remove OC_Migrate
| * | Remove OC_MigrateLukas Reschke2014-11-241-98/+0
| | | | | | | | | | | | | | | | | | This is unused legacy code. Let it die with ~~~honor~~ fire. Fixes https://github.com/owncloud/core/issues/12346
* | | Merge pull request #12294 from owncloud/route-postfixThomas Müller2014-11-241-1/+14
|\ \ \ | | | | | | | | Add route postfix to allow url versioning when only the http method changed
| * | | add postfixBernhard Posselt2014-11-191-1/+14
| | | | | | | | | | | | | | | | add postfix
* | | | Merge pull request #12084 from owncloud/sharing_fix_shared_with_infoMorris Jobke2014-11-241-0/+44
|\ \ \ \ | |_|/ / |/| | | sharing: make sure that we only find the shares from a given owner
| * | | also check for the correct owner if it was submittedBjoern Schiessle2014-11-211-0/+44
| | | |
* | | | Merge pull request #12348 from owncloud/rename-to-avoid-complaining-ciMorris Jobke2014-11-222-4/+4
|\ \ \ \ | | | | | | | | | | Rename providers to not begin with test
| * | | | Rename providers to not begin with testLukas Reschke2014-11-212-4/+4
| | |_|/ | |/| | | | | | | | | | Fixes https://github.com/owncloud/core/issues/12347
* | | | Merge pull request #12328 from owncloud/remove-testcleanuplistenerMorris Jobke2014-11-221-5/+111
|\ \ \ \ | |_|/ / |/| | | Remove testcleanuplistener
| * | | Clean up the test data in tearDownAfterClass()Joas Schilling2014-11-201-5/+111
| | | | | | | | | | | | | | | | The result of the listener should then be empty and can be removed
* | | | fix unit tests of mdb2scheamreaderMorris Jobke2014-11-201-2/+2
| |/ / |/| |
* | | Revert "drop OC_Preferences::getUsers and getApps"Morris Jobke2014-11-201-0/+28
| | | | | | | | | | | | This reverts commit 09fd34eed908203674721af86ce889bfd0a0ef8d.
* | | drop OC_Preferences::getUsers and getAppsMorris Jobke2014-11-201-28/+0
|/ /
* | Merge pull request #12297 from owncloud/issue/10991-all-testcaseMorris Jobke2014-11-20145-256/+465
|\ \ | | | | | | Issue/10991 all testcase
| * | Make remaining files extend the test baseJoas Schilling2014-11-1970-117/+191
| | |
| * | Make root tests extend the \Test\TestCaseJoas Schilling2014-11-1945-82/+157
| | |
| * | Make apps/ extend the \Test\TestCase and fix overwritten methodsJoas Schilling2014-11-191-1/+1
| | |
| * | Use base class to reset the file mapperJoas Schilling2014-11-1930-56/+116
| | |
* | | Merge pull request #12253 from owncloud/port-12154Vincent Petry2014-11-201-2/+6
|\ \ \ | |/ / |/| | Port 12154
| * | Ignore port for trusted domainsLukas Reschke2014-11-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | This lead to a lot of confusion in the past and did not really offer any value. Let's remove the port check therefore. (it's anyways not really a part of the domain) Fixes https://github.com/owncloud/core/issues/12150 and https://github.com/owncloud/core/issues/12123 and also a problem reported by @DeepDiver1975. Conflicts: lib/private/request.php
* | | use the new base class for unit testsBjoern Schiessle2014-11-181-10/+12
| | |
* | | make sure that we don't find the wrong shares if a user and a group have the ↵Bjoern Schiessle2014-11-181-0/+41
|/ / | | | | | | same ID
* | Merge pull request #12234 from owncloud/normalizepath-absolute-testsLukas Reschke2014-11-181-61/+102
|\ \ | |/ |/| Add tests for normalizePath() with absolute paths on windows
| * Add tests for absolute paths on windowsJoas Schilling2014-11-171-2/+32
| |
| * Refactor tests to use a dataProvider methodJoas Schilling2014-11-171-62/+73
| |
* | Merge pull request #12218 from owncloud/issue/10991-fixesMorris Jobke2014-11-1732-149/+362
|\| | | | | Issue/10991 Make unit tests pass on windows
| * Correctly restore previous root mount point after testingJoas Schilling2014-11-1714-53/+191
| |
| * Correctly refresh the apps list after removing the mockJoas Schilling2014-11-171-0/+3
| |
| * Fix Files\Storage\Home::testRoot()Joas Schilling2014-11-171-1/+6
| |
| * Correctly close handle of directory when listing certificatesJoas Schilling2014-11-171-3/+3
| |
| * Skip some more tests on Windows which just can not work at allJoas Schilling2014-11-175-7/+15
| |