Skip to content

Commit

Permalink
Merge pull request #3 from sozler/dev
Browse files Browse the repository at this point in the history
Add unit tests
  • Loading branch information
Serdar Ozler committed Dec 19, 2013
2 parents 9ec4f61 + 828f86e commit 4f22d9c
Show file tree
Hide file tree
Showing 35 changed files with 9,492 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D02FBA48-23CD-4CDF-9BD0-A03295744FA2}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>MicrosoftWindowsAzureStorageUnitTests</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
<TargetName>wastoretest</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(PlatformToolset)\$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(PlatformToolset)\$(Platform)\$(Configuration)\</IntDir>
<TargetName>wastoretest</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>..\includes;..\tests\UnitTest++\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>bcrypt.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>Use</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>..\includes;..\tests\UnitTest++\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>bcrypt.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="blob_test_base.h" />
<ClInclude Include="check_macros.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="test_base.h" />
<ClInclude Include="test_helper.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\hash_windows.cpp" />
<ClCompile Include="blob_lease_test.cpp" />
<ClCompile Include="blob_streams_test.cpp" />
<ClCompile Include="blob_test_base.cpp" />
<ClCompile Include="cloud_blob_client_test.cpp" />
<ClCompile Include="cloud_blob_container_test.cpp" />
<ClCompile Include="cloud_blob_directory_test.cpp" />
<ClCompile Include="cloud_blob_test.cpp" />
<ClCompile Include="cloud_block_blob_test.cpp" />
<ClCompile Include="executor_test.cpp" />
<ClCompile Include="service_properties_test.cpp" />
<ClCompile Include="cloud_page_blob_test.cpp" />
<ClCompile Include="cloud_queue_client_test.cpp" />
<ClCompile Include="cloud_queue_test.cpp" />
<ClCompile Include="cloud_storage_account_test.cpp" />
<ClCompile Include="cloud_table_client_test.cpp" />
<ClCompile Include="cloud_table_test.cpp" />
<ClCompile Include="main.cpp" />
<ClCompile Include="read_from_secondary_test.cpp" />
<ClCompile Include="retry_policy_test.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="test_base.cpp" />
<ClCompile Include="test_helper.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.WindowsAzure.Storage.v120.vcxproj">
<Project>{dcff75b0-b142-4ec8-992f-3e48f2e3eece}</Project>
<Private>true</Private>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
<LinkLibraryDependencies>true</LinkLibraryDependencies>
<UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
</ProjectReference>
<ProjectReference Include="UnitTest++\UnitTest++.vsnet2005.v120.vcxproj">
<Project>{64a4fefe-0461-4e95-8cc1-91ef5f57dbc6}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="test_configurations.json" />
</ItemGroup>
<Target Name="CopyContent" AfterTargets="Build">
<ItemGroup>
<DeployFileGroup Include="**\*.json;" />
</ItemGroup>
<Copy SourceFiles="@(DeployFileGroup)" DestinationFiles="@(DeployFileGroup->'$(TargetDir)%(RecursiveDir)\%(Filename)%(Extension)')" SkipUnchangedFiles="True" />
</Target>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\cpprestsdk.redist.1.3.1\build\native\cpprestsdk.redist.targets" Condition="Exists('..\..\packages\cpprestsdk.redist.1.3.1\build\native\cpprestsdk.redist.targets')" />
<Import Project="..\..\packages\cpprestsdk.1.3.1\build\native\cpprestsdk.targets" Condition="Exists('..\..\packages\cpprestsdk.1.3.1\build\native\cpprestsdk.targets')" />
</ImportGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="stdafx.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="targetver.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="test_helper.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="blob_test_base.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="check_macros.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="test_base.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="stdafx.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_table_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_block_blob_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\hash_windows.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="blob_test_base.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_storage_account_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_blob_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_page_blob_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_blob_container_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_blob_directory_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="blob_streams_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_blob_client_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="blob_lease_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="test_base.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="retry_policy_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="read_from_secondary_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="service_properties_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_table_client_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="test_helper.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_queue_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cloud_queue_client_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="executor_test.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="test_configurations.json" />
<None Include="packages.config" />
</ItemGroup>
</Project>
Loading

0 comments on commit 4f22d9c

Please sign in to comment.