mirror of
https://github.com/arthenica/ffmpeg-kit.git
synced 2026-05-07 20:22:27 +00:00
specify test options in the build.gradle
This commit is contained in:
@@ -28,6 +28,9 @@ android {
|
||||
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
unitTests.all {
|
||||
systemProperty 'enable.ffmpeg.kit.test.mode', 'true'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-5
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2020 Taner Sener
|
||||
* Copyright (c) 2018-2021 Taner Sener
|
||||
*
|
||||
* This file is part of FFmpegKit.
|
||||
*
|
||||
@@ -32,10 +32,6 @@ import java.util.List;
|
||||
*/
|
||||
public class FFmpegKitConfigTest {
|
||||
|
||||
static {
|
||||
System.setProperty("enable.ffmpeg.kit.test.mode", "true");
|
||||
}
|
||||
|
||||
private static final String externalLibrariesCommandOutput = " configuration:\n" +
|
||||
" --cross-prefix=i686-linux-android-\n" +
|
||||
" --sysroot=/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/ffmpeg-kit-i686/sysroot\n" +
|
||||
|
||||
-4
@@ -26,10 +26,6 @@ import java.util.List;
|
||||
|
||||
public class FFmpegSessionTest {
|
||||
|
||||
static {
|
||||
System.setProperty("enable.ffmpeg.kit.test.mode", "true");
|
||||
}
|
||||
|
||||
private static final String[] TEST_ARGUMENTS = new String[]{"argument1", "argument2"};
|
||||
|
||||
@Test
|
||||
|
||||
-4
@@ -26,10 +26,6 @@ import java.util.List;
|
||||
|
||||
public class FFprobeSessionTest {
|
||||
|
||||
static {
|
||||
System.setProperty("enable.ffmpeg.kit.test.mode", "true");
|
||||
}
|
||||
|
||||
private static final String[] TEST_ARGUMENTS = new String[]{"argument1", "argument2"};
|
||||
|
||||
@Test
|
||||
|
||||
@@ -28,6 +28,9 @@ android {
|
||||
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
unitTests.all {
|
||||
systemProperty 'enable.ffmpeg.kit.test.mode', 'true'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -28,6 +28,9 @@ android {
|
||||
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
unitTests.all {
|
||||
systemProperty 'enable.ffmpeg.kit.test.mode', 'true'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user