Go to the documentation of this file.00001 #ifndef TEST_ACS_DAEMON_UTILS_H
00002 #define TEST_ACS_DAEMON_UTILS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __cplusplus
00033 #error This is a C++ include file and cannot be used from plain C
00034 #endif
00035
00036 #include <cppunit/TestFixture.h>
00037 #include <cppunit/extensions/HelperMacros.h>
00038 #include "acsDaemonUtils.h"
00039
00040 using namespace std;
00041
00042 class TestAcsDaemonUtils : public CPPUNIT_NS :: TestFixture
00043 {
00044 CPPUNIT_TEST_SUITE (TestAcsDaemonUtils);
00045 CPPUNIT_TEST (testLogDirectory);
00046 CPPUNIT_TEST (testLogDirectoryForPlainContainer);
00047 CPPUNIT_TEST (testLogDirectoryForHierarchicalContainer);
00048 CPPUNIT_TEST (testTimestamp);
00049 CPPUNIT_TEST (testSimpleContainerName);
00050 CPPUNIT_TEST (testWritePermission);
00051 CPPUNIT_TEST (testWritePermissionForContainer);
00052 CPPUNIT_TEST_SUITE_END ();
00053
00054 public:
00055 void setUp (void);
00056 void tearDown (void);
00057
00058 protected:
00059 void testLogDirectory(void);
00060 void testLogDirectoryForPlainContainer(void);
00061 void testLogDirectoryForHierarchicalContainer(void);
00062 void testTimestamp(void);
00063 void testSimpleContainerName(void);
00064 void testWritePermission();
00065 void testWritePermissionForContainer();
00066
00067 private:
00068 AcsDaemonUtils* daemonUtil_mp;
00069
00070 }
00071
00072 #endif
00073 ;