摘要:
@BeforeClass---@AfterClass类实例化前, 被执行, 主要用于设置环境变量等, 与SpringTestContext结合用的时候要注意, 这种情况下@autowire的bean还未实例化@BeforeTest----@AfterTest整个测试类开始前, 被执行, 主要用户塞值... 阅读全文
posted @ 2014-09-23 18:15
zhwbqd
阅读(2655)
评论(0)
推荐(0)
摘要:
Spring 3 supports${my.server.port:defaultValue}syntax.@Value("${zookeeper.enable:false}") private boolean isZkEnable;done! 阅读全文
posted @ 2014-09-23 10:55
zhwbqd
阅读(11145)
评论(2)
推荐(0)
浙公网安备 33010602011771号