1
/* $Id: test_ncbi_memory_connector.c,v 6.4 2002/12/04 16:58:49 lavr Exp $
2
* ===========================================================================
5
* National Center for Biotechnology Information
7
* This software/database is a "United States Government Work" under the
8
* terms of the United States Copyright Act. It was written as part of
9
* the author's official duties as a United States Government employee and
10
* thus cannot be copyrighted. This software/database is freely available
11
* to the public for use. The National Library of Medicine and the U.S.
12
* Government have not placed any restriction on its use or reproduction.
14
* Although all reasonable efforts have been taken to ensure the accuracy
15
* and reliability of the software and data, the NLM and the U.S.
16
* Government do not and cannot warrant the performance or results that
17
* may be obtained by using this software or data. The NLM and the U.S.
18
* Government disclaim all warranties, express or implied, including
19
* warranties of performance, merchantability or fitness for any particular
22
* Please cite the author in any work or product based on this material.
24
* ===========================================================================
26
* Author: Anton Lavrentiev
29
* Standard test for the MEMORY CONNECTOR
33
#include "ncbi_conntest.h"
34
#include <connect/ncbi_memory_connector.h>
35
#include <connect/ncbi_util.h>
36
/* This header must go last */
37
#include "test_assert.h"
42
static STimeout timeout/* = 0 */;
46
/* Log and data-log streams */
47
CORE_SetLOGFILE(stderr, 0/*false*/);
48
data_file = fopen("test_ncbi_memory_connector.log", "wb");
52
connector = MEMORY_CreateConnector(0);
53
CONN_TestConnector(connector, &timeout, data_file, fTC_SingleBounceCheck);
55
connector = MEMORY_CreateConnector(0);
56
CONN_TestConnector(connector, &timeout, data_file, fTC_Everything);
58
/* Cleanup and Exit */
66
* --------------------------------------------------------------------------
67
* $Log: test_ncbi_memory_connector.c,v $
68
* Revision 6.4 2002/12/04 16:58:49 lavr
69
* Move change log to end
71
* Revision 6.3 2002/03/22 19:47:31 lavr
72
* Test_assert.h made last among the include files
74
* Revision 6.2 2002/02/20 20:53:48 lavr
75
* Use xconntest to perform standard tests
77
* Revision 6.1 2002/02/20 19:14:40 lavr
80
* ==========================================================================