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>
4 anni fa
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anni fa
Joas Schilling
bf2be08c9f
Fix risky tests without assertions
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 anni fa
Joas Schilling
706b5c3fb6
Use a php class for the definitions to avoid loading problems
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 anni fa
Joas Schilling
2098648850
Add Rich Object Definitions and a validator
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 anni fa
Joas Schilling
a111181eb3
Validate the operation
7 anni fa
Joas Schilling
0215b004da
Update with robin
8 anni fa
Joas Schilling
6d80efc2a4
Fix WebDav
8 anni fa
Joas Schilling
957a13d879
Remove unnecessary imports
8 anni fa
Joas Schilling
cdc5470f7e
Fix the use of traits
8 anni fa
Sergio Bertolin
9d44576819
Restructured FeatureContext to reuse some parts and run two servers in parallel
8 anni fa
Sergio Bertolin
a2938385f9
Making webdav path configurable
8 anni fa
Sergio Bertolin
dd10e1d538
modified makedavrequest to return response
8 anni fa
Sergio Bertolin
ee4a18a16c
added test about resharing
8 anni fa
Sergio Bertolin
81e0a3ea22
Added test and logic for deleting all group shares
8 anni fa
Sergio Bertolin
630ba2fd09
Added test for shared_with_me parameter
8 anni fa
Sergio Bertolin
a990e0ac1d
Added some requirements for first test case
8 anni fa
Joas Schilling
90b020cf88
Delete when it is a directory...
8 anni fa
Joas Schilling
fbcdf17089
Fix doc blocks
8 anni fa
Sergio Bertolin
eb6a13c231
Added a test including all the fields of the share update and checking output
8 anni fa
Sergio Bertolin
7aeda7c99a
Added a test and logic for checking answer of public shares
8 anni fa
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
8 anni fa
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
8 anni fa
Sergio Bertolin
1a51d4c4c7
Added changes in the verification of sharing get responses
8 anni fa
Sergio Bertolin
3b7690f842
added test for deleting a share
8 anni fa
Sergio Bertolin
0593381522
Added general function to create shares in preconditions.
8 anni fa
Sergio Bertolin
0f27b719ea
enhancements to pre and post conditions
8 anni fa
Thomas Müller
fcc2a0c830
Upgrade behat to 3.0.x and use @BeforeScenario and @AfterScenario to clean up users
8 anni fa
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
8 anni fa
Sergio Bertolin
64ea35af05
added tests for apps
8 anni fa
Sergio Bertolin
5e9dc381b4
added test for getting users of a group being subadmin
8 anni fa
Sergio Bertolin
5703483e99
using canonize in assertEquals for arrays
8 anni fa
Sergio Bertolin
488728a0fa
Added more tests and fixed a problem with asort which was returning false positives
8 anni fa
Morris Jobke
d78f6852c7
Fix whitespace issues in integration tests
8 anni fa
Sergio Bertolin
8f91426e0a
changing indentation, vertical elements and previous existance of users and groups
8 anni fa
Sergio Bertolin
957d60cd0a
ordering arrays before comparing
8 anni fa
Sergio Bertolin
1b0e128b44
checking users and groups
8 anni fa
Sergio Bertolin
bb9f568654
lists getting ready
8 anni fa
Roeland Jago Douma
b0babfc847
[Intergration] Throw error if exception not thrown
8 anni fa
Sergio Bertolin
0c1a657282
restored assertions in existance of users and groups
8 anni fa
Sergio Bertolin
fd709b4b49
Being explicit between http and ocs return codes
8 anni fa
Sergio Bertolin
0e3836ed48
Return the actual ocs return codes and check it
8 anni fa
Sergio Bertolin
186aff5dea
added some deletion logic
8 anni fa
Sergio Bertolin
583c082acf
added some group logic
8 anni fa
Thomas Müller
e3a98e4959
Support different server ports - defined by EXECUTOR_NUMBER
8 anni fa
Thomas Müller
925aa6c0f5
Test user creation
9 anni fa
Thomas Müller
cb6e1b115d
require autoload.php
9 anni fa
Thomas Müller
d26aab7e05
Adding missing files
9 anni fa