Changeset 365 for trunk/nom/class_c/nomtestcase.c
- Timestamp:
- Jun 22, 2008, 5:58:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/class_c/nomtestcase.c
r358 r365 83 83 { 84 84 char* methodName=_queryString(_getName(NOMArray_queryObjectAtIdx(methodArray, a, NULL), NULL), NULL); 85 85 86 86 /* Only Methods starting with ËtestË are run. */ 87 if(0 ==strstr( methodName, "test"))87 if(0!=strnstr( methodName, "test", 4)) 88 88 { 89 89 NOMTestResult* nResult=NOMTestResultNew(); … … 98 98 if(NULL!=nProc) 99 99 _setSuccess(nResult, nProc(nomSelf, NULL), NULL); /* TRUE if success */ 100 100 101 101 /* Clean up */ 102 102 _tearDown(nomSelf, NULL); … … 150 150 } 151 151 152 153 154 NOMDLLEXPORT NOM_Scope void NOMLINK impl_NOMTestCase_setClassMgrObject(NOMTestCase* nomSelf, 155 const NOMClassMgr* nomClassMgrObject, 156 CORBA_Environment *ev) 157 { 158 NOMTestCaseData* nomThis = NOMTestCaseGetData(nomSelf); 159 160 _nomClassMgrObject=nomClassMgrObject; 161 162 } 163 164 165 NOMDLLEXPORT NOM_Scope NOMClassMgr* NOMLINK impl_NOMTestCase_queryClassMgrObject(NOMTestCase* nomSelf, 166 CORBA_Environment *ev) 167 { 168 NOMTestCaseData* nomThis = NOMTestCaseGetData(nomSelf); 169 170 return _nomClassMgrObject; 171 }
Note:
See TracChangeset
for help on using the changeset viewer.