< Summary - Igor Pro Universal Testing Framework

Information
Class: procedures.igortest-test-proto
Assembly: procedures
File(s): /builds/mirror/igortest/procedures/igortest-test-proto.ipf
Tag: 74147b3
Line coverage
0%
Covered lines: 0
Uncovered lines: 70
Coverable lines: 70
Total lines: 153
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

File(s)

/builds/mirror/igortest/procedures/igortest-test-proto.ipf

#LineLine coverage
 1#pragma rtGlobals=3
 2#pragma TextEncoding="UTF-8"
 3#pragma rtFunctionErrors=1
 4#pragma version=1.10
 5#pragma ModuleName=IUTF_Test_Proto
 6
 7///@cond HIDDEN_SYMBOL
 8
 9/// Prototype for test cases
 010Function TEST_CASE_PROTO()
 11
 012  string msg
 13
 014  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 015  IUTF_Reporting#ReportErrorAndAbort(msg)
 016End
 17
 18/// Prototypes for multi data test cases
 019Function TEST_CASE_PROTO_MD_VAR([var])
 20  variable var
 21
 022  string msg
 23
 024  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 025  IUTF_Reporting#ReportErrorAndAbort(msg)
 026End
 27
 028Function TEST_CASE_PROTO_MD_STR([str])
 29  string str
 30
 031  string msg
 32
 033  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 034  IUTF_Reporting#ReportErrorAndAbort(msg)
 035End
 36
 037Function TEST_CASE_PROTO_MD_WV([wv])
 38  WAVE wv
 39
 040  string msg
 41
 042  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 043  IUTF_Reporting#ReportErrorAndAbort(msg)
 044End
 45
 046Function TEST_CASE_PROTO_MD_WVTEXT([wv])
 47  WAVE/T wv
 48
 049  string msg
 50
 051  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 052  IUTF_Reporting#ReportErrorAndAbort(msg)
 053End
 54
 055Function TEST_CASE_PROTO_MD_WVDFREF([wv])
 56  WAVE/DF wv
 57
 058  string msg
 59
 060  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 061  IUTF_Reporting#ReportErrorAndAbort(msg)
 062End
 63
 064Function TEST_CASE_PROTO_MD_WVWAVEREF([wv])
 65  WAVE/WAVE wv
 66
 067  string msg
 68
 069  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 070  IUTF_Reporting#ReportErrorAndAbort(msg)
 071End
 72
 073Function TEST_CASE_PROTO_MD_DFR([dfr])
 74  DFREF dfr
 75
 076  string msg
 77
 078  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 079  IUTF_Reporting#ReportErrorAndAbort(msg)
 080End
 81
 082Function TEST_CASE_PROTO_MD_CMPL([cmpl])
 83  variable/C cmpl
 84
 085  string msg
 86
 087  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 088  IUTF_Reporting#ReportErrorAndAbort(msg)
 089End
 90
 91#if (IgorVersion() >= 7.0)
 92
 093Function TEST_CASE_PROTO_MD_INT([int])
 94  int64 int
 95
 096  string msg
 97
 098  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 099  IUTF_Reporting#ReportErrorAndAbort(msg)
 0100End
 101
 102#else
 103
 104Function TEST_CASE_PROTO_MD_INT([int])
 105  variable int
 106
 107  string msg
 108
 109  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 110  IUTF_Reporting#ReportErrorAndAbort(msg)
 111End
 112
 113#endif
 114
 115/// Prototype for multi data test cases data generator
 0116Function/WAVE TEST_CASE_PROTO_DGEN()
 117
 0118  string msg
 119
 0120  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 0121  IUTF_Reporting#ReportErrorAndAbort(msg)
 0122End
 123
 124/// Prototype for run functions in autorun mode
 0125Function AUTORUN_MODE_PROTO()
 126
 0127  string msg
 128
 0129  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 0130  IUTF_Reporting#ReportErrorAndAbort(msg)
 0131End
 132
 133/// Prototype for hook functions
 0134Function USER_HOOK_PROTO(str)
 135  string str
 136
 0137  string msg
 138
 0139  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 0140  IUTF_Reporting#ReportErrorAndAbort(msg)
 0141End
 142
 143/// Prototype for multi multi data test case functions
 0144Function TEST_CASE_PROTO_MD([md])
 145  STRUCT IUTF_mData &md
 146
 0147  string msg
 148
 0149  sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1)
 0150  IUTF_Reporting#ReportErrorAndAbort(msg)
 0151End
 152
 153///@endcond // HIDDEN_SYMBOL