如何AsMock融入AsUnit 4? [英] How to integrate AsMock into AsUnit 4?

查看:212
本文介绍了如何AsMock融入AsUnit 4?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试更新AsMock嘲讽框架V.1.0,并用它与AsUnit 4.但是,在运行时获得的VerifyError(1153,inacceptible覆盖)在与行[RunWith(asmock.integration.asunit.ASMockRunner) ]元标记中的测试用例类。我用的是FlashDevelop作为一个IDE。不知道,什么是错的。谁能帮忙?

解决方案

AsUnit 4的支持,增加它离开测试版之前,所以它看起来像的API已经改变了

。我会看看到它。在此期间,我建议将这个bug来 asMock的bug跟踪系统

Trying to update AsMock mocking framework to v.1.0, and use it with AsUnit 4. But in runtime get a VerifyError (1153, inacceptible override) at the line with [RunWith("asmock.integration.asunit.ASMockRunner")] metatag in the test case class. I use FlashDevelop as an IDE. Have no idea, what's wrong. Could anyone help?

解决方案

AsUnit 4 support was added before it left beta, so it looks like the APIs have changed. I'll have a look into it. In the meantime, I'd recommend adding this as a bug to asMock's bug tracker.

这篇关于如何AsMock融入AsUnit 4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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