| Class: | MyNet.Utilities.Tests.Collections.SortableObservableCollectionTests |
|---|---|
| Assembly: | MyNet.Utilities.Tests |
| File(s): | D:\a\MyNet\MyNet\tests\MyNet.Utilities.Tests\Collections\SortableObservableCollectionTests.cs |
| Tag: | 231_20410175562 |
| Covered lines: | 139 |
|---|---|
| Uncovered lines: | 2 |
| Coverable lines: | 141 |
| Total lines: | 316 |
| Line coverage: | 98.5% |
| Covered branches: | 38 |
|---|---|
| Total branches: | 38 |
| Branch coverage: | 100% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Crap Score | Cyclomatic complexity | Line coverage |
|---|---|---|---|---|
| Sort_ShouldSortAllItems() | 100% | 2 | 2 | 100% |
| Sort_Descending_ShouldSortCorrectly() | 100% | 2 | 2 | 100% |
| Add_WithAutoSort_ShouldInsertAtCorrectPosition() | 100% | 2 | 2 | 100% |
| Add_WithAutoSortDisabled_ShouldNotSort() | 100% | 2 | 2 | 100% |
| AddRange_ShouldSortOnceAtEnd() | 100% | 2 | 2 | 100% |
| Load_ShouldSortAfterLoad() | 100% | 2 | 2 | 100% |
| ChangeSortSelector_ShouldUpdateComparer() | 100% | 4 | 4 | 100% |
| ChangeSortDirection_ShouldUpdateComparer() | 100% | 2 | 2 | 100% |
| Sort_WithNoSelector_ShouldNotThrow() | 100% | 1 | 1 | 100% |
| Sort_WithLessThanTwoItems_ShouldNotSort() | 100% | 2 | 2 | 100% |
| Sort_Reentrancy_ShouldBeProtected() | 100% | 2 | 2 | 100% |
| BinarySearch_ShouldFindCorrectIndex() | 100% | 2 | 2 | 100% |
| ComplexObjectSort_ShouldWork() | 100% | 2 | 2 | 100% |
| ManualSort_WithAutoSortOff_ShouldWork() | 100% | 2 | 2 | 100% |
| AddRange_WithAutoSortOff_ThenOn_ShouldSortOnce() | 100% | 2 | 2 | 100% |
| Constructor_WithCapacity_ShouldWork() | 100% | 1 | 1 | 100% |
| ThreadSafety_ShouldInheritFromBase() | 100% | 2 | 2 | 100% |
| get_Name() | 100% | 2 | 1 | 0% |
| set_Name(...) | 100% | 1 | 1 | 100% |
| .ctor() | 100% | 1 | 1 | 100% |
| get_Price() | 100% | 1 | 1 | 100% |
| set_Price(...) | 100% | 1 | 1 | 100% |
File 'D:\a\MyNet\MyNet\tests\MyNet.Utilities.Tests\Collections\SortableObservableCollectionTests.cs' does not exist (any more).