Marcel Hibbe
be29459955
fix klint warnings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:07 +02:00
Marcel Hibbe
bae65ebbe9
rename canPostChatShareItemsDoReaction to hasChatPermission
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:06 +02:00
Marcel Hibbe
cc6f582ee2
check capability and permission to delete message
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:06 +02:00
Marcel Hibbe
d9d6af2b99
add util for permissions
...
util uses bitwise operations to access every single permission via variable
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:05 +02:00
Tim Krüger
aaa9567c19
Skip test 'ShareUtils#date'
...
The test will be skipped on the CI server because it fails there:
com.nextcloud.talk.utils.ShareUtilsIT > date[android-27(AVD) - 8.1.0] FAILED
java.lang.AssertionError: expected:<1207778138000> but was:<1207785338000>
at org.junit.Assert.fail(Assert.java:88)
Locally the test works fine. For this problem a issue were created.
See: #1737
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-08 14:52:21 +01:00
Tim Krüger
707841ec29
Mock the companion object correctly
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 09:45:05 +01:00
Tim Krüger
c854d8c3ae
Replace deprecated methods
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 09:45:05 +01:00
tobiasKaminsky
eb5b6a80d9
dav library test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-09-05 16:56:50 +00:00
Tim Krüger
8468535a1e
Remove unused method and dependency
...
See: commit 4c4c5839
, #1167
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-14 10:17:05 +02:00
Andy Scherzinger
0bc3be1b6e
codacy: Avoid unused imports
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:35:34 +02:00
Mario Danic
6a5aaac224
Lobby & Various bugfixes and improvements
...
Includes conversion to Kotlin of some files
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-30 12:13:33 +02:00
ardevd
fd0866dfc5
test: added unit tests for the DoNotDisturbUtils utility class ( #530 )
...
* test: added unit tests for the DoNotDisturbUtils utility class
Signed-off-by: eho <edvard.holst@gmail.com>
* added Mario's mandatory newline.
Signed-off-by: eho <edvard.holst@gmail.com>
2019-04-23 15:18:22 +02:00
ardevd
0b8b0fa5c4
test: added unit tests for the ShareUtils utility class. ( #524 )
2019-04-11 18:59:14 +02:00
ardevd
b6edab3d59
refactored test names. added requested whitespace
...
Signed-off-by: ardevd <edvard.holst@gmail.com>
2019-04-11 13:24:14 +02:00
eho
d2aa3a7f50
test: added unit tests for the TextMatchers utility class.
...
- Replaced Patterns with PatternsCompat equivalent for unit testing compatibility
- Removed ExampleUnitTest placeholder test class
Signed-off-by: eho <edvard.holst@gmail.com>
2019-04-10 22:07:50 +02:00
AndyScherzinger
9a07f28815
CR: new line
2018-02-22 12:34:34 +01:00
AndyScherzinger
45a145ac50
codacy: Method names should not contain underscores
2018-02-21 22:53:21 +01:00
Mario Danic
05d080b95c
Initial import
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-23 12:40:38 +02:00