From 706fd85a0479666d7a01adcb10734634ec72eaaf Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 21 May 2015 14:53:34 +0200 Subject: [PATCH] Remove tests-on-jvm module --- tests-on-jvm/build.gradle | 39 ------------------- .../src/test/java/android/text/TextUtils.java | 7 ---- .../src/test/java/android/util/Log.java | 11 ------ .../src/test/java/com/fsck/k9/K9.java | 5 --- 4 files changed, 62 deletions(-) delete mode 100644 tests-on-jvm/build.gradle delete mode 100644 tests-on-jvm/src/test/java/android/text/TextUtils.java delete mode 100644 tests-on-jvm/src/test/java/android/util/Log.java delete mode 100644 tests-on-jvm/src/test/java/com/fsck/k9/K9.java diff --git a/tests-on-jvm/build.gradle b/tests-on-jvm/build.gradle deleted file mode 100644 index 831e87a39..000000000 --- a/tests-on-jvm/build.gradle +++ /dev/null @@ -1,39 +0,0 @@ -repositories { - mavenCentral() -} - -apply plugin: 'java' -apply plugin: 'findbugs' -apply plugin: 'checkstyle' -apply plugin: 'jacoco' - -dependencies { - testCompile project(':k9mail') - testCompile 'junit:junit:4.12' -} - -sourceSets { - test { - compileClasspath += files(project(':k9mail').compileDebugJava.destinationDir) - compileClasspath += project(':k9mail').compileDebugJava.classpath - runtimeClasspath += files(project(':k9mail').compileDebugJava.destinationDir) - runtimeClasspath += project(':k9mail').compileDebugJava.classpath - } -} - -checkstyle { - ignoreFailures = true - configFile file("$rootProject.projectDir/config/checkstyle/checkstyle.xml") -} - -findbugs { - ignoreFailures = true - effort = 'max' - includeFilter = file("$rootProject.projectDir/config/findbugs/include_filter.xml") - excludeFilter = file("$rootProject.projectDir/config/findbugs/exclude_filter.xml") -} - -check.dependsOn 'checkstyleTest' -check.dependsOn 'findbugsTest' - -compileTestJava.dependsOn ':k9mail:compileDebugJava' diff --git a/tests-on-jvm/src/test/java/android/text/TextUtils.java b/tests-on-jvm/src/test/java/android/text/TextUtils.java deleted file mode 100644 index cdc2ddc19..000000000 --- a/tests-on-jvm/src/test/java/android/text/TextUtils.java +++ /dev/null @@ -1,7 +0,0 @@ -package android.text; - -public class TextUtils { - public static boolean isEmpty(CharSequence str) { - return (str == null || str.length() == 0); - } -} diff --git a/tests-on-jvm/src/test/java/android/util/Log.java b/tests-on-jvm/src/test/java/android/util/Log.java deleted file mode 100644 index 4d952eb26..000000000 --- a/tests-on-jvm/src/test/java/android/util/Log.java +++ /dev/null @@ -1,11 +0,0 @@ -package android.util; - -public class Log { - public static int v(String tag, String message) { return 0; } - public static int d(String tag, String message) { return 0; } - public static int d(String tag, String message, Throwable throwable) { return 0; } - public static int i(String tag, String message) { return 0; } - public static int w(String tag, String message) { return 0; } - public static int e(String tag, String message) { return 0; } - public static int e(String tag, String message, Throwable th) { return 0; } -} diff --git a/tests-on-jvm/src/test/java/com/fsck/k9/K9.java b/tests-on-jvm/src/test/java/com/fsck/k9/K9.java deleted file mode 100644 index 64c6b7c47..000000000 --- a/tests-on-jvm/src/test/java/com/fsck/k9/K9.java +++ /dev/null @@ -1,5 +0,0 @@ -package com.fsck.k9; - -public class K9 { - public static boolean DEBUG = false; -}