- 博客(4)
- 资源 (2)
- 收藏
- 关注
JUnit +Spring注解 单元测试配置
项目中碰到了Junit和Spring整合的问题,对于通过注解方式注入的bean,稍微有点麻烦,总结如下: 1. 在项目pom.xml中添加对spring-test包的依赖,非maven工程可直接通过build path添加该包 <dependency> <groupId>org.springframework</gro...
2013-04-11 15:55:20
215
Linux内核模块编译小结
这两天在看《The Linux Kernel Module Programming Guide》,自己尝试从书中的样例入手,编写简单的内核模块。在编译的过程中遇到了一些问题,总结如下。1. 编写模块代码hello.c #include #include #include static int hello_init(void) { ...
2012-02-08 17:11:00
213
原创 How to: Compile Linux kernel 2.6(转载)
[color=red][b](原文地址:http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html)[/b][/color]How to: Compile Linux kernel 2.6by NIXCRAFT on SEPTEMBER 29, 2005 · 131 COMMENTSCompiling custom kern...
2012-02-07 19:34:58
133
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人