Commit graph

12 commits

Author SHA1 Message Date
umherirrender
4779072bb2 Fix StatusTest for wikis with $wgLanguageCode != 'en'
The "Internal error" of the error message was localized.

Change-Id: I8a461e51edd989adbeff0d1443f94bc481b3a7c2
2013-11-26 17:42:40 +00:00
Mwalker
62e3c203c5 Merge "Add final tests for the Status class" 2013-11-25 18:13:16 +00:00
Mwalker
c21a77b356 Merge "Further expand Status unit tests" 2013-11-25 18:13:08 +00:00
umherirrender
5dbfd5bf80 Fixed spacing
- Removed trailing spaces in comments
- Removed multiple empty lines
- Removed space after object operator

Change-Id: I9fd3256ab490c7cd2034de3fd94e6be6e6d6d8f2
2013-11-21 18:52:25 +00:00
jenkins-bot
a9bb933dad Merge "Cleanup and expand Status tests" 2013-11-20 05:45:41 +00:00
addshore
79dadc19a1 Add final tests for the Status class
This class now should have roughly 100%
unit test coverage! =]

Change-Id: I11383bb2c2a29c7c233d49680b5de560d2b31ee6
2013-11-19 19:12:16 +01:00
umherirrender
f153998317 Fixed spacing
- Removed double spaces
- Added space after if/switch/foreach
- Removed space on elseif
- Added space around parentheses
- Added newline at end of file
- Removed space before semicolon at end of line

Change-Id: Id40b87e04786c6111e6686d7f7eea1e588bdf37d
2013-11-19 19:03:54 +01:00
addshore
8b07ec5aba Further expand Status unit tests
When writing these I came accross a case that doesnt
quite seem right (I have left room for the test case
with a comment explaining)

Status now only has 4 untested methods

Change-Id: I61acf141de9f786793e8413d2d2ebb95e27e004d
2013-11-19 17:46:40 +00:00
addshore
a467d23e76 Cleanup and expand Status tests
Change-Id: Ib06df7196c903505fbc0a3945513c5681acaaff3
2013-11-19 17:46:33 +00:00
Kunal Mehta
c14f418924 Test for Status::hasMessage
Change-Id: I080e006fa6a7d8ad68bdf827c4bab7d0ea160230
2013-10-25 17:53:18 -07:00
Kunal Mehta
2041294b14 Add some missing :'s
Change-Id: I4f48fdd3e5d81b8a0a34505795a7ab318c931a47
2013-10-24 18:16:21 -07:00
addshore
9a06bc75f9 add basic Status unit test
Adds unit tests for some of the more basic
parts of the Status class

has todos at the bottom of the file for all other
methods that need to be tested

Change-Id: Ic2f2abafb44ef86af207c7595e440672dfcf4f1e
2013-10-24 23:25:08 +01:00