Skip to content

Commit

Permalink
tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MMauro94 committed Jan 21, 2020
1 parent 16d7511 commit e6644ae
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {

plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.21'
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'com.bmuschko.nexus' version "2.3.1"
id 'io.codearte.nexus-staging' version '0.11.0'
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Mar 03 15:49:41 CET 2019
#Wed Jan 22 00:14:14 CET 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
DEFAULT_JVM_OPTS='"-Xmx64m"'

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
Expand Down
2 changes: 1 addition & 1 deletion gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DEFAULT_JVM_OPTS="-Xmx64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
Expand Down
4 changes: 3 additions & 1 deletion src/test/kotlin/MergeTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ class MergeTest {
properties = container.properties!!.copy(
dateLocal = actual.container.properties?.dateLocal,
dateUtc = actual.container.properties?.dateUtc,
segmentUid = actual.container.properties?.segmentUid
segmentUid = actual.container.properties?.segmentUid,
muxingApplication = actual.container.properties?.muxingApplication,
writingApplication = actual.container.properties?.writingApplication
)
)
)
Expand Down
6 changes: 4 additions & 2 deletions src/test/kotlin/TestUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import kotlin.test.assertTrue

/** The test file used to do the testing */
internal val TEST_FILE = File("src/test/resources/test.mkv")

/** The expected identification information given by the test file */
internal val EXPECTED_IDENTIFICATION by lazy {
MkvToolnixFileIdentification(
Expand Down Expand Up @@ -45,7 +46,7 @@ internal val EXPECTED_IDENTIFICATION by lazy {
fileName = TEST_FILE.absoluteFile,
tracks = listOf(
MkvToolnixTrack(
codec = "MPEG-H/HEVC/h.265",
codec = "MPEG-H/HEVC/H.265",
id = 0,
type = MkvToolnixTrackType.video,
properties = MkvToolnixTrack.Properties(
Expand Down Expand Up @@ -183,4 +184,5 @@ internal fun <R> createDummyAttachment(f: (File) -> R): R {
it.writeText("hello")
f(it)
}
}
}

0 comments on commit e6644ae

Please sign in to comment.