e2cb910aea9f85f2afa5d20f541ff26eba53634d
[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_SUITE_END();
26   
27   
28   
29 public:
30   void setUp();
31   void tearDown();
32
33   
34   void testConstructor();
35   void testConstructorWithJSONObject();
36   void testEmptyCall();
37   
38 private:
39   GSSCreateSecContextCommand command;
40 };
41
42 #endif // GSSCREATESECCONTEXTTEST_H