52d7f462400e6f0803d33bb6a4fa41a78a521062
[gssweb.git] / json_gssapi / test / GSSCreateSecContextTest.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 GSSCREATESECCONTEXTTEST_H
9 #define GSSCREATESECCONTEXTTEST_H
10
11 // #include <cppunit/TestFixture.h>
12 #include <cppunit/extensions/HelperMacros.h>
13
14 #include <gssapi.h>
15 #include "GSSCreateSecContextCommand.h"
16
17 #include <stdlib.h>
18
19 class GSSCreateSecContextTest :  public CppUnit::TestFixture
20 {
21   CPPUNIT_TEST_SUITE( GSSCreateSecContextTest );
22   CPPUNIT_TEST( testConstructor );
23   CPPUNIT_TEST( testConstructorWithJSONObject );
24   CPPUNIT_TEST( testEmptyCall );
25   CPPUNIT_TEST( testJSONMarshal );
26   CPPUNIT_TEST_SUITE_END();
27   
28   
29   
30 public:
31   void setUp();
32   void tearDown();
33
34   
35   void testConstructor();
36   void testConstructorWithJSONObject();
37   void testEmptyCall();
38   void testJSONMarshal();
39   
40 private:
41   GSSCreateSecContextCommand command;
42 };
43
44 #endif // GSSCREATESECCONTEXTTEST_H