text: /*********************************************************************************
   *   Copyright (c) 2008-2017 Andy Kirkham  All rights reserved.
   *
   *   Permission is hereby granted, free of charge, to any person obtaining a copy
   *   of this software and associated documentation files (the "Software"),
   *   to deal in the Software without restriction, including without limitation
   *   the rights to use, copy, modify, merge, publish, distribute, sublicense,
   *   and/or sell copies of the Software, and to permit persons to whom
   *   the Software is furnished to do so, subject to the following conditions:
   *
   *   The above copyright notice and this permission notice shall be included
   *   in all copies or substantial portions of the Software.
   *
   *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   *   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   *   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
   *   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   *   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
   *   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
   *   IN THE SOFTWARE.
   ***********************************************************************************/
  
  #include <check.h>
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
  
  #include "utils/ssl_context.h"
  
  ssl_context_pt p_context_ut;
  
  void setup(void)
  {
  	// Create SSL Context object to test.
  	p_context_ut = ssl_context_ctor();
  }
  
  void teardown(void)
  {
  	// Clean up after test.
  	ssl_context_free(p_context_ut);
  }
  
  START_TEST(test_check_ssl_context)
  {
  	// ToDo
  	ck_assert(1);
  }
  END_TEST
  
  Suite *suite()
  {
  	Suite *s;
  	TCase *tc_core;
  
  	s = suite_create("SSL_CONTEXT");
  
  	tc_core = tcase_create("Core");
  	tcase_add_checked_fixture(tc_core, setup, teardown);
  	tcase_add_test(tc_core, test_check_ssl_context);
  	suite_add_tcase(s, tc_core);
  
  	return s;
  }
  
  int 
  main(void)
  {
  	int number_failed;
  	Suite *s;
  	SRunner *sr;
  	s = suite();
  	sr = srunner_create(s);
  	srunner_set_log (sr, "ssl_context.log");
  	srunner_run_all(sr, CK_NORMAL);
  	number_failed = srunner_ntests_failed(sr);
  	srunner_free(sr);
  	return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
  }
  
  