cb1ff520f2a28aeb8ed3ece4a826e0457f4ce9c4
[gssweb.git] / json_gssapi / test / GSSExceptionTest.h
1 /*
2  * Copyright (c) 2014 <copyright holder> <email>
3  * 
4  * For license details, see the LICENSE file in the root of this project.
5  * 
6  */
7
8 #ifndef GSSEXCEPTIONTEST_H
9 #define GSSEXCEPTIONTEST_H
10
11 // #include <cppunit/TestFixture.h>
12 #include <cppunit/extensions/HelperMacros.h>
13
14 #include "GSSException.h"
15
16
17 class GSSExceptionTest :  public CppUnit::TestFixture
18 {
19   CPPUNIT_TEST_SUITE( GSSExceptionTest );
20   CPPUNIT_TEST( testWithMessage );
21   CPPUNIT_TEST( testWithMessageAndMajor );
22   CPPUNIT_TEST( testWithMessageAndMajorAndMinor );
23   CPPUNIT_TEST( testWithMessageAndMajorAndMinorAndMechanism );
24   CPPUNIT_TEST_SUITE_END();
25   
26   
27   
28 public:
29   void setUp();
30   void tearDown();
31
32   
33   void testWithMessage();
34   void testWithMessageAndMajor();
35   void testWithMessageAndMajorAndMinor();
36   void testWithMessageAndMajorAndMinorAndMechanism();
37   
38 };
39
40
41 #endif // GSSEXCEPTIONTEST_H