Álvaro Brey
97b02cc562
Add RetryTestRule to ContactsBackupIT
...
Flaky
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-07-11 18:34:29 +02:00
Andy Scherzinger
d58edd4dce
Merge pull request #11774 from nextcloud/updatePermissions
...
After successful upload update permission to have correct resharing info
2023-07-04 18:36:47 +02:00
tobiasKaminsky
d772fe54f5
After successful upload update permission to have correct resharing info
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-26 10:31:24 +02:00
tobiasKaminsky
e0ada449b4
Do not show "stream with" option for encrypted files
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-21 08:01:45 +02:00
Andy Scherzinger
5e4e5a7e85
Add copyrights and replace logo for splash screen
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:56 +02:00
A117870935
aa199088df
Splash text updated, logo removed and test cases updated.
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:56 +02:00
A117870935
ccf0ee6d0e
Test cases added for launcher.
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-08 15:14:55 +02:00
tobiasKaminsky
3df7900596
fix test on non google emulator (only with google api)
...
add groupfolder capability
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-07 15:53:28 +02:00
tobiasKaminsky
405725daf8
Remember mnemonic on device rotation
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-05 15:08:29 +02:00
Tobias Kaminsky
8e86617177
Merge pull request #11673 from nextcloud/fixShowingOneGroupfolder
...
fix showing only one groupfolder
2023-06-01 10:48:44 +02:00
Tobias Kaminsky
1e5d1e85da
Merge pull request #11286 from afflux/documentsstorageprovider-emptypath
...
handle files that have just been uploaded in DocumentStorageProvider
2023-05-31 08:32:11 +02:00
tobiasKaminsky
40d8ea8673
fix showing only one groupfolder
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-30 18:55:02 +02:00
Andy Scherzinger
c7d0d0f47d
reformat code
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-30 13:56:12 +02:00
Kjell Braden
5127f12a45
add test for successive write in DocumentsStorageProvider
...
Signed-off-by: Kjell Braden <afflux@pentabarf.de>
2023-05-29 11:29:21 +02:00
tobiasKaminsky
99f5941a60
use TrashbinFile
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-26 09:04:31 +02:00
tobiasKaminsky
d9c71edba0
fix test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:49 +02:00
tobiasKaminsky
bbb0dbefed
cleanup
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:40 +02:00
tobiasKaminsky
5492a99e38
E2E v1.2
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-17 12:01:40 +02:00
Álvaro Brey
f07b222a1d
Fix types after kotlin port of some library classes
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-05-14 19:19:33 +02:00
Andy Scherzinger
f525affb13
Adapt to chanegd ezvCard implementation
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-13 18:31:24 +02:00
tobiasKaminsky
f313a8317f
empty test not needed
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-12 14:12:24 +02:00
tobiasKaminsky
906137bf2a
add test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-12 08:41:28 +02:00
tobiasKaminsky
f792a8b679
add test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-12 08:10:36 +02:00
tobiasKaminsky
08f25a3505
add test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-09 08:53:56 +02:00
tobiasKaminsky
d12718f2b1
Bottom sheet expands fully on landscape
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-08 16:16:05 +02:00
Andy Scherzinger
3e1f61afc9
Merge pull request #11515 from nextcloud/tags
...
Support for viewing tags
2023-05-08 10:57:24 +02:00
Andy Scherzinger
6204e8edc2
Add shortWait to ensure all galelry images are loaded
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:53 +02:00
A117870935
ec816b8b8f
Folder icon for AutoUpload folder.
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:52 +02:00
A117870935
6a6e8335c8
Test case added
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:52 +02:00
A117870935
8ecd3733f3
Cherry pick commit id - 3545a6c
from branch feature/NMCLOUD-629.
...
changed auto upload InstantUpload folder to Camera-Media
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-08 10:07:51 +02:00
tobiasKaminsky
f196bfd874
Support for viewing tags
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 13:15:08 +02:00
tobiasKaminsky
3b5d2a0391
Show empty message for gallery view
...
added tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-04 10:17:46 +02:00
tobiasKaminsky
2574ee288b
add test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-05-02 08:42:06 +02:00
tobiasKaminsky
860113e842
mTime: use typed parameter (long) instead of String
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-22 14:48:03 +01:00
dependabot[bot]
865d5710b5
Build(deps): Bump workRuntime from 2.7.1 to 2.8.0 ( #11364 )
...
* Build(deps): Bump workRuntime from 2.7.1 to 2.8.0
Bumps `workRuntime` from 2.7.1 to 2.8.0.
Updates `androidx.work:work-runtime` from 2.7.1 to 2.8.0
Updates `androidx.work:work-runtime-ktx` from 2.7.1 to 2.8.0
---
updated-dependencies:
- dependency-name: androidx.work:work-runtime
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: androidx.work:work-runtime-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(androidTest): Add missing parameter to dummy WorkInfo
Needed in work 2.8.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-13 13:53:06 +01:00
tobiasKaminsky
1af18ad3cd
Secure filedrop
...
add tests
Rename .java to .kt
only show secure filedrop / sharing on NC26+
Refactor EncryptionUtils to avoid having test arguments on public method
Added secure filedrop
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-07 09:44:07 +01:00
Álvaro Brey
31a6cd99fd
Write simple test for pdf generator
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:34 +01:00
Álvaro Brey
41ef0614e0
Allow multi-page PDF scans
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
tobiasKaminsky
f18225eda6
Show "unset encryption" only when E2E is setup
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:56:55 +01:00
Álvaro Brey
9053bc96a7
Add test for DB 67 -> 68 migration
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 11:21:01 +01:00
Álvaro Brey
43582e8cb4
Solve compilation errors for DeckApiTest with compileSDK 33
...
There are now 2 ambiguous resolutions of packageManager.resolveActivity so the mock has to specify type
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-19 15:49:57 +01:00
Álvaro Brey
daafa24905
Fix tets that need a 8-length remote ID
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 12:23:37 +01:00
Álvaro Brey
0287e34cdc
Fix wrong initialization for FileDataStorageManagerContentProviderClientIT
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 12:23:37 +01:00
tobiasKaminsky
b293ece7b4
fix test -> we need to have a 8 digit remote id for proper testing
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +01:00
tobiasKaminsky
b78e991d54
use localID everywhere
...
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +01:00
Álvaro Brey
cdf048945f
Reset search when browsing to a folder from the favorites list
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-16 08:22:46 +00:00
Álvaro Brey
07d2a0c91b
Move test runner back to com.nextcloud.client package
...
For some reason, Dexopener uses the package of the runner to determine which packages to open.
Which means with the new location, mockk can't work on android < P
Ref: https://github.com/tmurakami/dexopener/issues/24
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 17:14:26 +01:00
Álvaro Brey
7ea6283af4
Add testing utilities to override injections in classes injected with AndroidInjection
...
This includes Activities, Fragments, Services, etc. Other classes should use constructor injection,
and as such shouldn't need this.
This works by overriding the androidInjector method in the Application class (new TestMainApp added)
and allowing to use custom injectors there.
A InjectionOverrideRule is included for ease of use, but for more complicated cases, injection can be
controlled by accessing TestMainApp directly.
A sample is included in InjectionTestActivityTest.
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 12:58:31 +01:00
Álvaro Brey
443e6984f6
Move test helper classes to a consistent package (com.nextcloud.test)
...
Avoids having them mixed up with the tests
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 09:36:27 +01:00
Álvaro Brey
81db4f7b54
PasscodeManagerIT: use actual actitivy for test
...
Can't mock PowerManager on Android < 9
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-11 15:37:48 +01:00