-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into cupsos/not-setting-current-value
- Loading branch information
Showing
87 changed files
with
588 additions
and
530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...llapsibleRegion_NotExpanded.verified.html → ...sibleRegion_Collapsed.verified.razor.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
|
||
<div class="fluent-collapsible-region-container" style="height: 0;" b-2esy53gizz=""> | ||
<b>render me</b> | ||
</div> | ||
<div class="fluent-collapsible-region-container" style="height: 0;" b-hk0m26j2or="">Content</div> |
4 changes: 1 addition & 3 deletions
4
...ntCollapsibleRegion_Default.verified.html → ...psibleRegion_Expanded.verified.razor.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
|
||
<div class="fluent-collapsible-region-container" style="height: auto;" b-2esy53gizz=""> | ||
<b>render me</b> | ||
</div> | ||
<div class="fluent-collapsible-region-container" style="height: auto;" b-hk0m26j2or="">Content</div> |
4 changes: 1 addition & 3 deletions
4
...sibleRegion_ExpandedChanged.verified.html → ...egion_ExpandedChanged.verified.razor.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
|
||
<div class="fluent-collapsible-region-container" style="height: auto;" b-2esy53gizz=""> | ||
<b>render me</b> | ||
</div> | ||
<div class="fluent-collapsible-region-container" style="height: auto;" b-hk0m26j2or="">Content</div> |
2 changes: 2 additions & 0 deletions
2
...Region/FluentCollapsibleRegionTests.FluentCollapsibleRegion_MaxHeight.verified.razor.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
<div class="fluent-collapsible-region-container" style="max-height: 200px; height: 0;" b-hk0m26j2or="">Content</div> |
51 changes: 51 additions & 0 deletions
51
tests/Core/CollapsibleRegion/FluentCollapsibleRegionTests.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@using Xunit; | ||
@inherits TestContext | ||
@code | ||
{ | ||
[Fact] | ||
public void FluentCollapsibleRegion_Expanded() | ||
{ | ||
// Arrange && Act | ||
var cut = Render(@<FluentCollapsibleRegion Expanded="true">Content</FluentCollapsibleRegion>); | ||
|
||
// Assert | ||
cut.Verify(); | ||
} | ||
|
||
[Fact] | ||
public void FluentCollapsibleRegion_Collapsed() | ||
{ | ||
// Arrange && Act | ||
var cut = Render(@<FluentCollapsibleRegion Expanded="false">Content</FluentCollapsibleRegion>); | ||
|
||
// Assert | ||
cut.Verify(); | ||
} | ||
|
||
[Fact] | ||
public void FluentCollapsibleRegion_MaxHeight() | ||
{ | ||
// Arrange | ||
var maxHeight = "200px"; | ||
|
||
// Act | ||
var cut = Render(@<FluentCollapsibleRegion MaxHeight="@maxHeight">Content</FluentCollapsibleRegion>); | ||
|
||
// Assert | ||
cut.Verify(); | ||
} | ||
|
||
[Fact] | ||
public void FluentCollapsibleRegion_ExpandedChanged() | ||
{ | ||
// Arrange | ||
var value = false; | ||
Action<bool> expandedChanged = (e) => { value = e; }; | ||
|
||
// Act | ||
var cut = Render(@<FluentCollapsibleRegion Expanded="true" ExpandedChanged="expandedChanged">Content</FluentCollapsibleRegion>); | ||
|
||
// Assert | ||
cut.Verify(); | ||
} | ||
} |
4 changes: 0 additions & 4 deletions
4
...psibleRegion/FluentCollapsibleRegionTests.FluentCollapsibleRegion_MaxHeight.verified.html
This file was deleted.
Oops, something went wrong.
73 changes: 0 additions & 73 deletions
73
tests/Core/_ToDo/CollapsibleRegion/FluentCollapsibleRegionTests.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.