CTSå¿ç¨ç·¨ï¼è¦ãã¦ããããå¾ããæä½æ¹æ³ï¼
ä»åã¯ãCTSã§è¦ãã¦ãããã楽ãå¾ãèªæ
¢ï¼ï¼ï¼ã§ããæä½ã«ã¤ãã¦è¨è¼ãããã¾ãã
æè¡é¨ãè¤äºæ´ç¥ (twitterID:@i_m_yosuke)
ãªããæ¬å
容ãå®æ½ããä½ããã®åé¡ãæ害ãªã©ãçºçããå ´åãå½ç¤¾ã¯ä¸åã®è²¬ä»»ãè² ãã¾ããã
ããã¾ã§èªå·±è²¬ä»»ã§å®æ½ãã¦ãã ããã
ãããã®ãã¨ãèªèé ããä¸ã§ããå©ç¨ãåèã«ãã¦ãã ããã
1.ãCTSã®æä½ï¼å¿ç¨ç·¨ï¼
ã1.1ããã¹ãä¸ã®æä½
ãã1.1.1ãä¸æ
ããããã©ã³CTSå®æ½ä¸ã«ãä¸æããããå¾ãªãäºæ ï¼ã¿ã¼ã²ããããã¤ã¹ããªã¼ãºãmicroSDå ¥ãå¿ãã«æ°ã¥ããªã©ï¼ãçºçãããã¨ãããã¾ãã
ããããã®å ´åãâCtrl+Câï¼ä¸å³ãé丸é¨åï¼ã§ä¸æãå¯è½ã§ãã
ããNote.
ãããCTSã¯ãéæ /android-cts/repository/results/[æ¥ä»ãã©ã«ã]/testResult.xml ã¸å®è¡çµæã®æ¸ãè¾¼ã¿ãè¡ã£ã¦ã¾ããä¸æã®ã¿ã¤ãã³ã°ã«ãã£ã¦ã¯ãtestResult.xmlãç ´æããå¯è½æ§ãããã¾ãã
ããããã£ã¦ããã®æ¹æ³ã«ãã£ã¦ã®ä¸æã¯ããªã¹ã¯ããããã¨ãæ¿ç¥ããä¸ã§ãå®è¡ãã¦ãã ããã
ãããæ¸ãè¾¼ã¿ãè¡ã£ã¦ããªãã¨æãããã¿ã¤ãã³ã°ããã¨ãã°ãã¿ã¼ã²ããããã¤ã¹Rebootä¸ãªã©ãçãç®ã§ãã
ãã1.1.2ãåé
ããã1.1.1ã§ä¸æããããã©ã³CTSãåéãããå ´åã¯ãé常ã®CTSèµ·åã¨åãã§ãã
ããåéãããã«æ°è¦ã§éå§ãããå ´åï¼
ãããâ0â â ã¨ã³ã¿ã¼
ããåéããããå ´åï¼
ãããâ1â â ã¨ã³ã¿ã¼
ããé¸æããå 容ã§ããã©ã³CTSãå®è¡ããã¾ãã
ããNote.
ãããä¸æãã¦ãããã©ã³ãè¤æ°ããå ´åã¯ãcts_hostããã³ããã§ãâls -râã«ãã£ã¦ãå®è¡ãã©ã³ä¸è¦§ã
ãã表示ãããã¨ãåºæ¥ã¾ãã
ãããããã§Session Idæ¯ã«è¡¨ç¤ºãããæ å ±ã確èªããåéãããããã©ã³ã確èªãã¾ãã
ãããSession ID 5ï¼ãã©ã³CTSï¼ãåéãããå ´åã¯ãâ1â â ã¨ã³ã¿ã¼ â â1â â ã¨ã³ã¿ã¼ã¨ãªãã¾ãã
ã1.2ããã©ã³CTSã®ãã³ãã¤ã³ãå®æ½
ãã1.2.1ãã¯ã©ã¹åä½ã§å®æ½ãã
ãããã¨ãã«ã¯ãããã±ã¼ã¸åä½ãããç´°ããåä½ã§å®æ½ãããå ´åãããã¾ãã
ãããä¾ãã°ãandroid.textããã±ã¼ã¸ã®Editable_FactoryTestã¯ã©ã¹ã ããå®è¡ãããå ´åããã£ãã¨ãã¾ãã
ãããcts_hostããã³ããã§âstart --plan CTS -p android.text.cts.Editable_FactoryTestâãå ¥åãã¾ãã
ãããæ¸å¼ï¼start --plan test_plan_name -p java_package_name.class_name
ãããNote.
ããããããã±ã¼ã¸ã«å«ã¾ããtest suiteåä½ã§å®æ½ãããå ´åã§ãã
ããããå³1.2.1ã®ä¾ããããã¾ãã¨ã
ããããâstart --plan CTS -p android.text.ctsâã¨å ¥åãããã¨ã§ã
ããããâandroid.text.ctsâTest Suiteãå ¨ã¦å®è¡ããã¾ãã
ããããâ»ä½ããNot Executedã®é ç®ã®ã¿ã§ãã
ãã1.2.2ãã¡ã½ããåä½ã§å®æ½ãã
ãããCTSå®æ½ã®æå°åä½ã§ãã
ãããandroid.textããã±ã¼ã¸ã®StaticLayoutTestã¯ã©ã¹ã®testGetLineForVerticalã¡ã½ããã ããå®è¡ãããå ´åcts_hostããã³ããã§
ãããâstart --plan CTS -p android.text.cts.StaticLayoutTest#testGetLineForVerticalâ
ãããã¨å ¥åãã¾ãã
ãããæ¸å¼ï¼start --plan test_plan_name -p java_package_name.class_name#method_name
ãããNote.
ãããã¡ã½ããåä½å®è¡ããå ´åã対象ã¡ã½ãããæ¢ã«å®è¡æ¸ã¿ï¼pass/failã®ã©ã¡ããï¼ã§ãã£ã¦ããçµæï¼testResult.xmlï¼ãä¸æ¸ããã¾ãã
以ä¸ã§ãã
å½è¨äºå
容ãPDFåãã¦ã¾ãã
ä¸è¨LinkããDownloadã§ãã¾ãã
BS_CTS_Doc04(応用編).pdf