Skip to content

Commit

Permalink
*Modified UnitTests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Therzok committed May 14, 2013
1 parent 5694175 commit b43d8d7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UnitTests/Models/CommitVertexTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public void SetsProperties()
Assert.Equal("shasha", commit.Sha);
Assert.Equal("commit message", commit.Message);
Assert.NotNull(commit.Branches);

Assert.Equal(8, commit.ShaLength);
Assert.Equal(true, commit.AdornerMessageVisibility); // expanded is false -> true
Assert.Equal(false, commit.DescriptionShown);
}
}

Expand Down
21 changes: 21 additions & 0 deletions UnitTests/SeeGit.exe.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,26 @@
<appSettings>
<add key="TrueSetting" value="True"/>
<add key="ToBeRemovedSetting" value="nan"/>
<!--
Option: AdornerCommitMessageVisibility
Description: Sets the attached commit message visibility to Visible/Hidden/Hidden in Expanded.
Options: Visible / Hidden / ExpandedHidden
Default: "ExpandedHidden" (On)
-->
<add key="AdornerCommitMessageVisibility" value="ExpandedHidden"/>

<!--
Option: DescriptionInExpander
Description: Adds description in Expanded view.
Default: "False" (Off)
-->
<add key="DescriptionInExpander" value="False"/>

<!--
Option: SHALength
Description: SHA Length used in commit titles
Default: "8" (Short)
-->
<add key="SHALength" value="8"/>
</appSettings>
</configuration>

0 comments on commit b43d8d7

Please sign in to comment.