• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • Android系統單元測試方法(24)

    發表于:2011-06-30來源:未知作者:領測軟件測試網采編點擊數: 標簽:
    Button2isfocused ,button2.isFocused()); *} * * /** **Testingtheaddmethodinactvity **/ * public void testAdd(){ *Stringtag= testAdd ; *Log.e(tag, TesttheaddmethodinNewActivity... ); * int i=newActivity
    "Button2 is focused", button2.isFocused());   
  •     * }   
  •     *   
  •     * /**
  •     *   * Testing the add method in actvity  
  •     *   */  
  •     * public void testAdd(){   
  •     *   String tag ="testAdd";   
  •     *   Log.e(tag, "Test the add method in NewActivity...");   
  •     *   int i  = newActivity.add(25);   
  •     *   assertEquals(7, i);   
  •     * }   
  •     *   
  •     * }  



  • 五、配置Manifest.xml文件
       
    Java代碼 復制代碼 收藏代碼
    1. * <?xml version="1.0" encoding="utf-8"?>   
    2.     * <manifest xmlns:android="http://schemas.android.com/apk/res/android"  
    3.     * 

      原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>