类org.junit.contrib.java.lang.system.SystemOutRule源码实例Demo

下面列出了怎么用org.junit.contrib.java.lang.system.SystemOutRule的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: audit4j-demo   文件: ThenSomeOutcome.java
public ThenSomeOutcome the_console_log_contains_the_expected_output_for_event_builder(@Hidden SystemOutRule systemOutRule) {
	assertTrue(systemOutRule.getLog().contains(TesterUtil.expectedOutputEV));
	return self();	
	
}
 
源代码2 项目: audit4j-demo   文件: ThenSomeOutcome.java
public ThenSomeOutcome the_console_log_contains_the_expected_output_for_audit_event(@Hidden SystemOutRule systemOutRule) {
	assertTrue(systemOutRule.getLog().contains(TesterUtil.expectedOutputAE));
	return self();	
	
}
 
源代码3 项目: audit4j-demo   文件: ThenSomeOutcome.java
public ThenSomeOutcome the_console_log_contains_the_audit4j_logo_with_version_$(@Hidden SystemOutRule systemOutRule,@Quoted Version version) {
	assertTrue(systemOutRule.getLog(),systemOutRule.getLog().contains("  / ___ \\ |_| | (_| | | |_|__   _| |\r\n"));
	assertTrue(systemOutRule.getLog(),systemOutRule.getLog().contains(version.toString()));
	return self();	
}
 
源代码4 项目: audit4j-demo   文件: ThenSomeOutcome.java
public ThenSomeOutcome the_console_log_does_not_contains_messages_for_event_builder(@Hidden SystemOutRule systemOutRule) {
	assertFalse(systemOutRule.getLog().contains(TesterUtil.expectedOutputEV));
	

	return self();	
	
}
 
 类所在包
 类方法
 同包方法