CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - junit4 api
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - junit4 api - List
[
Documents
]
JUnit4.1
DL : 0
软件开发离开不了帮助文档,这是常用工具JUnit4.1的帮助文档。-Software development can help to leave the document, which is commonly used tools JUnit4.1
Date
: 2025-07-15
Size
: 102kb
User
:
张业勇
[
JSP/Java
]
junit4.70_CN
DL : 0
juint api的中文版,详细介绍,非常实用! public static <T> void assertThat(String reason, T actual, org.hamcrest.Matcher<T> matcher)Asserts that actual satisfies the condition specified by matcher. If not, an AssertionError is thrown with the reason and information about the matcher and failing value. Example: : assertThat("Help! Integers don t work", 0, is(1)) // fails: // failure message: // Help! Integers don t work // expected: is <1> // got value: <0> assertThat("Zero is one", 0, is(not(1))) // passes -juint api Chinese version details, very useful! public static <T> void assertThat (String reason, T actual, org.hamcrest.Matcher <T> matcher) Asserts that actual satisfies the condition specified by matcher. If not, an AssertionError is thrown with the reason and information about the matcher and failing value. Example:: assertThat (" Help! Integers don' t work" , 0, is ( 1)) // fails:// failure message:// Help! Integers don' t work// expected: is < 1> // got value: < 0> assertThat (" Zero is one" , 0, is ( not (1)))// passes
Date
: 2025-07-15
Size
: 169kb
User
:
lily
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.