verifyFunctionReturnTypesDefinition {wyz.code.offensiveProgramming} | R Documentation |
Verify Function Return Types Definition
Description
Verifies your declared return type definitions and detects anomalies.
Usage
verifyFunctionReturnTypesDefinition(object_o_1,
requiresFullInstrumentation_b_1 = TRUE)
Arguments
object_o_1 |
The |
requiresFullInstrumentation_b_1 |
a |
Details
When requiresFullInstrumentation_b_1
is TRUE
,
each function must have an entry in the test case parameter definition.
Value
A list
with names
validity |
a single |
class |
the class name of the provided |
intent |
the stage of the failure, provides hint about the faced issue |
message |
some hints to resolve the issue(s). |
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
See Also
Refer to defineTestCaseDefinitionsParameterName
.
Examples
##---- typical case ----
library('data.table')
source(system.file('code-samples/frt-defs/good/full/AdditionFI.R',
package = 'wyz.code.offensiveProgramming'))
fi <- AdditionFI()
print(verifyFunctionReturnTypesDefinition(fi))
print(verifyFunctionReturnTypesDefinition(fi, FALSE))
[Package wyz.code.offensiveProgramming version 1.1.24 Index]