Port FeatureOverview to Kotlin and remove empty activity tests (#686)
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
<%
|
||||
const activity = locals[0];
|
||||
const subPackage = locals[1];
|
||||
-%>
|
||||
// This file is generated. Edit android/platform/scripts/generate-test-code.js, then run `make generate-test-android`.
|
||||
package com.mapbox.mapboxsdk.testapp.activity.gen.<%- subPackage %>;
|
||||
|
||||
import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner
|
||||
import com.mapbox.mapboxsdk.testapp.activity.BaseTest
|
||||
import com.mapbox.mapboxsdk.testapp.activity.<%- subPackage %>.<%- activity %>
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
/**
|
||||
* Sanity test for <%- activity %>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4ClassRunner::class)
|
||||
class <%- activity %>Test : BaseTest() {
|
||||
@Test
|
||||
fun testSanity() {
|
||||
}
|
||||
|
||||
override fun getActivityClass(): Class<*> {
|
||||
return <%- activity %>::class.java
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user