104 | | Let us take the '''!SingletonUnitTest''' as an example, located in [source:ThirdParty/CodePatterns/src/Patterns/unittests] that tests correct implementation of the Singleton pattern in [source:ThirdParty/CodePatterns/src/Patterns/Singleton_impl.hpp]. The unit test consists of the following files: |
105 | | * source file with the test implementation, e.g. [source:ThirdParty/CodePatterns/src/Patterns/unittests/SingletonTest.cpp] |
106 | | * header file with the test definition, i.e. the class containing the test and all test functions to call, , e.g. [source:ThirdParty/CodePatterns/src/Patterns/unittests/SingletonTest.hpp] |
| 104 | Let us take the '''!SingletonUnitTest''' as an example, located in [source:ThirdParty/CodePatterns/src/Patterns/unittests] that tests correct implementation of the Singleton pattern in [source:ThirdParty/CodePatterns/src/CodePatterns/Singleton_impl.hpp]. The unit test consists of the following files: |
| 105 | * source file with the test implementation, e.g. [source:ThirdParty/CodePatterns/src/Patterns/unittests/SingletonUnitTest.cpp] |
| 106 | * header file with the test definition, i.e. the class containing the test and all test functions to call, , e.g. [source:ThirdParty/CodePatterns/src/Patterns/unittests/SingletonUnitTest.hpp] |