diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-01-13 10:48:43 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-01-25 08:32:20 -0300 |
commit | e674a8ddbc11e51f3f701e8ab7783aefec8cfeec (patch) | |
tree | 1565cc7b8a5990bdf7a647ed7372d869f152d88a /tests/test_generator/dummygentest.h | |
parent | b5e32ea4f620a0f7e3e2ee6bba741b0f08686312 (diff) |
Added a dummy generator as a source of test cases.
Unit tests were added as well.
Diffstat (limited to 'tests/test_generator/dummygentest.h')
-rw-r--r-- | tests/test_generator/dummygentest.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/test_generator/dummygentest.h b/tests/test_generator/dummygentest.h new file mode 100644 index 000000000..0bfab2a0d --- /dev/null +++ b/tests/test_generator/dummygentest.h @@ -0,0 +1,42 @@ +/* + * This file is part of the PySide project. + * + * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). + * + * Contact: PySide team <contact@pyside.org> + * + * 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., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + +#ifndef DUMMYGENTABLETEST_H +#define DUMMYGENTABLETEST_H + +#include <QObject> + +class DummyGenerator; + +class DummyGenTest : public QObject +{ + Q_OBJECT + +private slots: + void testCallGenRunnerWithFullPathToDummyGenModule(); + void testCallGenRunnerWithNameOfDummyGenModule(); + void testCallDummyGeneratorExecutable(); +}; + +#endif + |