Rivendellaudio/tests/cmdline_parser_test.h
Fred Gleason 18dd09378b 2020-05-23 Fred Gleason <fredg@paravelsystems.com>
* Added a 'cmdline_parser_test' test harness.
	* Fixed a bug in 'RDCmdSwitch' that caused value-only arguments
	containing '=' characters to be incorrectly parsed.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-05-23 10:02:45 -04:00

36 lines
1.0 KiB
C++

// cmdline_parser_test.h
//
// Test the Rivendell command-line parser routines.
//
// (C) Copyright 2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 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, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#ifndef CMDLINE_PARSER_TEST_H
#define CMDLINE_PARSER_TEST_H
#include <qobject.h>
#define CMDLINE_PARSER_TEST_USAGE "<test-args> ...\n\n"
class MainObject : public QObject
{
public:
MainObject(QObject *parent=0);
};
#endif // CMDLINE_PARSER_TEST_H