owncloud / smashbox

:collision: main test suite
GNU Affero General Public License v3.0
16 stars 6 forks source link

Add sharing mount init test #158

Closed mrow4a closed 7 years ago

mrow4a commented 7 years ago

This test checks sharing mount init for all share/reshare types, also moving folders/files at their final destination.

+-------+-----------------+----------------+-------------------+--------------+-----------------+
| step  | owner           | ownerRecipient | R2                | R3           | R4              |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 2     | create dir      |                | create dir        | create dir   | create dir      |
|       | share /test1    |                |                   |              |                 |
|       | -> R2 R3 (group)|                |                   |              |                 |
|       |                 |                |                   |              |                 |
|       | share /test2    |                |                   |              |                 |
|       | -> R4 (group)   |                |                   |              |                 |
|       |                 |                |                   |              |                 |
|       | share test1.txt |                |                   |              |                 |
|       | -> R3 (user)    |                |                   |              |                 |
|       |                 |                |                   |              |                 |
|       | share test2.txt |                |                   |              |                 |
|       | -> R4 (user)    |                |                   |              |                 |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 3     |                 |                | reshare /test1/sub| reshare      |                 |
|       |                 |                | -> R4             | test1.txt    |                 |
|       |                 |                |                   | -> R4        |                 |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 4     | sync&check      | sync&check     | sync&check        | sync&check   | do noting yet   |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 5     | upload to       |                | upload to         | change       |                 |
|       | -> /test1       |                | -> /test1/sub     | -> test1.txt |                 |
|       | -> /test2       |                |                   |              |                 |
|       |                 |                |                   |              |                 |
|       | change          |                |                   |              |                 |
|       | -> test2.txt    |                |                   |              |                 |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 6     | sync&check      | sync&check     | sync&check        | sync&check   |                 |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 7     |                 |                |                   |              | sync&check      |
|       |                 |                |                   |              | (initMounts)    |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 8     |                 |                |                   |              | create dir      |
|       |                 |                |                   |              | -> shared       |
|       |                 |                |                   |              | -> reshared     |
|       |                 |                |                   |              |                 |
|       |                 |                |                   |              | move shared     |
|       |                 |                |                   |              | -> shared       |
|       |                 |                |                   |              |                 |
|       |                 |                |                   |              | move reshared   |
|       |                 |                |                   |              | -> reshared     |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 9     | sync&check      | sync&check     | sync&check        | sync&check   |                 |
+-------+-----------------+----------------+-------------------+--------------+-----------------+
| 10    |                 |                |                   |              | resync&check    |
+-------+-----------------+----------------+-------------------+--------------+-----------------+