Selaa lähdekoodia

Filenames corrected.

main
offa 7 vuotta sitten
vanhempi
commit
d60701bf91
3 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. +0
    -0
      include/scope_exit.h
  2. +2
    -2
      test/CMakeLists.txt
  3. +1
    -1
      test/ScopeExitTest.cpp

include/scope_guard.h → include/scope_exit.h Näytä tiedosto


+ 2
- 2
test/CMakeLists.txt Näytä tiedosto

endfunction() endfunction()




add_test_suite(ScopeGuardTest)
add_test_suite(ScopeExitTest)
add_test_suite(UniqueResourceTest) add_test_suite(UniqueResourceTest)




add_custom_target(unittest ScopeGuardTest
add_custom_target(unittest ScopeExitTest
COMMAND UniqueResourceTest COMMAND UniqueResourceTest
COMMENT "Running unittests\n\n" COMMENT "Running unittests\n\n"
VERBATIM VERBATIM

test/ScopeGuardTest.cpp → test/ScopeExitTest.cpp Näytä tiedosto

* along with Scope Guard. If not, see <http://www.gnu.org/licenses/>. * along with Scope Guard. If not, see <http://www.gnu.org/licenses/>.
*/ */


#include "scope_guard.h"
#include "scope_exit.h"
#include <catch.hpp> #include <catch.hpp>
#include <trompeloeil.hpp> #include <trompeloeil.hpp>



Loading…
Peruuta
Tallenna