Ignore:
Timestamp:
Mar 20, 2011, 3:12:17 AM (13 years ago)
Author:
イグトランス (egtra)
Message:

Jenga/common/String.hに対するテストを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/ab-test/ab-test.cpp

    r793 r818  
    11#include "stdafx.h"
    22
    3 #include <cstdint>
    4 #include <cstring>
    5 
    63#include <GdiPlus.h>
    7 
    8 #define BOOST_TEST_MAIN
    9 
    10 #include <boost/test/unit_test.hpp>
    114
    125#include <boost/preprocessor/cat.hpp>
     
    1912
    2013namespace abres = ActiveBasic::Resource;
     14
     15using boost::implicit_cast;
    2116
    2217struct HModuleDeleter
     
    10297
    10398    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));
    105100    return hmodRes;
    106101}
Note: See TracChangeset for help on using the changeset viewer.