generateDiff

Creates a diff of the expected and actual test output.

string
generateDiff
(
const string expected
,,
const string actual
,
const string name
)

Parameters

expected
Type: string

the expected output

expectedFile
Type: string

file containing expected (if present, null otherwise)

actual
Type: string

the actual output

name
Type: string

the test files name

Return Value

Type: string

the comparison created by the diff utility

Meta