Ignore:
Timestamp:
Jun 22, 2008, 9:39:01 PM (17 years ago)
Author:
cinc
Message:

Added simple test case for NOMClassMgr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/c/test-nom.c

    r363 r368  
    6969#include "nomtestresult.h"
    7070#include "testnomobject.h"
     71#include "testnomclassmgr.h"
    7172
    7273
     
    243244  NOMArray* nArray;
    244245  TestNomObject* tstNomObject;
     246  TestNOMClassMgr* tstNOMClassMgr;
    245247  int a;
    246248
     
    305307
    306308  nomPrintf("\n");
    307   g_message("Testing NOMObject");
     309  g_message("================================================================");
     310  g_message("=====          Testing NOMObject base class                =====");
     311  g_message("================================================================");
    308312  tstNomObject=TestNomObjectNew();
    309313  _setClassMgrObject(tstNomObject, NOMClassMgrObject, NULL);
     
    311315  nomPrintf("\n");
    312316  printTestResults(nArray);
     317
     318  nomPrintf("\n");
     319  g_message("================================================================");
     320  g_message("=====          Testing NOMClassMgr base class              =====");
     321  g_message("================================================================");
     322  tstNOMClassMgr=TestNOMClassMgrNew();
     323  _setClassMgrObject(tstNOMClassMgr, NOMClassMgrObject, NULL);
     324  nArray=_runTests(tstNOMClassMgr, NULL);
     325  nomPrintf("\n");
     326  printTestResults(nArray);
    313327 
    314328  return 0;
Note: See TracChangeset for help on using the changeset viewer.