summaryrefslogtreecommitdiff
path: root/cesar/maximus/utils/src/LoggerTest.cpp
blob: 43d72a9b6ead431775ab1d284a81d7ac28f56742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "LoggerTest.h"

#include "Logger.h"

#include <iostream> // for 'cout', 'cerr' and 'clog'
using namespace std;

CPPUNIT_TEST_SUITE_REGISTRATION (LoggerTest);


void LoggerTest::setUp (void)
{
  mpLogger = new Logger ();
}


void LoggerTest::tearDown (void) 
{
  if (NULL != mpLogger)
  {
  	delete (mpLogger);
    mpLogger = NULL;
  }
}


void LoggerTest::simpleTest (void)
{
  if (NULL != mpLogger)
  {
    // ... 
  }
  else
  {
    CPPUNIT_FAIL ("Logger pointer is NULL");
  }
}