mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-28 18:49:56 +02:00
moved the junit test into an own package
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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) {
|
Reference in New Issue
Block a user