/[ascend]/branches/shaun/test/printutil.h
ViewVC logotype

Contents of /branches/shaun/test/printutil.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2826 - (show annotations) (download) (as text)
Tue Feb 17 07:01:12 2015 UTC (7 years, 7 months ago) by jpye
File MIME type: text/x-chdr
File size: 1490 byte(s)
restoring branches from non-svn backups.

john@thunder:~/ownCloud/ascend-branches/ascend-shaun$ svn info
Path: .
URL: svn://ascend4.org/code/branches/shaun
Repository Root: svn://ascend4.org
Repository UUID: 0a874cea-61e7-0310-9e8b-9977c6048898
Revision: 4338
Node Kind: directory
Schedule: normal
Last Changed Author: shaun
Last Changed Rev: 4338
Last Changed Date: 2012-08-24 02:06:53 +1000 (Fri, 24 Aug 2012)


1 /* ASCEND modelling environment
2 Copyright (C) 2005 Jerry St.Clair
3 Copyright (C) 2006 Carnegie Mellon University
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19 *//**
20 @file
21 Print support utilities for ASCEND unit tests
22
23 These functions provide support for managing a print vtable
24 for use during unit testing.
25 */
26
27 #ifndef PRINTUTIL_H_SEEN
28 #define PRINTUTIL_H_SEEN
29
30 /**
31 * Enables printing of ASCEND messages to the console.
32 * @return Returns 1 if an error occurs, 0 otherwise.
33 */
34 int test_enable_printing(void);
35
36 /**
37 * Disables printing of ASCEND messages to the console.
38 */
39 void test_disable_printing(void);
40
41 /**
42 * Queries whether printing to the console is enabled.
43 * @return Returns TRUE if printing is enabled, FALSE otherwise.
44 */
45 int test_printing_enabled(void);
46
47 #endif /* PRINTUTIL_H_SEEN */

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22