apps/files_external/tests/controller/storagescontrollertest.php 1 location
|
@@ 325-332 (lines=8) @@
|
| 322 |
|
$this->assertEquals($storageConfig, $response->getData()); |
| 323 |
|
} |
| 324 |
|
|
| 325 |
|
public function validateStorageProvider() { |
| 326 |
|
return [ |
| 327 |
|
[true, true, true], |
| 328 |
|
[false, true, false], |
| 329 |
|
[true, false, false], |
| 330 |
|
[false, false, false] |
| 331 |
|
]; |
| 332 |
|
} |
| 333 |
|
|
| 334 |
|
/** |
| 335 |
|
* @dataProvider validateStorageProvider |
tests/core/command/encryption/changekeystorageroottest.php 1 location
|
@@ 239-246 (lines=8) @@
|
| 236 |
|
|
| 237 |
|
} |
| 238 |
|
|
| 239 |
|
public function dataTestMoveSystemKeys() { |
| 240 |
|
return [ |
| 241 |
|
[true, false, true], |
| 242 |
|
[false, true, false], |
| 243 |
|
[true, true, false], |
| 244 |
|
[false, false, false] |
| 245 |
|
]; |
| 246 |
|
} |
| 247 |
|
|
| 248 |
|
|
| 249 |
|
public function testMoveUserKeys() { |
tests/lib/files/storage/wrapper/encryption.php 1 location
|
@@ 666-673 (lines=8) @@
|
| 663 |
|
]; |
| 664 |
|
} |
| 665 |
|
|
| 666 |
|
public function dataCopyBetweenStorage() { |
| 667 |
|
return [ |
| 668 |
|
[true, true, true], |
| 669 |
|
[true, false, false], |
| 670 |
|
[false, true, false], |
| 671 |
|
[false, false, false], |
| 672 |
|
]; |
| 673 |
|
} |
| 674 |
|
|
| 675 |
|
/** |
| 676 |
|
* @dataProvider dataCopyBetweenStorage |