2021-10-28 09:01:14 +02:00
|
|
|
/*
|
|
|
|
* boxes - Command line filter to draw/remove ASCII boxes around text
|
2024-02-16 22:01:58 +01:00
|
|
|
* Copyright (c) 1999-2024 Thomas Jensen and the boxes contributors
|
2021-10-28 09:01:14 +02:00
|
|
|
*
|
2022-09-18 14:56:30 +02:00
|
|
|
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
|
|
|
|
* License, version 3, as published by the Free Software Foundation.
|
|
|
|
* 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.
|
|
|
|
* You should have received a copy of the GNU General Public License along with this program.
|
|
|
|
* If not, see <https://www.gnu.org/licenses/>.
|
2021-10-28 09:01:14 +02:00
|
|
|
*
|
2022-09-18 14:56:30 +02:00
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
2021-10-28 09:01:14 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Test fixtures and mocks of global shared state.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GLOBAL_MOCK_H
|
|
|
|
#define GLOBAL_MOCK_H
|
|
|
|
|
|
|
|
|
|
|
|
extern char **collect_out;
|
|
|
|
extern int collect_out_size;
|
|
|
|
|
|
|
|
extern char **collect_err;
|
|
|
|
extern int collect_err_size;
|
|
|
|
|
|
|
|
void collect_reset();
|
|
|
|
|
|
|
|
|
|
|
|
void setup_mocks();
|
|
|
|
void teardown();
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*EOF*/ /* vim: set cindent sw=4: */
|