1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-28 10:40:47 +02:00

moved the junit test into an own package

This commit is contained in:
OliE
2017-12-30 10:14:17 +01:00
parent c547cd5739
commit f3e5174fcc
2 changed files with 5 additions and 4 deletions

View File

@@ -31,8 +31,7 @@ dependencies {
compile "com.android.support:support-v4:${supportLibVersion}"
compile "com.android.support:appcompat-v7:${supportLibVersion}"
compile 'com.github.lecho:hellocharts-library:1.5.8@aar'
testCompile 'junit:junit:4.12'
compile 'junit:junit:4.12'
}
tasks.withType(Test) {

View File

@@ -14,13 +14,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/
package com.health.openscale.core.utils;
package com.health.openscale.junit;
import com.health.openscale.core.utils.DateTimeHelpers;
import org.junit.Test;
import java.util.Calendar;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
public class DateTimeHelpersTest {
Calendar getDate(int year, int month, int day, int hour, int minute, int second, int ms) {