2 * Copyright (c) 2014 Painless Security LLC
4 * For license details, see the LICENSE file in the root of this project.
6 * GSSImportNameTest.h - Test the GSSImportName object.
9 * Testing basic object creation
10 * testConstructorWithJSONObject -
11 * Test object creation with a set of arguments
13 * Basic test of the system, with an empty call to
14 * a mocked out gss_import_name function, to test
15 * whether the object passes and records arguments
18 * test the JSON serialization of the object
21 #ifndef GSSIMPORTNAMETEST_H
22 #define GSSIMPORTNAMETEST_H
24 // #include <cppunit/TestFixture.h>
25 #include <cppunit/extensions/HelperMacros.h>
28 #include "GSSInitSecContext.h"
32 class GSSImportNameTest : public CppUnit::TestFixture
34 CPPUNIT_TEST_SUITE( GSSImportNameTest );
35 CPPUNIT_TEST( testConstructor );
36 CPPUNIT_TEST( testConstructorWithJSONObject );
37 CPPUNIT_TEST( testEmptyCall );
38 CPPUNIT_TEST( testJSONMarshal );
39 CPPUNIT_TEST_SUITE_END();
48 void testConstructor();
49 void testConstructorWithJSONObject();
51 void testJSONMarshal();
54 #endif // GSSIMPORTNAMETEST_H