BEFORE · TestCase.lvclass:run.vi
AFTER · TestCase.lvclass:run.vi
◄
►
?
Equal?
Inputs:
y: TestResult.lvclass
x: TestResult.lvclass
Outputs:
equal: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/equal.html
=
◄
►
?
?
TestResult.lvclass:defaultTestResult.vi
Inputs:
error in (no error): Error
resultStatusChangedEventRef: UserEvent Refnum
TestCase in: TestCase.lvclass
Outputs:
error out: Error
TestResult: TestResult.lvclass
TestCase out: TestCase.lvclass
?
False
True
◄
►
?
◄
►
?
◄
►
?
Always run tearDown() if
setUp() passed
TestResult.lvclass:addError.vi
Inputs:
execution time (sec): DBL
error in (no error): Error
test error: Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
Compound Arithmetic
Inputs:
terminal 1: Boolean
terminal 2: Boolean
terminal 3: Boolean
terminal 4: Boolean
Outputs:
terminal 0: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/compound-arithmetic.html
∧
Not
Inputs:
x: Boolean
Outputs:
not_x: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/not.html
¬
Not
Inputs:
x: Boolean
Outputs:
not_x: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/not.html
¬
◄
►
?
?
TestResult.lvclass:addSuccess.vi
Inputs:
execution time (sec): DBL
error in (no error): Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
?
False
True
no error
no error
TestCase.lvclass:CallTestMethod.vi
Inputs:
error in: Error
method: Enum
TestCase in: TestCase.lvclass
Outputs:
error out: Error
execution time (sec): DBL
Test Method Error: Error
TestCase out: TestCase.lvclass
tearDown error
testMethod error
Not
Inputs:
x: Boolean
Outputs:
not_x: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/not.html
¬
no error
Not
Inputs:
x: Boolean
Outputs:
not_x: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/not.html
¬
not skipped
Clear All Errors__jki_lib_error_handling -- VI Tester.vi
Clears all errors by outputting an empty error (no error), regardless of whether error in has an error.
Inputs:
error in: Error
Outputs:
no error out: Error
Is an Error (error cluster)__jki_lib_error_handling -- VI Tester.vi
Inputs:
error in: Error
Outputs:
error?: Boolean
Is an Error (error cluster)__jki_lib_error_handling -- VI Tester.vi
Inputs:
error in: Error
Outputs:
error?: Boolean
Is an Error (error cluster)__jki_lib_error_handling -- VI Tester.vi
Inputs:
error in: Error
Outputs:
error?: Boolean
◄
►
?
TestResult.lvclass:addFailure.vi
Inputs:
execution time (sec): DBL
error in (no error): Error
test error: Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
TestResult.lvclass:addError.vi
Inputs:
execution time (sec): DBL
error in (no error): Error
test error: Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
update test results
TestCase.lvclass:CallTestMethod.vi
Inputs:
error in: Error
method: Enum
TestCase in: TestCase.lvclass
Outputs:
error out: Error
execution time (sec): DBL
Test Method Error: Error
TestCase out: TestCase.lvclass
◄
►
?
?
TestResult.lvclass:addSkipped.vi
Inputs:
error in (no error): Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
?
False
True
NOT SKIPPED (in setUp) - Run testMethod
Unbundle By Name
Inputs:
input cluster: TestCase.lvclass
Outputs:
isSkipped: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/unbundle-by-name.html
isSkipped
skipped inside testMethod?
testMethod
?
TestResult.lvclass:addSkipped.vi
Inputs:
error in (no error): Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
SKIPPED in setUp -- add a SKIP to testResult
Execution time = 0
0
?
False
True
Unbundle By Name
Inputs:
input cluster: TestCase.lvclass
Outputs:
isSkipped: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/unbundle-by-name.html
isSkipped
tearDown
?
TestResult.lvclass:addError.vi
Inputs:
execution time (sec): DBL
error in (no error): Error
test error: Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
Setup Failed: Add Error
?
No Error
Error
call unit test: setUp(), test method VI, and tearDown()
TestCase.lvclass:CallTestMethod.vi
Inputs:
error in: Error
method: Enum
TestCase in: TestCase.lvclass
Outputs:
error out: Error
execution time (sec): DBL
Test Method Error: Error
TestCase out: TestCase.lvclass
setUp error
Clear All Errors__jki_lib_error_handling -- VI Tester.vi
Clears all errors by outputting an empty error (no error), regardless of whether error in has an error.
Inputs:
error in: Error
Outputs:
no error out: Error
◄
►
?
?
TestCase.lvclass:globalSetUp.vi
Inputs:
error in (no error): Error
TestCase in: TestCase.lvclass
Outputs:
error out: Error
TestCase out: TestCase.lvclass
?
False
True
Unbundle By Name
Inputs:
input cluster: TestCase.lvclass
Outputs:
isSkipped: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/unbundle-by-name.html
isSkipped
setUp
?
?
No Error
Error
?
TestResult.lvclass:addSkipped.vi
Inputs:
error in (no error): Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
skip test
?
False
True
TestResult.lvclass:startTest.vi
Inputs:
error in (no error): Error
test: LabVIEW Object
TestTestResult in: TestResult.lvclass
Outputs:
error out: Error
TestTestResult out: TestResult.lvclass
◄
►
?
?
TestCase.lvclass:openMethodViReference.vi
Inputs:
error in (no error): Error
TestCase in: TestCase.lvclass
Outputs:
error out: Error
TestCase out: TestCase.lvclass
?
"TestCase.lvcla…
Default
VITesterUtilities.lvlib:Get LVClass Name from TD.vi
Inputs:
error in: Error
Variant: Variant
Outputs:
error out: Error
LVClass Name: String
open test refnum if not a 'TestCase' shell object:
open method prior to creating result so that result can use method reference
TestCase.lvclass:closeMethodViReference.vi
Inputs:
error in (no error): Error
TestCase in: TestCase.lvclass
Outputs:
error out: Error
TestCase in: TestCase.lvclass
close test VI
◄
►
?
?
TestCase.lvclass:globalTearDown.vi
Inputs:
error in (no error): Error
TestCase in: TestCase.lvclass
Outputs:
error out: Error
TestCase out: TestCase.lvclass
?
False
True
Unbundle By Name
Inputs:
input cluster: TestCase.lvclass
Outputs:
isSkipped: Boolean
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/unbundle-by-name.html
isSkipped
TestResult.lvclas
s
?
?
No Error
Error
JKI VI Tester for LabVIEW
http://jkisoft.com/vi-tester
Copyright (C) 2007-2009, JKI <info@jkisoft.com>
ALL RIGHTS RESERVED
error in (no error)
err
error out
err
TestCase in
Class
TestCase out
Class
TestResult in (None: Create New)
Class
TestResult out
Class
RunGlobalSetup
TF
RunGlobalTearDown
TF
TestResult.lvclass:addError.vi
DBL
execution time (sec)
Error
error in (no error)
Error
test error
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
TestCase.lvclass:CallTestMethod.vi
Error
error in
Enum
method
TestCase.lvclass
TestCase in
error out
Error
execution time (sec)
DBL
Test Method Error
Error
TestCase out
TestCase.lvclass
TestResult.lvclass:defaultTestResult.vi
Error
error in (no error)
UserEvent Refnum
resultStatusChange…
TestCase.lvclass
TestCase in
error out
Error
TestResult
TestResult.lvclass
TestCase out
TestCase.lvclass
TestCase.lvclass:closeMethodViReference.vi
Error
error in (no error)
TestCase.lvclass
TestCase in
error out
Error
TestCase in
TestCase.lvclass
TestResult.lvclass:addFailure.vi
DBL
execution time (sec)
Error
error in (no error)
Error
test error
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
Equal?
=
TestResult.lvclass
y
TestResult.lvclass
x
equal
Boolean
TestResult.lvclass:addError.vi
DBL
execution time (sec)
Error
error in (no error)
Error
test error
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
TestCase.lvclass:CallTestMethod.vi
Error
error in
Enum
method
TestCase.lvclass
TestCase in
error out
Error
execution time (sec)
DBL
Test Method Error
Error
TestCase out
TestCase.lvclass
TestCase.lvclass:globalSetUp.vi
Error
error in (no error)
TestCase.lvclass
TestCase in
error out
Error
TestCase out
TestCase.lvclass
TestResult.lvclass:addSkipped.vi
Error
error in (no error)
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
TestCase.lvclass:CallTestMethod.vi
Error
error in
Enum
method
TestCase.lvclass
TestCase in
error out
Error
execution time (sec)
DBL
Test Method Error
Error
TestCase out
TestCase.lvclass
Unbundle By Name
isSkipped
TestCase.lvclass
input cluster
isSkipped
Boolean
Not
¬
Boolean
x
not_x
Boolean
TestResult.lvclass:addError.vi
DBL
execution time (sec)
Error
error in (no error)
Error
test error
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
TestCase.lvclass:globalTearDown.vi
Error
error in (no error)
TestCase.lvclass
TestCase in
error out
Error
TestCase out
TestCase.lvclass
TestResult.lvclass:addSuccess.vi
DBL
execution time (sec)
Error
error in (no error)
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
Clear All Errors__jki_lib_error_handling -- VI Teste…
Clears all errors by outputting an empty error (no error),
regardless of whether error in has an error.
Error
error in
no error out
Error
Compound Arithmetic
∧
Boolean
terminal 1
Boolean
terminal 2
Boolean
terminal 3
Boolean
terminal 4
terminal 0
Boolean
TestResult.lvclass:addSkipped.vi
Error
error in (no error)
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
Not
¬
Boolean
x
not_x
Boolean
TestResult.lvclass:startTest.vi
Error
error in (no error)
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
Clear All Errors__jki_lib_error_handling -- VI Teste…
Clears all errors by outputting an empty error (no error),
regardless of whether error in has an error.
Error
error in
no error out
Error
Not
¬
Boolean
x
not_x
Boolean
Is an Error (error cluster)__jki_lib_error_handling …
Error
error in
error?
Boolean
Is an Error (error cluster)__jki_lib_error_handling …
Error
error in
error?
Boolean
Not
¬
Boolean
x
not_x
Boolean
Is an Error (error cluster)__jki_lib_error_handling …
Error
error in
error?
Boolean
TestCase.lvclass:openMethodViReference.vi
Error
error in (no error)
TestCase.lvclass
TestCase in
error out
Error
TestCase out
TestCase.lvclass
VITesterUtilities.lvlib:Get LVClass Name from TD.vi
Error
error in
Variant
Variant
error out
Error
LVClass Name
String
Unbundle By Name
isSkipped
TestCase.lvclass
input cluster
isSkipped
Boolean
TestResult.lvclass:addSkipped.vi
Error
error in (no error)
LabVIEW Object
test
TestResult.lvclass
TestTestResult in
error out
Error
TestTestResult out
TestResult.lvclass
Unbundle By Name
isSkipped
TestCase.lvclass
input cluster
isSkipped
Boolean
Unbundle By Name
isSkipped
TestCase.lvclass
input cluster
isSkipped
Boolean
run.vierror out : Error (connected, output, idx 0)TestResult out : TestResult.lvclass (required, output, idx 2)TestCase out : TestCase.lvclass (required, output, idx 3)RunGlobalTearDown : Boolean (connected, input, idx 5)RunGlobalSetup : Boolean (connected, input, idx 7)error in (no error) : Error (recommended, input, idx 8)TestResult in (None: Create New) : TestResult.lvclass (recommended, input, idx 10)TestCase in : TestCase.lvclass (recommended, input, idx 11)TestCase inTestCase.lvclassTestResult in (None: Create New)TestResult.lvclasserror in (no error)ErrorRunGlobalTearDownBooleanRunGlobalSetupBooleanTestCase outTestCase.lvclassTestResult outTestResult.lvclasserror outError