Welcome![Sign In][Sign Up]
Location:
Search - junit4 api

Search list

[DocumentsJUnit4.1

Description: 软件开发离开不了帮助文档,这是常用工具JUnit4.1的帮助文档。-Software development can help to leave the document, which is commonly used tools JUnit4.1
Platform: | Size: 104448 | Author: 张业勇 | Hits:

[JSP/Javajunit4.70_CN

Description: 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
Platform: | Size: 173056 | Author: lily | Hits:

CodeBus www.codebus.net