IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2008, 10:45:23 AM (18 years ago)
Author:
gusciora
Message:

Significant changes and additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/objects/tap_pmModelClass.c

    r15726 r15985  
    55#include "tap.h"
    66#include "pstap.h"
     7/* STATUS:
     8    All functions are tested except pmModelClassCleanup() which is deferred
     9    because there's no way to test that it frees a static variable, except
     10    throug hthe memory leak tests
     11*/
     12
    713#define MISC_NUM                32
    814#define MISC_NAME              "META00"
     
    4147    psLogSetLevel(PS_LOG_INFO);
    4248    psTraceSetLevel("err", ERR_TRACE_LEVEL);
    43     plan_tests(1);
     49    plan_tests(37);
    4450
    4551    // ----------------------------------------------------------------------
     
    5662
    5763    // ----------------------------------------------------------------------
    58     // Test pmModelClassCleanup()
     64    // Test pmModelClassCleanup(), pmModelClassSelect()
    5965    // Basically, call pmModelClassInit(), then pmModelClassCleanup(), and ensure that
    6066    // various default models are not there.
    61     {
     67    // XXX: We don't run this test because the spec changed and pmModelClassSelect() now calls
     68    // pmModelClassInit().
     69    if (0) {
    6270        psMemId id = psMemGetId();
    6371        pmModelClassInit();
Note: See TracChangeset for help on using the changeset viewer.