本文介绍了如何构建Android CTS?以及如何添加和运行测试用例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

2.0的CTS是自由地从Android的资源库免费下载。

但没有文件了。

有没有人可以告诉我:

  1. 如何建立CTS?是否有一个标准的程序?
  2. 如何运行CTS?
  3. 如何添加自定义测试用例?

在这里,分享我的经验。回购同步所有的源代码后,不能直接运行make来构建所有源。你会得到一些错误。

现在,我'试图首先建立Android源没有CTS,然后再单独建设CTS。

另外,这里有对运行CTS一些参考:

  1. http://i-miss-erin.blogspot.com/2010/05/how-to-add-test-plan-package-to-android.html
  2. www.mentby.com/chenny/how-does-cts-work-where-can-i-get-the-test-streams.html
  3. www.jxva.com/?act=blog!article&articleId=157

第1次更新@ 5-13 18:39 +8:00

我做以下步骤:

无论JDK1.5和1.6有以下错误:

1,第1次使CTS报告:

2,第二次使CTS报告:

3,第三次使CTS报告:

4.最后一次让CTS报告:

解决方案

您也必须请访问以下站点约CTS帮助:

CTS介绍

和下载学习本PDF文件吧:

CTS R4手动

From 2.0 the cts is freely downloadable from android's repository.

But there is no documents about it.

Does anyone can tell me:

  1. how to build cts? Is there a standard procedure?
  2. How to run cts?
  3. How to add customized test case?

Here, share my experience.After repo sync all source, you can't directly run "make" to build all source.You will get some errors.

Now, I'am trying to first build android source without cts, and then build cts alone.

Also, here are some reference for run cts:

  1. http://i-miss-erin.blogspot.com/2010/05/how-to-add-test-plan-package-to-android.html
  2. www.mentby.com/chenny/how-does-cts-work-where-can-i-get-the-test-streams.html
  3. www.jxva.com/?act=blog!article&articleId=157

1st time Update @ 5-13 18:39 +8:00

I do the following steps:

both jdk1.5 and 1.6 have the following errors:

1.The 1st time "make cts" report:

2.The 2nd time "make cts" report:

3.The 3rd time "make cts" report:

4.The last time "make cts" report:

解决方案

You have to also visit on the following site for help about CTS:

CTS Intro

and Download this pdf file for study about it:

CTS R4 manual

这篇关于如何构建Android CTS?以及如何添加和运行测试用例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 03:21