diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-11-14 15:08:25 +0100 |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2011-11-15 15:37:29 +0100 |
commit | bc1b724476db3f7d52ad135857b693487644611f (patch) | |
tree | b25c6573d3cd1c56631d2abea8460ff2e7f208ea /src/plugins/cpptools/cpptoolsplugin.h | |
parent | e93d685a9e8637d78dc0f6cceaf1959a8213f9e0 (diff) | |
download | qt-creator-bc1b724476db3f7d52ad135857b693487644611f.tar.gz |
C++: Move codegen test into the CppTools plugin.
Change-Id: I4c70a9dbd5445188c3d202427da96e1c6ff90b63
Reviewed-by: Bill King <bill.king@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.h')
-rw-r--r-- | src/plugins/cpptools/cpptoolsplugin.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h index 9a88e3bb8d..cd0ef75b59 100644 --- a/src/plugins/cpptools/cpptoolsplugin.h +++ b/src/plugins/cpptools/cpptoolsplugin.h @@ -76,6 +76,21 @@ public: private slots: void switchHeaderSource(); +#ifdef WITH_TESTS + // codegen tests + void test_codegen_public_in_empty_class(); + void test_codegen_public_in_nonempty_class(); + void test_codegen_public_before_protected(); + void test_codegen_private_after_protected(); + void test_codegen_protected_in_nonempty_class(); + void test_codegen_protected_between_public_and_private(); + void test_codegen_qtdesigner_integration(); + void test_codegen_definition_empty_class(); + void test_codegen_definition_first_member(); + void test_codegen_definition_last_member(); + void test_codegen_definition_middle_member(); +#endif + private: QString correspondingHeaderOrSourceI(const QString &fileName) const; |