| Base ?TestCase |
?TestCase Á¾·ù |
Ư¡ |
| ?AndroidTestCase |
* |
* |
| * |
?ApplicationTestCase |
Àüü applicationÀ» Å×½ºÆÃ. application¿¡ mock Context¸¦ ³Ö¾î¼ applicationÀÌ ½ÃÀÛÇϱâ Àü¿¡ test parameter¸¦ ÃʱâÈ °¡´É. applicationÀÌ Á¾·áµÇ±â Àü »óŸ¦ È®ÀÎ °¡´ÉÇÔ. |
| * |
?ProviderTestCase2 |
´ÜÀÏ ?ContentProvider¸¦ µ¶¸³ÀûÀ¸·Î Å×½ºÆÃ. ?MockContentResolver »ç¿ëÀÌ Á¦ÇѵÊ. ?IsolatedContext¸¦ »ç¿ë. OS¿Í´Â º°°³·Î Å×½ºÆÃ. |
| * |
?ServiceTestCase |
´ÜÀÏ Service¸¦ µ¶¸³ÀûÀ¸·Î Å×½ºÆÃ. mock Context³ª mock ApplicationÀ» »ç¿ëÇϰųª Android¿¡¼ Context¿Í ?MockApplicationÀ» Á¦°ø. |
| ?InstrumentationTestCase |
* |
* |
| * |
?ActivityTestCase |
Activity test class¿¡ ´ëÇÑ base class |
| * |
?SingleLaunchActivityTestCase |
´ÜÀÏ activity¿¡ ´ëÇÑ test. setup°ú teardownÀÌ 1¹ø¸¸ È£ÃâµÊ. |
| * |
?SyncBaseInstrumentation |
content providerÀÇ synch Å×½ºÆ®. test sync ½ÃÀÛÀü¿¡ instrument¸¦ ÀÌ¿ëÇØ¼ sync¸¦ cancelÀ̳ª disable½Ãų ¼ö ÀÖ´Ù. |
| * |
?ActivityUnitTestCase |
´ÜÀÏ activity¿¡ ´ëÇØ¼ µ¶¸³ test½ÇÇà. mock context³ª applciaitonÀ» ³Ñ°ÜÁÙ ¼ö ÀÖ´Ù. |
| * |
?ActivityInstrumentationTestCase2 |
ÀÏ¹Ý system ȯ°æ¿¡¼ ´ÜÀÏ activity¸¦ Å×½ºÆ®. mock context¸¦ »ç¿ëÇÒ ¼ö ¾øÁö¸¸ mock intent´Â °¡´É. UI thread¿¡¼ test method¸¦ ½ÇÇàÇÒ ¼ö ÀÖ¾î¼ key³ª touch À̺¥Æ®¸¦ applicaiton¿¡°Ô º¸³¾ ¼ö ÀÖ´Ù. |
| Assert class |
* |
* |
| * |
?MoreAsserts |
regular expression matchingÀ» Áö¿øÇÏ´Â assertion Æ÷ÇÔ. ex) assert?ContainsRegex |
| * |
?ViewAsserts |
Android View¿Í °ü·ÃµÈ assertion Æ÷ÇÔ. ex) assert?HasScreenCoordinates. ƯÁ¤ View°¡ x, y À§Ä¡¿¡¼ visibleÇÑ screenÀ» Áö¿øÇÏ´ÂÁö ¿©ºÎ È®ÀÎ, À§»ó ¹× Á¤·Ä Å×½ºÆÃ. |
| Mock object class |
* |
* |
| * |
?IsolatedContext |
|
| * |
?RenamingDelegatingContext |
|
| * |
?MockApplication, ?MockContentResolver, ?MockContext, ?MockDialogInterface, ?MockPackageManager, ?MockResources |
Å×½ºÆÃ¿¡ »ç¿ëÇÒ mock system object »ý¼º. |