de.akquinet.android.marvintest
Class ViewAssertionsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by android.test.InstrumentationTestCase
              extended by de.akquinet.android.marvin.AndroidTestCase
                  extended by de.akquinet.android.marvintest.ViewAssertionsTest
All Implemented Interfaces:
junit.framework.Test

public class ViewAssertionsTest
extends AndroidTestCase


Field Summary
 
Fields inherited from class de.akquinet.android.marvin.AndroidTestCase
activityMonitor
 
Constructor Summary
ViewAssertionsTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testClick()
           
 void testDoesNotExist()
           
 void testExists()
           
 void testFindTextViewHasText()
           
 void testIsDisabled()
           
 void testIsEnabled()
           
 void testIsNotVisible()
           
 void testIsOnScreen()
           
 void testIsVisible()
           
 void testSetText()
           
 
Methods inherited from class de.akquinet.android.marvin.AndroidTestCase
activity, assertThat, assertThat, bindService, bindService, click, finishOnTearDown, getMostRecentlyStartedActivity, getStartedActivities, getString, key, keyDownUp, leaveRunningAfterTearDown, sendString, sleep, startActivity, startActivity, waitForActivity, waitForCondition, waitForCondition, waitForIdle, waitForView
 
Methods inherited from class android.test.InstrumentationTestCase
getInstrumentation, injectInsrumentation, launchActivity, launchActivityWithIntent, runTest, runTestOnUiThread, sendKeys, sendKeys, sendRepeatedKeys
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewAssertionsTest

public ViewAssertionsTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AndroidTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class AndroidTestCase
Throws:
Exception

testDoesNotExist

public void testDoesNotExist()

testExists

public void testExists()

testIsVisible

public void testIsVisible()

testIsEnabled

public void testIsEnabled()

testIsOnScreen

public void testIsOnScreen()

testFindTextViewHasText

public void testFindTextViewHasText()

testIsDisabled

public void testIsDisabled()

testIsNotVisible

public void testIsNotVisible()

testSetText

public void testSetText()

testClick

public void testClick()


Copyright © 2010-2011 akquinet AG. All Rights Reserved.