Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 4 gadiem
Joas Schilling
bf2be08c9f
Fix risky tests without assertions
Signed-off-by: Joas Schilling <coding@schilljs.com>
pirms 6 gadiem
Joas Schilling
706b5c3fb6
Use a php class for the definitions to avoid loading problems
Signed-off-by: Joas Schilling <coding@schilljs.com>
pirms 7 gadiem
Joas Schilling
2098648850
Add Rich Object Definitions and a validator
Signed-off-by: Joas Schilling <coding@schilljs.com>
pirms 7 gadiem
Joas Schilling
a111181eb3
Validate the operation
pirms 7 gadiem
Joas Schilling
0215b004da
Update with robin
pirms 8 gadiem
Joas Schilling
6d80efc2a4
Fix WebDav
pirms 8 gadiem
Joas Schilling
957a13d879
Remove unnecessary imports
pirms 8 gadiem
Joas Schilling
cdc5470f7e
Fix the use of traits
pirms 8 gadiem
Sergio Bertolin
9d44576819
Restructured FeatureContext to reuse some parts and run two servers in parallel
pirms 8 gadiem
Sergio Bertolin
a2938385f9
Making webdav path configurable
pirms 8 gadiem
Sergio Bertolin
dd10e1d538
modified makedavrequest to return response
pirms 8 gadiem
Sergio Bertolin
ee4a18a16c
added test about resharing
pirms 8 gadiem
Sergio Bertolin
81e0a3ea22
Added test and logic for deleting all group shares
pirms 8 gadiem
Sergio Bertolin
630ba2fd09
Added test for shared_with_me parameter
pirms 8 gadiem
Sergio Bertolin
a990e0ac1d
Added some requirements for first test case
pirms 8 gadiem
Joas Schilling
90b020cf88
Delete when it is a directory...
pirms 8 gadiem
Joas Schilling
fbcdf17089
Fix doc blocks
pirms 8 gadiem
Sergio Bertolin
eb6a13c231
Added a test including all the fields of the share update and checking output
pirms 8 gadiem
Sergio Bertolin
7aeda7c99a
Added a test and logic for checking answer of public shares
pirms 8 gadiem
Sergio Bertolin
7aa6e9b643
Added test to get info of a specific share id
Check fields of the share response
Added missing fields to check if their values are numbers
pirms 8 gadiem
Sergio Bertolin
e34872141e
Added tests about getting shares of a file and a test for deleting a user from a group which doesn't exist
pirms 8 gadiem
Sergio Bertolin
1a51d4c4c7
Added changes in the verification of sharing get responses
pirms 8 gadiem
Sergio Bertolin
3b7690f842
added test for deleting a share
pirms 8 gadiem
Sergio Bertolin
0593381522
Added general function to create shares in preconditions.
pirms 8 gadiem
Sergio Bertolin
0f27b719ea
enhancements to pre and post conditions
pirms 8 gadiem
Thomas Müller
fcc2a0c830
Upgrade behat to 3.0.x and use @BeforeScenario and @AfterScenario to clean up users
pirms 8 gadiem
Sergio Bertolin
d11b69bfb9
added sharing feature file
added logic necessary for preconditions and postconditions of sharing tests
Added sharing by link tests and sharing with group
Added test which reproduces issue 19950 (adding expiration date)
refactored given and then statements to be preconditions and not operations
pirms 8 gadiem
Sergio Bertolin
64ea35af05
added tests for apps
pirms 8 gadiem
Sergio Bertolin
5e9dc381b4
added test for getting users of a group being subadmin
pirms 8 gadiem
Sergio Bertolin
5703483e99
using canonize in assertEquals for arrays
pirms 8 gadiem
Sergio Bertolin
488728a0fa
Added more tests and fixed a problem with asort which was returning false positives
pirms 8 gadiem
Morris Jobke
d78f6852c7
Fix whitespace issues in integration tests
pirms 8 gadiem
Sergio Bertolin
8f91426e0a
changing indentation, vertical elements and previous existance of users and groups
pirms 8 gadiem
Sergio Bertolin
957d60cd0a
ordering arrays before comparing
pirms 8 gadiem
Sergio Bertolin
1b0e128b44
checking users and groups
pirms 8 gadiem
Sergio Bertolin
bb9f568654
lists getting ready
pirms 8 gadiem
Roeland Jago Douma
b0babfc847
[Intergration] Throw error if exception not thrown
pirms 8 gadiem
Sergio Bertolin
0c1a657282
restored assertions in existance of users and groups
pirms 8 gadiem
Sergio Bertolin
fd709b4b49
Being explicit between http and ocs return codes
pirms 8 gadiem
Sergio Bertolin
0e3836ed48
Return the actual ocs return codes and check it
pirms 8 gadiem
Sergio Bertolin
186aff5dea
added some deletion logic
pirms 8 gadiem
Sergio Bertolin
583c082acf
added some group logic
pirms 8 gadiem
Thomas Müller
e3a98e4959
Support different server ports - defined by EXECUTOR_NUMBER
pirms 8 gadiem
Thomas Müller
925aa6c0f5
Test user creation
pirms 9 gadiem
Thomas Müller
cb6e1b115d
require autoload.php
pirms 9 gadiem
Thomas Müller
d26aab7e05
Adding missing files
pirms 9 gadiem