diff options
| author | Christoph Schlosser <christoph@linux.com> | 2018-07-06 19:49:02 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2018-07-06 19:49:02 +0200 |
| commit | d438622d71b94789b7ccc672cdd9d81f77570f87 (patch) | |
| tree | 01e6fe9624ffb94a5e9427c7e016311c4e0caa2b /src/test/CppTests/FunctionPointer.test.ts | |
| parent | fc8b744aac786e416e6663490f2efbf40b016964 (diff) | |
| download | doxdocgen-d438622d71b94789b7ccc672cdd9d81f77570f87.tar.gz | |
Update unit tests
Remove seperate file.
Move into parameters test.
Add new one to function pointers.
Diffstat (limited to 'src/test/CppTests/FunctionPointer.test.ts')
| -rw-r--r-- | src/test/CppTests/FunctionPointer.test.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/CppTests/FunctionPointer.test.ts b/src/test/CppTests/FunctionPointer.test.ts index a353380..7a4383c 100644 --- a/src/test/CppTests/FunctionPointer.test.ts +++ b/src/test/CppTests/FunctionPointer.test.ts @@ -39,4 +39,9 @@ suite("C++ - Function pointer Tests", () => { assert.equal("/**\n * @brief \n * \n * @param puts \n * @param str " + "\n * @return const struct foo(*)(const char*) \n */", result); }); + + test("Memberpointer in function pointer", () => { + const result = testSetup.SetLine("void foo(void (SomeClass::* func)());").GetResult(); + assert.equal("/**\n * @brief \n * \n * @param func \n */", result); + }); }); |