困境-如何忽略源 [英] eclemma - how to ignore source

查看:78
本文介绍了困境-如何忽略源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用junit/eclemma;它工作得很好,除了我想让两难问题忽略某些方法或类.例如,我将如何指示两难境地忽略getters/setters.

I'm using junit/eclemma; it works great, except I'd like to instruct eclemma to ignore certain methods or classes. For example, how would i instruct eclemma to ignore getters/setters.

提前谢谢!

推荐答案

您可以在首选项中使用正则表达式指定要忽略的类(仅路径条目匹配").有关详细信息,请参见 http://www.eclemma.org/userdoc/preferences.html

You can specify in the preferences which classes to ignore using a regexp ("Only path entries matching"). See http://www.eclemma.org/userdoc/preferences.html for details.

我认为您不能忽略方法.

I don't think you can ignore methods though.

这篇关于困境-如何忽略源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆