
Resources.FitNesseRoot.FitNesse.SuiteAcceptanceTests.SuiteSlimTests.TestCustomConverter.content.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
We check whether a custom converter for lists can be used to change how lists are returned to the wiki.
Whether a converter is applied to a method's result depends on its declared return type:
* List (exactly, no sub-interface or class implementing it): converter is '''not applied''' (this is needed for some Slim tables, such as !-QueryTable-!).
* All return types: converter is applied, based on the actual class of the object returned, or on its declared type when !style_code[null] is returned
|import |
|fitnesse.slim.test|
|script |!-TestSlimWithConverter-!|
|check |get object |[a, b, c]|
|check |get list |[a, b, c]|
|check |get array list |[a, b, c]|
|same list|[a, b, c] |
|set list converter |
|check |get object |{a, b, c}|
|check |get list |[a, b, c]|
|check |get array list |{a, b, c}|
|same list|{a, b, c} |
|same list|[a, b, c] |
|remove list converter |
|check |get object |[a, b, c]|
|check |get list |[a, b, c]|
|check |get array list |[a, b, c]|
|same list|[a, b, c] |
© 2015 - 2025 Weber Informatics LLC | Privacy Policy