- getBodyAsBytes() - Method in class com.fnproject.fn.testing.FnTestingRule.TestOutput
-
- getBodyAsString() - Method in class com.fnproject.fn.testing.FnTestingRule.TestOutput
-
Returns the buffered body of the event as a string
- getConfig() - Method in class com.fnproject.fn.testing.FnTestingRule
-
- getContentType() - Method in class com.fnproject.fn.testing.FnTestingRule.TestOutput
-
- getEventEnv() - Method in class com.fnproject.fn.testing.FnTestingRule
-
- getHeaders() - Method in class com.fnproject.fn.testing.FnTestingRule.TestOutput
-
- getLastExitCode() - Method in class com.fnproject.fn.testing.FnTestingRule
-
Get the exit code from the most recent invocation
0 = success
1 = failed
2 = not run due to initialization error
- getOnlyResult() - Method in class com.fnproject.fn.testing.FnTestingRule
-
Convenience method to get the one and only parsed http response expected on the output of the function
- getResults() - Method in class com.fnproject.fn.testing.FnTestingRule
-
Parses any pending HTTP responses on the functions output stream and returns the corresponding FnResult instances
- getSharedPrefixes() - Method in class com.fnproject.fn.testing.FnTestingRule
-
- getStatus() - Method in class com.fnproject.fn.testing.FnTestingRule.TestOutput
-
- getStdErr() - Method in class com.fnproject.fn.testing.FnTestingRule
-
Get the StdErr stream returned by the function as a byte array
- getStdErrAsString() - Method in class com.fnproject.fn.testing.FnTestingRule
-
Gets the StdErr stream returned by the function as a String
- givenEvent() - Method in class com.fnproject.fn.testing.FnTestingRule
-
Create an HTTP event builder for the function