This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.elyeproj.testrules | |
| import org.junit.After | |
| import org.junit.AfterClass | |
| import org.junit.Before | |
| import org.junit.BeforeClass | |
| import org.junit.ClassRule | |
| import org.junit.Rule | |
| import org.junit.Test | |
| import org.junit.rules.TestRule |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class TestingClass { | |
| fun testingFunction() { | |
| for (everyday in this year 2017) { | |
| // Do something with everyday | |
| println(everyday.toString()) | |
| } | |
| } | |
| private infix fun year(year: Int): DateRange { | |
| return Date(year, 1, 1)..Date(year, 12, 31) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ext { | |
| appVersionName = '1.0' | |
| appPackageId = '<YourApplicationID>' | |
| } | |
| android { | |
| compileSdkVersion 25 | |
| buildToolsVersion "25.0.2" | |
| defaultConfig { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| android { | |
| compileSdkVersion 25 | |
| buildToolsVersion "25.0.2" | |
| defaultConfig { | |
| applicationId "<YourApplicationID>" | |
| minSdkVersion 19 | |
| targetSdkVersion 25 | |
| versionCode 1 | |
| versionName "1.0" | |
| testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |