diff options
author | Miklos Marton <martonmiklosqdev@gmail.com> | 2020-05-08 18:06:26 +0200 |
---|---|---|
committer | Miklós Márton <martonmiklosqdev@gmail.com> | 2020-08-21 06:50:42 +0000 |
commit | 3299239095e4eff5b94604841491712a2fbf78ca (patch) | |
tree | d9eccbea6ed0cff76f8f0928d70d9625ab0379be /tests/cppmodelmanager | |
parent | 795ccfbffca2f338a3c9918b8d339848f16b2f3c (diff) |
C++ Refactoring: Fix the include macros in header files after renaming
Fixes: QTCREATORBUG-4686
Change-Id: If22078bb183910941d8e2a94b0e8629baa2fa8de
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/cppmodelmanager')
-rw-r--r-- | tests/cppmodelmanager/testdata_project1/baz.h | 10 | ||||
-rw-r--r-- | tests/cppmodelmanager/testdata_project1/baz2.h | 10 | ||||
-rw-r--r-- | tests/cppmodelmanager/testdata_project1/baz3.h | 14 | ||||
-rw-r--r-- | tests/cppmodelmanager/testdata_project2/foobar2000.h | 10 | ||||
-rw-r--r-- | tests/cppmodelmanager/testdata_project2/foobar4000.h | 10 |
5 files changed, 54 insertions, 0 deletions
diff --git a/tests/cppmodelmanager/testdata_project1/baz.h b/tests/cppmodelmanager/testdata_project1/baz.h new file mode 100644 index 00000000000..9ddc881e140 --- /dev/null +++ b/tests/cppmodelmanager/testdata_project1/baz.h @@ -0,0 +1,10 @@ +#ifndef BAZ_H +#define BAZ_H + +class Baz { +public: + Baz() {} +}; + +#endif // BAZ_H + diff --git a/tests/cppmodelmanager/testdata_project1/baz2.h b/tests/cppmodelmanager/testdata_project1/baz2.h new file mode 100644 index 00000000000..9f3e0cb3be7 --- /dev/null +++ b/tests/cppmodelmanager/testdata_project1/baz2.h @@ -0,0 +1,10 @@ +#ifndef __BAZ2_H__ +#define __BAZ2_H__ + +class Baz { +public: + Baz() {} +}; + +#endif /* __BAZ2_H__ */ + diff --git a/tests/cppmodelmanager/testdata_project1/baz3.h b/tests/cppmodelmanager/testdata_project1/baz3.h new file mode 100644 index 00000000000..f32c7010ad6 --- /dev/null +++ b/tests/cppmodelmanager/testdata_project1/baz3.h @@ -0,0 +1,14 @@ +#ifndef BAZ2_H +#define __BAZ2_H + +/* + * This is a test file with a malformed include guard + * to test that the renaming does not touch the guard in similar cases at all. + */ +class Baz { +public: + Baz() {} +}; + +#endif /* __BAZ2_H */ + diff --git a/tests/cppmodelmanager/testdata_project2/foobar2000.h b/tests/cppmodelmanager/testdata_project2/foobar2000.h new file mode 100644 index 00000000000..39ca9457b64 --- /dev/null +++ b/tests/cppmodelmanager/testdata_project2/foobar2000.h @@ -0,0 +1,10 @@ +#ifndef FOOBAR2000_H +#define FOOBAR2000_H + +class Baz { +public: + Baz() {} +}; + +#endif // FOOBAR2000_H + diff --git a/tests/cppmodelmanager/testdata_project2/foobar4000.h b/tests/cppmodelmanager/testdata_project2/foobar4000.h new file mode 100644 index 00000000000..373ab576ff1 --- /dev/null +++ b/tests/cppmodelmanager/testdata_project2/foobar4000.h @@ -0,0 +1,10 @@ +#ifndef __FOOBAR4000_H__ +#define __FOOBAR4000_H__ + +class Baz { +public: + Baz() {} +}; + +#endif /* __FOOBAR4000_H__ */ + |