Skip to content

Commit

Permalink
add some tests to increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdullatif Ghajar committed Jun 11, 2021
1 parent 955517d commit 313e177
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
testing-ui
testing-functionality
testSelectedClass

self assert: (self changesBrowser selectedClass isNil).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
testing-ui
testing-functionality
testSelectedMessageName

self assert: (self changesBrowser selectedMessageName isNil).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"testRemoveAllChangeListItemsExcept" : "SV 8/7/2020 15:04",
"testSelectedChangeListItem" : "SV 7/26/2020 10:55",
"testSelectedChangeListItemWhenNothingSelected" : "SV 8/1/2020 15:46",
"testSelectedClass" : "FK 6/10/2021 21:23",
"testSelectedMessageName" : "FK 6/10/2021 21:24",
"testSelectedClass" : "abd 6/11/2021 21:18",
"testSelectedMessageName" : "abd 6/11/2021 21:18",
"testSwitchingBetweenViews" : "mg 7/15/2020 19:58",
"testTogglePickStatus" : "mg 8/7/2020 22:29",
"world" : "mg 7/2/2020 14:01" } }
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
testing
testUnpickedItemsAttributes

self methodChangeListItem pick.
self assert: (self methodChangeListItem description find: TextEmphasis italic) = nil.
self assert: (self methodChangeListItem description find: TextEmphasis struckOut) = nil.

self methodChangeListItem unpick.
self assert: (self methodChangeListItem description find: TextEmphasis italic) = (1 to: self methodChangeListItem description size).
self assert: (self methodChangeListItem description find: TextEmphasis struckOut) = (1 to: self methodChangeListItem description size).
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
"testDoesNotUnderstand" : "SV 7/26/2020 13:01",
"testEqualityComparator" : "SV 8/7/2020 15:19",
"testHash" : "SV 8/7/2020 21:56",
"testNameOfAffectedClass" : "SV 7/26/2020 13:23" } }
"testNameOfAffectedClass" : "SV 7/26/2020 13:23",
"testUnpickedItemsAttributes" : "abd 6/11/2021 21:32" } }

0 comments on commit 313e177

Please sign in to comment.