Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TouHou.FM
Client
fm.touhou.touhoufm
Commits
6c93b569
Verified
Commit
6c93b569
authored
Sep 08, 2020
by
Daniel Sonck
Browse files
Fix tests and update gradle
parent
df5cbf93
Changes
6
Hide whitespace changes
Inline
Side-by-side
app/build.gradle
View file @
6c93b569
...
...
@@ -8,7 +8,7 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:
3.5.3
'
classpath
'com.android.tools.build:gradle:
4.0.1
'
}
}
...
...
app/src/test/java/fm/touhou/touhoufm/utils/AudioPacketTest.kt
View file @
6c93b569
...
...
@@ -20,6 +20,10 @@ class AudioPacketTest {
fail
(
"Wrong packet decoded"
)
}
override
fun
onMetaListPacket
(
base
:
BasePacket
,
packet
:
MetaListPacket
)
{
fail
(
"Wrong packet decoded"
)
}
override
fun
onAudioPacket
(
base
:
BasePacket
,
packet
:
AudioPacket
)
{
val
audioData
=
packet
.
audio
...
...
@@ -46,6 +50,10 @@ class AudioPacketTest {
fail
(
"Wrong packet decoded"
)
}
override
fun
onMetaListPacket
(
base
:
BasePacket
,
packet
:
MetaListPacket
)
{
fail
(
"Wrong packet decoded"
)
}
override
fun
onUnknownPacket
(
base
:
BasePacket
)
{
fail
(
"Wrong packet decoded"
)
}
...
...
app/src/test/java/fm/touhou/touhoufm/utils/BasePacketTest.kt
View file @
6c93b569
...
...
@@ -25,6 +25,10 @@ class BasePacketTest {
fail
(
"Wrong packet decoded"
)
}
override
fun
onMetaListPacket
(
base
:
BasePacket
,
packet
:
MetaListPacket
)
{
fail
(
"Wrong packet decoded"
)
}
override
fun
onAudioPacket
(
base
:
BasePacket
,
packet
:
AudioPacket
)
{
fail
(
"Wrong packet decoded"
)
}
...
...
@@ -46,6 +50,10 @@ class BasePacketTest {
fail
(
"Wrong packet decoded"
)
}
override
fun
onMetaListPacket
(
base
:
BasePacket
,
packet
:
MetaListPacket
)
{
fail
(
"Wrong packet decoded"
)
}
override
fun
onUnknownPacket
(
base
:
BasePacket
)
{
fail
(
"Wrong packet decoded"
)
}
...
...
app/src/test/java/fm/touhou/touhoufm/utils/MetaPacketTest.kt
View file @
6c93b569
...
...
@@ -20,6 +20,10 @@ class MetaPacketTest {
Assertions
.
assertEquals
(
"Hello"
,
packet
.
contents
)
}
override
fun
onMetaListPacket
(
base
:
BasePacket
,
packet
:
MetaListPacket
)
{
fail
(
"Wrong packet decoded"
)
}
override
fun
onAudioPacket
(
base
:
BasePacket
,
packet
:
AudioPacket
)
{
fail
(
"Wrong packet decoded"
)
}
...
...
@@ -40,6 +44,10 @@ class MetaPacketTest {
fail
(
"Wrong packet decoded"
)
}
override
fun
onMetaListPacket
(
base
:
BasePacket
,
packet
:
MetaListPacket
)
{
fail
(
"Wrong packet decoded"
)
}
override
fun
onUnknownPacket
(
base
:
BasePacket
)
{
fail
(
"Wrong packet decoded"
)
}
...
...
build.gradle
View file @
6c93b569
...
...
@@ -16,7 +16,7 @@ buildscript {
google
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:
3.5.3
'
classpath
'com.android.tools.build:gradle:
4.0.1
'
classpath
"androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
...
...
gradle/wrapper/gradle-wrapper.properties
View file @
6c93b569
#T
h
u Sep
12 13:21:25
CEST 20
19
#Tu
e
Sep
08 23:44:40
CEST 20
20
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
5.6.2
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
6.1.1
-all.zip
Daniel Sonck
@dsonck
mentioned in commit
5c11dd2d
·
Sep 13, 2020
mentioned in commit
5c11dd2d
mentioned in commit 5c11dd2d55543c08982876157e0b489ef6515635
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment