| | 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 |
| 0 | 10 | | Function TEST_CASE_PROTO() |
| | 11 | |
|
| 0 | 12 | | string msg |
| | 13 | |
|
| 0 | 14 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 15 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 16 | | End |
| | 17 | |
|
| | 18 | | /// Prototypes for multi data test cases |
| 0 | 19 | | Function TEST_CASE_PROTO_MD_VAR([var]) |
| | 20 | | variable var |
| | 21 | |
|
| 0 | 22 | | string msg |
| | 23 | |
|
| 0 | 24 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 25 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 26 | | End |
| | 27 | |
|
| 0 | 28 | | Function TEST_CASE_PROTO_MD_STR([str]) |
| | 29 | | string str |
| | 30 | |
|
| 0 | 31 | | string msg |
| | 32 | |
|
| 0 | 33 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 34 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 35 | | End |
| | 36 | |
|
| 0 | 37 | | Function TEST_CASE_PROTO_MD_WV([wv]) |
| | 38 | | WAVE wv |
| | 39 | |
|
| 0 | 40 | | string msg |
| | 41 | |
|
| 0 | 42 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 43 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 44 | | End |
| | 45 | |
|
| 0 | 46 | | Function TEST_CASE_PROTO_MD_WVTEXT([wv]) |
| | 47 | | WAVE/T wv |
| | 48 | |
|
| 0 | 49 | | string msg |
| | 50 | |
|
| 0 | 51 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 52 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 53 | | End |
| | 54 | |
|
| 0 | 55 | | Function TEST_CASE_PROTO_MD_WVDFREF([wv]) |
| | 56 | | WAVE/DF wv |
| | 57 | |
|
| 0 | 58 | | string msg |
| | 59 | |
|
| 0 | 60 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 61 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 62 | | End |
| | 63 | |
|
| 0 | 64 | | Function TEST_CASE_PROTO_MD_WVWAVEREF([wv]) |
| | 65 | | WAVE/WAVE wv |
| | 66 | |
|
| 0 | 67 | | string msg |
| | 68 | |
|
| 0 | 69 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 70 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 71 | | End |
| | 72 | |
|
| 0 | 73 | | Function TEST_CASE_PROTO_MD_DFR([dfr]) |
| | 74 | | DFREF dfr |
| | 75 | |
|
| 0 | 76 | | string msg |
| | 77 | |
|
| 0 | 78 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 79 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 80 | | End |
| | 81 | |
|
| 0 | 82 | | Function TEST_CASE_PROTO_MD_CMPL([cmpl]) |
| | 83 | | variable/C cmpl |
| | 84 | |
|
| 0 | 85 | | string msg |
| | 86 | |
|
| 0 | 87 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 88 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 89 | | End |
| | 90 | |
|
| | 91 | | #if (IgorVersion() >= 7.0) |
| | 92 | |
|
| 0 | 93 | | Function TEST_CASE_PROTO_MD_INT([int]) |
| | 94 | | int64 int |
| | 95 | |
|
| 0 | 96 | | string msg |
| | 97 | |
|
| 0 | 98 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 99 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 100 | | End |
| | 101 | |
|
| | 102 | | #else |
| | 103 | |
|
| | 104 | | Function 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) |
| | 111 | | End |
| | 112 | |
|
| | 113 | | #endif |
| | 114 | |
|
| | 115 | | /// Prototype for multi data test cases data generator |
| 0 | 116 | | Function/WAVE TEST_CASE_PROTO_DGEN() |
| | 117 | |
|
| 0 | 118 | | string msg |
| | 119 | |
|
| 0 | 120 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 121 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 122 | | End |
| | 123 | |
|
| | 124 | | /// Prototype for run functions in autorun mode |
| 0 | 125 | | Function AUTORUN_MODE_PROTO() |
| | 126 | |
|
| 0 | 127 | | string msg |
| | 128 | |
|
| 0 | 129 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 130 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 131 | | End |
| | 132 | |
|
| | 133 | | /// Prototype for hook functions |
| 0 | 134 | | Function USER_HOOK_PROTO(str) |
| | 135 | | string str |
| | 136 | |
|
| 0 | 137 | | string msg |
| | 138 | |
|
| 0 | 139 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 140 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 141 | | End |
| | 142 | |
|
| | 143 | | /// Prototype for multi multi data test case functions |
| 0 | 144 | | Function TEST_CASE_PROTO_MD([md]) |
| | 145 | | STRUCT IUTF_mData &md |
| | 146 | |
|
| 0 | 147 | | string msg |
| | 148 | |
|
| 0 | 149 | | sprintf msg, "Error: Prototype function %s was called.", GetRTStackInfo(1) |
| 0 | 150 | | IUTF_Reporting#ReportErrorAndAbort(msg) |
| 0 | 151 | | End |
| | 152 | |
|
| | 153 | | ///@endcond // HIDDEN_SYMBOL |