本文整理了Java中org.easymock.Capture.setValue()
方法的一些代码示例,展示了Capture.setValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Capture.setValue()
方法的具体详情如下:
包路径:org.easymock.Capture
类名称:Capture
方法名:setValue
[英]Used internally by the EasyMock framework to add a new captured value
[中]EasyMock框架内部用于添加新捕获的值
代码示例来源:origin: org.easymock/easymock
public void validateCapture() {
capture.setValue(potentialValue);
}
}
代码示例来源:origin: aws-amplify/aws-sdk-android
@Override
public void setValue(T value) {
callback.valueSet(value);
if (!hasCaptured()) {
super.setValue(value);
}
}
}
代码示例来源:origin: org.easymock/com.springsource.org.easymock
public void validateCapture() {
capture.setValue(potentialValue);
}
}
代码示例来源:origin: hibernate/hibernate-search
public Void verify(PushSchemaCall actualCall) {
if ( schemaNode != null ) {
StubTreeNodeAssert.assertThat( actualCall.schemaNode )
.as( "Schema for index '" + indexName + "' did not match:\n" )
.matches( schemaNode );
capture.setValue( actualCall.schemaNode );
}
return null;
}
代码示例来源:origin: org.apache.mahout/mahout-mrlegacy
@Override
public void setValue(final TreeID value) {
super.setValue(value.clone());
}
}
内容来源于网络,如有侵权,请联系作者删除!