zoukankan      html  css  js  c++  java
  • Eclipse中添加Junit4源码

    突然想学习一下Junit的源代码,但是下载好了源码包之后,在eclipse中无法attach,头痛……

    解决方法:

    1.  下载Junit源码jar包,重命名为org.junit.source_4.11.0.v201303080030-1100.jar(根据下图中junit的版本来命名版本号),放到eclipseplugins下。

    2.  修改 eclipseconfigurationorg.eclipse.equinox.sourcesource.info,添加一行:

    org.junit.source,4.11.0.v201303080030,plugins/org.junit.source_4.11.0.v201303080030-1100.jar,-1,false  

     3、重启eclipse,之后单击@Test,就可以进入Test源码了。

    (注意,其他版本也适用)

  • 相关阅读:
    python socket 二进制
    全面介绍内存管理机制
    glog修改
    mysql c api
    http twisted
    IOCP 模型1
    IOCP 模型2 AcceptEx
    python
    Python Twisted
    Java 拾遗
  • 原文地址:https://www.cnblogs.com/dingcx/p/7872960.html
Copyright © 2011-2022 走看看