Skip to content

Commit

Permalink
Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jberkel committed Jan 25, 2012
1 parent 1984e5e commit e114a97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/g8/tests/src/main/scala/Tests.scala
Expand Up @@ -6,15 +6,15 @@ import _root_.android.test.AndroidTestCase
import _root_.android.test.ActivityInstrumentationTestCase2

class AndroidTests extends AndroidTestCase {
def testPackageIsCorrect {
def testPackageIsCorrect() {
assertEquals("$package$", getContext.getPackageName)
}
}

class ActivityTests extends ActivityInstrumentationTestCase2(classOf[$main_activity$]) {
def testHelloWorldIsShown() {
val activity = getActivity()
val activity = getActivity
val textview = activity.findView(TR.textview)
assertEquals(textview.getText(), "hello, world!")
assertEquals(textview.getText, "hello, world!")
}
}

0 comments on commit e114a97

Please sign in to comment.