Changeset 818 in dev for branches/egtra/ab5.0/abdev/ab-test/ab-test.cpp
- Timestamp:
- Mar 20, 2011, 3:12:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/ab-test/ab-test.cpp
r793 r818 1 1 #include "stdafx.h" 2 2 3 #include <cstdint>4 #include <cstring>5 6 3 #include <GdiPlus.h> 7 8 #define BOOST_TEST_MAIN9 10 #include <boost/test/unit_test.hpp>11 4 12 5 #include <boost/preprocessor/cat.hpp> … … 19 12 20 13 namespace abres = ActiveBasic::Resource; 14 15 using boost::implicit_cast; 21 16 22 17 struct HModuleDeleter … … 102 97 103 98 UniqueHModule hmodRes(::LoadLibraryExW((systemDir / name).wstring().c_str(), nullptr, LOAD_LIBRARY_AS_DATAFILE)); 104 BOOST_ CHECK(hmodRes != nullptr);99 BOOST_REQUIRE_NE(hmodRes.get(), implicit_cast<HMODULE>(nullptr)); 105 100 return hmodRes; 106 101 }
Note:
See TracChangeset
for help on using the changeset viewer.