我在哪里可以找到孙类的单元测试? [英] Where can I find unit tests for Sun classes?

查看:109
本文介绍了我在哪里可以找到孙类的单元测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在写Sun提供的接口的实现,我想知道是否有人单元测试Sun的API的可用性知道了。

I'm writing an implementation of an interface provided by Sun and I'm wondering if anyone knows of the availability of unit tests for Sun's APIs.

这似乎是这样的事情将是可用的,但我有一个很难找到他们。具体来说,我正在寻找的BlockingQueue测试(即:对的LinkedBlockingQueue,我可以改变平凡的使用我的课测试),但会很高兴知道他人以备将来使用。这似乎是浪费精力,如果大家谁实现了一个接口来编写自己的测试吧。

It would seem that such of thing would be available, but I'm having a hard time finding them. Specifically, I'm looking for BlockingQueue tests (ie: a test for LinkedBlockingQueue that I could trivially alter to use my class), but would be happy to know about others for future use. It seems like wasted effort if everyone who implements an interface has to write their own tests for it.

我不熟悉Java的兼容性测试,但也许我应该寻找在那里。

I'm not familiar with Java compatibility tests, but maybe I should be looking there.

感谢您的帮助。

推荐答案

看看在 JCK首页。你也可以看看其他 Doug Lea的JSR-166页信息。

Take a look at the JCK home page. You might also look at Doug Lea's JSR-166 page for other information.

这篇关于我在哪里可以找到孙类的单元测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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