aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/testcases/ike_sa_test.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-04-05 12:10:50 +0000
committerMartin Willi <martin@strongswan.org>2006-04-05 12:10:50 +0000
commit6862128151fb78f63685a8da5575783c426d64a7 (patch)
tree75920a6688ed5654fb917ecccc1e0e469480fd1f /Source/charon/testcases/ike_sa_test.c
parent3dbbbf3e16366b0da33b29bbc1a4ba9a976e43a0 (diff)
downloadstrongswan-6862128151fb78f63685a8da5575783c426d64a7.tar.bz2
strongswan-6862128151fb78f63685a8da5575783c426d64a7.tar.xz
../svn-commit.tmp
Diffstat (limited to 'Source/charon/testcases/ike_sa_test.c')
-rw-r--r--Source/charon/testcases/ike_sa_test.c56
1 files changed, 0 insertions, 56 deletions
diff --git a/Source/charon/testcases/ike_sa_test.c b/Source/charon/testcases/ike_sa_test.c
deleted file mode 100644
index 798b5edc9..000000000
--- a/Source/charon/testcases/ike_sa_test.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * @file ike_sa_test.c
- *
- * @brief Tests for the ike_sa_t class.
- *
- */
-
-/*
- * Copyright (C) 2005 Jan Hutter, Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * for more details.
- */
-
-#include "ike_sa_test.h"
-
-#include <types.h>
-#include <encoding/message.h>
-#include <sa/ike_sa.h>
-
-void test_ike_sa(protected_tester_t *tester)
-{
- ike_sa_t *ike_sa;
- ike_sa_id_t *ike_sa_id;
- u_int64_t initiator, responder;
- bool is_initiator;
-
-
- initiator = 0;
- responder = 34334LL;
- is_initiator = TRUE;
- /* create a ike_sa_id object for the new IKE_SA */
- ike_sa_id = ike_sa_id_create(initiator, responder, is_initiator);
-
- /* empty message and configuration objects are created */
-
-
- /* test every ike_sa function */
- ike_sa = ike_sa_create(ike_sa_id);
-
-/* ike_sa->initialize_connection(ike_sa, NULL);
-
- tester->assert_true(tester,(ike_sa != NULL), "ike_sa pointer check");
-*/
- ike_sa->destroy(ike_sa);
-
- ike_sa_id->destroy(ike_sa_id);
-}