首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Axiom测试用例不运行

Axiom测试用例不运行
EN

Stack Overflow用户
提问于 2013-10-10 10:15:45
回答 1查看 123关注 0票数 0

我在做一个阿帕奇公理项目。我写过juint测试用例。并试图运行它。但每次他们犯了这个错误。(说对应的类没有公共构造函数TestCase )

代码语言:javascript
复制
    junit.framework.AssertionFailedError: Class org.apache.axiom.ts.om.builder.TestGetDocumentElementWithIllFormedDocument has no public constructor TestCase(String name) or TestCase()
    at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:77)
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

       Process finished with exit code 255

然后,我尝试运行一些已经在axoim中的测试用例,看看是否是因为我编写的代码。同样的错误会弹出。

如果有人能帮我做这件事我会很感激的。

谢谢

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-10-12 19:32:14

我已经回答了这个问题:http://markmail.org/message/2sxitsvqajapmhap

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19293071

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档