| 1 |
/* |
/* ASCEND modelling environment |
| 2 |
* Print support utilities for ASCEND unit tests |
Copyright (C) 2005 Jerry St.Clair |
| 3 |
* |
Copyright (C) 2006 Carnegie Mellon University |
|
* Copyright (C) 2005 Jerry St.Clair |
|
|
* |
|
|
* This file is part of the Ascend Environment. |
|
|
* |
|
|
* The Ascend Environment 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. |
|
|
* |
|
|
* The Ascend Environment is distributed in 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. |
|
|
* |
|
|
* You should have received a copy of the GNU General Public License |
|
|
* along with the program; if not, write to the Free Software Foundation, |
|
|
* Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named |
|
|
* COPYING. |
|
|
*/ |
|
| 4 |
|
|
| 5 |
/** @file |
This program is free software; you can redistribute it and/or modify |
| 6 |
* Print support utilities for ASCEND unit tests. |
it under the terms of the GNU General Public License as published by |
| 7 |
* These functions provide support for managing a print vtable |
the Free Software Foundation; either version 2, or (at your option) |
| 8 |
* for use during unit testing. |
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 |
#ifndef PRINTUTIL_H_SEEN |
| 28 |
#define PRINTUTIL_H_SEEN |
#define PRINTUTIL_H_SEEN |
| 29 |
|
|
| 30 |
/** |
/** |
| 31 |
* Enables printing of ASCEND messages to the console. |
* Enables printing of ASCEND messages to the console. |
| 32 |
* @return Returns 1 if an error occurs, 0 otherwise. |
* @return Returns 1 if an error occurs, 0 otherwise. |
| 33 |
*/ |
*/ |