Skip to content

Commit

Permalink
Add Coverage Tests
Browse files Browse the repository at this point in the history
Support for Improve criteria classes inheriting from BusinessBase (CslaGenFork#58)
  • Loading branch information
tfreitasleal committed Mar 26, 2018
1 parent 9867ad5 commit 654d0d7
Show file tree
Hide file tree
Showing 148 changed files with 38,498 additions and 278 deletions.
2 changes: 1 addition & 1 deletion trunk/CoverageTest/CodeGen/InterwayDocs.Business-CS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13255,7 +13255,7 @@
</CslaObjects>
<AssociativeEntities />
<ConnectionString>Server=(local);Database=InterwayDocs;persist security info=False;user id=sa;password=password_1234;packet size=4096</ConnectionString>
<ProjectName>InterwayDocs.Business</ProjectName>
<ProjectName>InterwayDocs.Business-CS</ProjectName>
<TargetDirectory>C:\VS_GitHub\CslaGenFork\trunk\CoverageTest\InterwayDocs\Plain-CS</TargetDirectory>
<FileVersion>4.0.6</FileVersion>
</CslaGeneratorUnit>
13,261 changes: 13,261 additions & 0 deletions trunk/CoverageTest/CodeGen/InterwayDocs.Business-DAL-DR.xml

Large diffs are not rendered by default.

13,261 changes: 13,261 additions & 0 deletions trunk/CoverageTest/CodeGen/InterwayDocs.Business-DAL-DTO.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trunk/CoverageTest/CodeGen/InterwayDocs.Business-VB.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13255,7 +13255,7 @@
</CslaObjects>
<AssociativeEntities />
<ConnectionString>Server=(local);Database=InterwayDocs;persist security info=False;user id=sa;password=password_1234;packet size=4096</ConnectionString>
<ProjectName>InterwayDocs.BusinessVB</ProjectName>
<ProjectName>InterwayDocs.Business-VB</ProjectName>
<TargetDirectory>C:\VS_GitHub\CslaGenFork\trunk\CoverageTest\InterwayDocs\Plain-VB</TargetDirectory>
<FileVersion>4.0.6</FileVersion>
</CslaGeneratorUnit>
70 changes: 62 additions & 8 deletions trunk/CoverageTest/CoverageTest.sln
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,29 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "InterwayDocs", "InterwayDoc
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.Rules", "InterwayDocs\Codisa.InterwayDocs.Rules\Codisa.InterwayDocs.Rules.csproj", "{BB2CCD46-4B03-477D-ACC7-AABBF15F9245}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.Business-CS", "InterwayDocs\Plain-CS\Codisa.InterwayDocs.Business\Codisa.InterwayDocs.Business-CS.csproj", "{0A3D1BF2-05FA-4E33-B95A-E006320E39B2}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.Business", "InterwayDocs\Plain-CS\Codisa.InterwayDocs.Business\Codisa.InterwayDocs.Business.csproj", "{0A3D1BF2-05FA-4E33-B95A-E006320E39B2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.Business-VB", "InterwayDocs\Plain-VB\Codisa.InterwayDocs.Business\Codisa.InterwayDocs.Business-VB.csproj", "{9AA8D15D-44B9-4E0C-87F5-E9CCABC6D51E}"
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Codisa.InterwayDocs.Business", "InterwayDocs\Plain-VB\Codisa.InterwayDocs.Business\Codisa.InterwayDocs.Business.vbproj", "{984D3B5E-B79F-4C5E-B7C6-1A07223C9526}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CS", "CS", "{8FB2C5E1-CAD5-4CE7-BA07-9C59EFA4B912}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DAL-DR", "DAL-DR", "{02C4D768-2AAC-41BD-AB92-06A7FE23DF36}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DAL-DTO", "DAL-DTO", "{73A083E8-BC0F-461A-9D23-2CB5A9F3BC12}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "VB", "VB", "{234789FB-2D9F-4024-B934-51276263E94F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.Business", "InterwayDocs\DAL-DR\Codisa.InterwayDocs.Business\Codisa.InterwayDocs.Business.csproj", "{7E458037-56BD-486A-A097-F1CB79C54609}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.Business", "InterwayDocs\DAL-DTO\Codisa.InterwayDocs.Business\Codisa.InterwayDocs.Business.csproj", "{64F8E2FD-ED3B-4C0D-9AE2-565FED3F14AE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.DataAccess", "InterwayDocs\DAL-DR\Codisa.InterwayDocs.DataAccess\Codisa.InterwayDocs.DataAccess.csproj", "{7498EB16-CC15-4D07-B8C1-6602F26A9B23}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.DataAccess.Sql", "InterwayDocs\DAL-DR\Codisa.InterwayDocs.DataAccess.Sql\Codisa.InterwayDocs.DataAccess.Sql.csproj", "{78030947-6E83-4F5F-839E-25D0E941ACF9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.DataAccess", "InterwayDocs\DAL-DTO\Codisa.InterwayDocs.DataAccess\Codisa.InterwayDocs.DataAccess.csproj", "{B83242B6-08CF-4B6A-8F33-AA3EC3183E05}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codisa.InterwayDocs.DataAccess.Sql", "InterwayDocs\DAL-DTO\Codisa.InterwayDocs.DataAccess.Sql\Codisa.InterwayDocs.DataAccess.Sql.csproj", "{62FB7A3F-5A06-447D-B057-2E72FD43FD2A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -259,10 +279,34 @@ Global
{0A3D1BF2-05FA-4E33-B95A-E006320E39B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0A3D1BF2-05FA-4E33-B95A-E006320E39B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0A3D1BF2-05FA-4E33-B95A-E006320E39B2}.Release|Any CPU.Build.0 = Release|Any CPU
{9AA8D15D-44B9-4E0C-87F5-E9CCABC6D51E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9AA8D15D-44B9-4E0C-87F5-E9CCABC6D51E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9AA8D15D-44B9-4E0C-87F5-E9CCABC6D51E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9AA8D15D-44B9-4E0C-87F5-E9CCABC6D51E}.Release|Any CPU.Build.0 = Release|Any CPU
{984D3B5E-B79F-4C5E-B7C6-1A07223C9526}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{984D3B5E-B79F-4C5E-B7C6-1A07223C9526}.Debug|Any CPU.Build.0 = Debug|Any CPU
{984D3B5E-B79F-4C5E-B7C6-1A07223C9526}.Release|Any CPU.ActiveCfg = Release|Any CPU
{984D3B5E-B79F-4C5E-B7C6-1A07223C9526}.Release|Any CPU.Build.0 = Release|Any CPU
{7E458037-56BD-486A-A097-F1CB79C54609}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7E458037-56BD-486A-A097-F1CB79C54609}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7E458037-56BD-486A-A097-F1CB79C54609}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7E458037-56BD-486A-A097-F1CB79C54609}.Release|Any CPU.Build.0 = Release|Any CPU
{64F8E2FD-ED3B-4C0D-9AE2-565FED3F14AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{64F8E2FD-ED3B-4C0D-9AE2-565FED3F14AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{64F8E2FD-ED3B-4C0D-9AE2-565FED3F14AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{64F8E2FD-ED3B-4C0D-9AE2-565FED3F14AE}.Release|Any CPU.Build.0 = Release|Any CPU
{7498EB16-CC15-4D07-B8C1-6602F26A9B23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7498EB16-CC15-4D07-B8C1-6602F26A9B23}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7498EB16-CC15-4D07-B8C1-6602F26A9B23}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7498EB16-CC15-4D07-B8C1-6602F26A9B23}.Release|Any CPU.Build.0 = Release|Any CPU
{78030947-6E83-4F5F-839E-25D0E941ACF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{78030947-6E83-4F5F-839E-25D0E941ACF9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78030947-6E83-4F5F-839E-25D0E941ACF9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78030947-6E83-4F5F-839E-25D0E941ACF9}.Release|Any CPU.Build.0 = Release|Any CPU
{B83242B6-08CF-4B6A-8F33-AA3EC3183E05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B83242B6-08CF-4B6A-8F33-AA3EC3183E05}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B83242B6-08CF-4B6A-8F33-AA3EC3183E05}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B83242B6-08CF-4B6A-8F33-AA3EC3183E05}.Release|Any CPU.Build.0 = Release|Any CPU
{62FB7A3F-5A06-447D-B057-2E72FD43FD2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62FB7A3F-5A06-447D-B057-2E72FD43FD2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62FB7A3F-5A06-447D-B057-2E72FD43FD2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62FB7A3F-5A06-447D-B057-2E72FD43FD2A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -299,7 +343,17 @@ Global
{F3149DFB-F2C2-4A25-85D2-117417673E54} = {4DB2B926-4250-4015-BFCB-8453969B3882}
{1E6E06B9-FB1C-47DE-926E-E94789FC7A75} = {4DB2B926-4250-4015-BFCB-8453969B3882}
{BB2CCD46-4B03-477D-ACC7-AABBF15F9245} = {B588C148-B7A2-4530-8D50-05089AC6D8C6}
{0A3D1BF2-05FA-4E33-B95A-E006320E39B2} = {B588C148-B7A2-4530-8D50-05089AC6D8C6}
{9AA8D15D-44B9-4E0C-87F5-E9CCABC6D51E} = {B588C148-B7A2-4530-8D50-05089AC6D8C6}
{0A3D1BF2-05FA-4E33-B95A-E006320E39B2} = {8FB2C5E1-CAD5-4CE7-BA07-9C59EFA4B912}
{984D3B5E-B79F-4C5E-B7C6-1A07223C9526} = {234789FB-2D9F-4024-B934-51276263E94F}
{8FB2C5E1-CAD5-4CE7-BA07-9C59EFA4B912} = {B588C148-B7A2-4530-8D50-05089AC6D8C6}
{02C4D768-2AAC-41BD-AB92-06A7FE23DF36} = {B588C148-B7A2-4530-8D50-05089AC6D8C6}
{73A083E8-BC0F-461A-9D23-2CB5A9F3BC12} = {B588C148-B7A2-4530-8D50-05089AC6D8C6}
{234789FB-2D9F-4024-B934-51276263E94F} = {B588C148-B7A2-4530-8D50-05089AC6D8C6}
{7E458037-56BD-486A-A097-F1CB79C54609} = {02C4D768-2AAC-41BD-AB92-06A7FE23DF36}
{64F8E2FD-ED3B-4C0D-9AE2-565FED3F14AE} = {73A083E8-BC0F-461A-9D23-2CB5A9F3BC12}
{7498EB16-CC15-4D07-B8C1-6602F26A9B23} = {02C4D768-2AAC-41BD-AB92-06A7FE23DF36}
{78030947-6E83-4F5F-839E-25D0E941ACF9} = {02C4D768-2AAC-41BD-AB92-06A7FE23DF36}
{B83242B6-08CF-4B6A-8F33-AA3EC3183E05} = {73A083E8-BC0F-461A-9D23-2CB5A9F3BC12}
{62FB7A3F-5A06-447D-B057-2E72FD43FD2A} = {73A083E8-BC0F-461A-9D23-2CB5A9F3BC12}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CSLA-Core" version="4.7.100" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{7E458037-56BD-486A-A097-F1CB79C54609}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Codisa.InterwayDocs.Business</RootNamespace>
<AssemblyName>Codisa.InterwayDocs.Business</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Csla, Version=4.7.100.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\CSLA-Core.4.7.100\lib\net45\Csla.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="DataPortalHookArgs.cs" />
<Compile Include="DeliveryBook.cs" />
<Compile Include="DeliveryBook.Designer.cs">
<DependentUpon>DeliveryBook.cs</DependentUpon>
</Compile>
<Compile Include="DeliveryBookCriteriaGet.cs" />
<Compile Include="DeliveryBookCriteriaGet.Designer.cs">
<DependentUpon>DeliveryBookCriteriaGet.cs</DependentUpon>
</Compile>
<Compile Include="DeliveryInfo.cs" />
<Compile Include="DeliveryInfo.Designer.cs">
<DependentUpon>DeliveryInfo.cs</DependentUpon>
</Compile>
<Compile Include="DeliveryRegister.cs" />
<Compile Include="DeliveryRegister.Designer.cs">
<DependentUpon>DeliveryRegister.cs</DependentUpon>
</Compile>
<Compile Include="EditOnDemandBase.cs" />
<Compile Include="EditOnDemandBase.Designer.cs">
<DependentUpon>EditOnDemandBase.cs</DependentUpon>
</Compile>
<Compile Include="IncomingBook.cs" />
<Compile Include="IncomingBook.Designer.cs">
<DependentUpon>IncomingBook.cs</DependentUpon>
</Compile>
<Compile Include="IncomingBookCriteriaGet.cs" />
<Compile Include="IncomingBookCriteriaGet.Designer.cs">
<DependentUpon>IncomingBookCriteriaGet.cs</DependentUpon>
</Compile>
<Compile Include="IncomingInfo.cs" />
<Compile Include="IncomingInfo.Designer.cs">
<DependentUpon>IncomingInfo.cs</DependentUpon>
</Compile>
<Compile Include="IncomingRegister.cs" />
<Compile Include="IncomingRegister.Designer.cs">
<DependentUpon>IncomingRegister.cs</DependentUpon>
</Compile>
<Compile Include="OutgoingBook.cs" />
<Compile Include="OutgoingBook.Designer.cs">
<DependentUpon>OutgoingBook.cs</DependentUpon>
</Compile>
<Compile Include="OutgoingBookCriteriaGet.cs" />
<Compile Include="OutgoingBookCriteriaGet.Designer.cs">
<DependentUpon>OutgoingBookCriteriaGet.cs</DependentUpon>
</Compile>
<Compile Include="OutgoingInfo.cs" />
<Compile Include="OutgoingInfo.Designer.cs">
<DependentUpon>OutgoingInfo.cs</DependentUpon>
</Compile>
<Compile Include="OutgoingRegister.cs" />
<Compile Include="OutgoingRegister.Designer.cs">
<DependentUpon>OutgoingRegister.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SearchObjects\SearchCriteriaBase.cs" />
<Compile Include="SearchObjects\SearchCriteriaBase.Designer.cs">
<DependentUpon>SearchCriteriaBase.cs</DependentUpon>
</Compile>
<Compile Include="SearchObjects\SearchLocatableCriteriaBase.cs" />
<Compile Include="SearchObjects\SearchLocatableCriteriaBase.Designer.cs">
<DependentUpon>SearchLocatableCriteriaBase.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Analyzer Include="..\..\..\packages\CSLA-Core.4.7.100\analyzers\c#\Csla.Analyzers.dll" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Codisa.InterwayDocs.Rules\Codisa.InterwayDocs.Rules.csproj">
<Project>{bb2ccd46-4b03-477d-acc7-aabbf15f9245}</Project>
<Name>Codisa.InterwayDocs.Rules</Name>
</ProjectReference>
<ProjectReference Include="..\Codisa.InterwayDocs.DataAccess\Codisa.InterwayDocs.DataAccess.csproj">
<Project>{7498eb16-cc15-4d07-b8c1-6602f26a9b23}</Project>
<Name>Codisa.InterwayDocs.DataAccess</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Loading

0 comments on commit 654d0d7

Please sign in to comment.