How to Configure Javadoc for Robotium Library

Why we need to configure the robotium Javadoc? With the JavaDoc configured, we could easily get the description hint of a variable,class,function of the third-party Robotium library during coding. Let's check following screenshots on the different of with/without Robotium Javadoc configured.

Without Javadoc Configured:


With Javadoc Configured


To configure the Robotium JavaDoc, first you should make sure that you've the javadoc downloaded, if not, please download it according to your Robotium library version.

Then, you should make sure that you did add your Robotium Library into your test project as an external JAR rather than as an "Android Private Libraries". Following are the ways help you to check which it is.

Robotium Library as "Android Private Libraries"


To check the project properties you would see that the JavaDoc properties of the library is not configurable.


Robotium Library as External JAR


Check that the JavaDoc property of the Robotium Library is editable


Since that using Robotium Library as 'Android Private Library" could not add JavaDoc, following we would illustrate the way on how to add Robotium JavaDoc to the Robotium Library, assuming which's been added to the test project as an External 
Step 1: Choose "Robotium-solo-xxx.jar>Javadoc locationL(None)" and then click on the Edit button as following screenshot shows.

Step 2: Check the "Javadoc in archive" option and Browse to select the Robotium Javadoc file on your file system, then "OK" to save.

Step 3: Click on the "OK" button to save the changes.


After saving the changes, try move cursor on the Robotum functions/Class to check whether it take effects.

------------------------------------------------------------The End-------------------------------------------------

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值