Skip to content

Commit

Permalink
Increased test coverage, added intellisense comments, early bound types
Browse files Browse the repository at this point in the history
don't need entity logical name as query param anymore
  • Loading branch information
DigitalFlow committed May 1, 2018
1 parent 5d3e0b3 commit 351c756
Show file tree
Hide file tree
Showing 20 changed files with 6,814 additions and 4,228 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This fluent interface aims to make queries as short and readable as possible whi

This could look something like this (When not developing early bound, you can simply leave out the generic parameter):
```C#
var records = service.Query<Account>("account")
var records = service.Query<Account>()
.IncludeColumns("name")
.Where(e => e
.Attribute(a => a
Expand Down
5 changes: 5 additions & 0 deletions Xrm.Oss.FluentQuery.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{7E727FD8
paket.template = paket.template
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "meta", "meta", "{C554C7D0-5E3D-41A9-8A5B-7B5E344C3007}"
ProjectSection(SolutionItems) = preProject
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let packagesDir = @".\packages\"
// version info
let mutable majorversion = "1"
let mutable minorversion = "0"
let mutable build = "0"
let mutable build = "1"
let mutable nugetVersion = ""
let mutable asmVersion = ""
let mutable asmInfoVersion = ""
Expand Down
727 changes: 356 additions & 371 deletions coverage.xml

Large diffs are not rendered by default.

1,401 changes: 855 additions & 546 deletions reports/Xrm.Oss.FluentQuery_FluentConditionExpression.htm

Large diffs are not rendered by default.

1,383 changes: 846 additions & 537 deletions reports/Xrm.Oss.FluentQuery_FluentFilterExpression.htm

Large diffs are not rendered by default.

1,417 changes: 863 additions & 554 deletions reports/Xrm.Oss.FluentQuery_FluentLinkEntity.htm

Large diffs are not rendered by default.

1,383 changes: 846 additions & 537 deletions reports/Xrm.Oss.FluentQuery_FluentOrderExpression.htm

Large diffs are not rendered by default.

1,387 changes: 848 additions & 539 deletions reports/Xrm.Oss.FluentQuery_FluentPagingInfo.htm

Large diffs are not rendered by default.

1,423 changes: 865 additions & 558 deletions reports/Xrm.Oss.FluentQuery_FluentQuery_1.htm

Large diffs are not rendered by default.

1,387 changes: 849 additions & 538 deletions reports/Xrm.Oss.FluentQuery_IOrganizationServiceFluentQuery.htm

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion reports/badge_combined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified reports/badge_linecoverage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion reports/badge_linecoverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions reports/combined.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions reports/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ <h1>Summary</h1>
<col />
</colgroup>
<tbody>
<tr><th>Generated on:</th><td>29.04.2018 - 23:05:03</td></tr>
<tr><th>Generated on:</th><td>02.05.2018 - 00:24:40</td></tr>
<tr><th>Parser:</th><td>OpenCoverParser</td></tr>
<tr><th>Assemblies:</th><td>1</td></tr>
<tr><th>Classes:</th><td>7</td></tr>
<tr><th>Files:</th><td>1</td></tr>
<tr><th>Covered lines:</th><td>231</td></tr>
<tr><th>Uncovered lines:</th><td>26</td></tr>
<tr><th>Coverable lines:</th><td>257</td></tr>
<tr><th>Total lines:</th><td>562</td></tr>
<tr><th>Line coverage:</th><td>89.8%</td></tr>
<tr><th>Covered lines:</th><td>251</td></tr>
<tr><th>Uncovered lines:</th><td>0</td></tr>
<tr><th>Coverable lines:</th><td>251</td></tr>
<tr><th>Total lines:</th><td>871</td></tr>
<tr><th>Line coverage:</th><td>100%</td></tr>
<tr><th>Branch coverage:</th><td>50%</td></tr>
</tbody>
</table>
Expand All @@ -46,16 +46,16 @@ <h1>Coverage</h1>
</colgroup>
<thead><tr><th>Name</th><th class="right">Covered</th><th class="right">Uncovered</th><th class="right">Coverable</th><th class="right">Total</th><th class="center" colspan="2">Line coverage</th><th class="center" colspan="2">Branch coverage</th></tr></thead>
<tbody>
<tr><th>Xrm.Oss.FluentQuery</th><th class="right">231</th><th class="right">26</th><th class="right">257</th><th class="right">3934</th><th title="LineCoverage" class="right">89.8%</th><th><table class="coverage"><tr><td class="green covered90">&nbsp;</td><td class="red covered10">&nbsp;</td></tr></table></th><th class="right">50%</th><th><table class="coverage"><tr><td class="green covered50">&nbsp;</td><td class="red covered50">&nbsp;</td></tr></table></th></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentConditionExpression.htm">Xrm.Oss.FluentQuery.FluentConditionExpression</a></td><td class="right">26</td><td class="right">7</td><td class="right">33</td><td class="right">562</td><td title="LineCoverage" class="right">78.7%</td><td><table class="coverage"><tr><td class="green covered79">&nbsp;</td><td class="red covered21">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentFilterExpression.htm">Xrm.Oss.FluentQuery.FluentFilterExpression</a></td><td class="right">26</td><td class="right">0</td><td class="right">26</td><td class="right">562</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentLinkEntity.htm">Xrm.Oss.FluentQuery.FluentLinkEntity</a></td><td class="right">47</td><td class="right">6</td><td class="right">53</td><td class="right">562</td><td title="LineCoverage" class="right">88.6%</td><td><table class="coverage"><tr><td class="green covered89">&nbsp;</td><td class="red covered11">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentOrderExpression.htm">Xrm.Oss.FluentQuery.FluentOrderExpression</a></td><td class="right">19</td><td class="right">0</td><td class="right">19</td><td class="right">562</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentPagingInfo.htm">Xrm.Oss.FluentQuery.FluentPagingInfo</a></td><td class="right">23</td><td class="right">0</td><td class="right">23</td><td class="right">562</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentQuery_1.htm">Xrm.Oss.FluentQuery.FluentQuery`1</a></td><td class="right">87</td><td class="right">10</td><td class="right">97</td><td class="right">562</td><td title="LineCoverage" class="right">89.6%</td><td><table class="coverage"><tr><td class="green covered90">&nbsp;</td><td class="red covered10">&nbsp;</td></tr></table></td><td class="right">50%</td><td><table class="coverage"><tr><td class="green covered50">&nbsp;</td><td class="red covered50">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_IOrganizationServiceFluentQuery.htm">Xrm.Oss.FluentQuery.IOrganizationServiceFluentQuery</a></td><td class="right">3</td><td class="right">3</td><td class="right">6</td><td class="right">562</td><td title="LineCoverage" class="right">50%</td><td><table class="coverage"><tr><td class="green covered50">&nbsp;</td><td class="red covered50">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><th>Xrm.Oss.FluentQuery</th><th class="right">251</th><th class="right">0</th><th class="right">251</th><th class="right">6097</th><th title="LineCoverage" class="right">100%</th><th><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></th><th class="right">50%</th><th><table class="coverage"><tr><td class="green covered50">&nbsp;</td><td class="red covered50">&nbsp;</td></tr></table></th></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentConditionExpression.htm">Xrm.Oss.FluentQuery.FluentConditionExpression</a></td><td class="right">33</td><td class="right">0</td><td class="right">33</td><td class="right">871</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentFilterExpression.htm">Xrm.Oss.FluentQuery.FluentFilterExpression</a></td><td class="right">26</td><td class="right">0</td><td class="right">26</td><td class="right">871</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentLinkEntity.htm">Xrm.Oss.FluentQuery.FluentLinkEntity</a></td><td class="right">53</td><td class="right">0</td><td class="right">53</td><td class="right">871</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentOrderExpression.htm">Xrm.Oss.FluentQuery.FluentOrderExpression</a></td><td class="right">19</td><td class="right">0</td><td class="right">19</td><td class="right">871</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentPagingInfo.htm">Xrm.Oss.FluentQuery.FluentPagingInfo</a></td><td class="right">26</td><td class="right">0</td><td class="right">26</td><td class="right">871</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_FluentQuery_1.htm">Xrm.Oss.FluentQuery.FluentQuery`1</a></td><td class="right">85</td><td class="right">0</td><td class="right">85</td><td class="right">871</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right">50%</td><td><table class="coverage"><tr><td class="green covered50">&nbsp;</td><td class="red covered50">&nbsp;</td></tr></table></td></tr>
<tr><td><a href="Xrm.Oss.FluentQuery_IOrganizationServiceFluentQuery.htm">Xrm.Oss.FluentQuery.IOrganizationServiceFluentQuery</a></td><td class="right">9</td><td class="right">0</td><td class="right">9</td><td class="right">871</td><td title="LineCoverage" class="right">100%</td><td><table class="coverage"><tr><td class="green covered100">&nbsp;</td></tr></table></td><td class="right"></td><td><table class="coverage"><tr><td class="gray covered100">&nbsp;</td></tr></table></td></tr>
</tbody>
</table>
<div class="footer">Generated by: ReportGenerator 3.1.2.0<br />29.04.2018 - 23:05:03<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<div class="footer">Generated by: ReportGenerator 3.1.2.0<br />02.05.2018 - 00:24:40<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<script type="text/javascript" src="combined.js"></script>
</body></html>
Loading

0 comments on commit 351c756

Please sign in to comment.