boxes/utest/global_mock.h
2024-02-16 22:01:58 +01:00

40 lines
1.2 KiB
C

/*
* boxes - Command line filter to draw/remove ASCII boxes around text
* Copyright (c) 1999-2024 Thomas Jensen and the boxes contributors
*
* 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/>.
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
/*
* 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: */