Changeset 818 in dev for branches/egtra/ab5.0/abdev


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

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

Location:
branches/egtra/ab5.0/abdev
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/ab-common.props

    r807 r818  
    2222      <PreprocessorDefinitions>WIN32;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    2323      <AdditionalOptions>/Zm150 %(AdditionalOptions)</AdditionalOptions>
     24      <MinimalRebuild>false</MinimalRebuild>
    2425    </ClCompile>
    2526    <Link>
  • 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}
  • branches/egtra/ab5.0/abdev/ab-test/ab-test.vcxproj

    r811 r818  
    145145  <ItemGroup>
    146146    <ClCompile Include="ab-test.cpp" />
     147    <ClCompile Include="jenga.cpp" />
    147148    <ClCompile Include="stdafx.cpp">
    148149      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
     
    151152      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
    152153    </ClCompile>
     154    <ClCompile Include="TestMain.cpp">
     155      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">NotUsing</PrecompiledHeader>
     156      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
     157      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
     158      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
     159    </ClCompile>
    153160  </ItemGroup>
    154161  <ItemGroup>
     162    <ProjectReference Include="..\..\jenga\projects\jenga\jenga.vcxproj">
     163      <Project>{f01805b6-65b4-4708-88f4-a5e07dea9fbd}</Project>
     164    </ProjectReference>
    155165    <ProjectReference Include="..\abdev-impl\abdev-impl.vcxproj">
    156166      <Project>{58ff88a2-86bc-4480-95f4-71af693fef28}</Project>
  • branches/egtra/ab5.0/abdev/ab-test/ab-test.vcxproj.filters

    r784 r818  
    3030      <Filter>Source Files</Filter>
    3131    </ClCompile>
     32    <ClCompile Include="jenga.cpp">
     33      <Filter>Source Files</Filter>
     34    </ClCompile>
     35    <ClCompile Include="TestMain.cpp">
     36      <Filter>Source Files</Filter>
     37    </ClCompile>
    3238  </ItemGroup>
    3339</Project>
  • branches/egtra/ab5.0/abdev/ab-test/stdafx.h

    r798 r818  
    77
    88#include <memory>
    9 
    10 #include <boost/filesystem/path.hpp>
     9#include <cstdint>
     10#include <cstring>
    1111
    1212#include <windows.h>
    1313#include <tchar.h>
     14
     15#include <boost/filesystem/path.hpp>
     16#include <boost/test/unit_test.hpp>
     17#include <boost/implicit_cast.hpp>
Note: See TracChangeset for help on using the changeset viewer.