Commit graph

8 commits

Author SHA1 Message Date
Timo Tijhof
b4bac102b6 tests: Clean up file headers
* Remove redundant @licence/@license from test suite files.
  They already have full licence headers. And @licence raises a
  warning in Doxygen.

* Fix weird messes of comments inside comments and other things.

Change-Id: I38da8ca76330f72b8dc22b0ecf1ea69d5ea55ede
2015-04-01 00:17:12 +01:00
aude
7c30ba9afa Add $logAction param for test recent changes helper
to allow testing with various types of log actions

Change-Id: Idc78c964a68e98239265aaaa9e7913d477a3298f
2014-08-29 11:33:23 +00:00
aude
765e575aa7 Improvements to RCCacheEntryFactoryTest and helper class
* pass User as argument when making the test context
* override rc_source when applicable

Change-Id: Id2094978d9f5ba962e76de7df29638e15a7547c3
2014-07-25 22:51:55 +00:00
aude
362d7c1e83 Remove unused param in RCCacheEntryFactoryTest
Change-Id: Ide6743759aba1083f6b4a78ec2643f059f8d3e47
2014-07-25 22:41:12 +00:00
aude
5121b62fbe Split code for making test RecentChange objects into own class
this code is useful for adding tests of the other
changes classes and better not to duplicate it.

Change-Id: I464b4fbf39a0f47cb8911378b731cdd1672ecd86
2014-07-25 22:38:30 +00:00
umherirrender
7e8b3ee507 Remove unneeded rc_cur_time key from RCCacheEntryFactoryTest
Was added with I873f6b86007000a94337f0c963df4bf8fec5b715,
but patch set was older than the remove from sql
in I4a9c2fa813d1f25dfb755e564f7677a212934d7b.

Change-Id: I6e938c3d0b67470225f53cc5229f7669a7cd8f0b
2014-04-24 19:23:54 +00:00
Siebrand Mazeland
6073f19e12 Fix CodeSniffer errors and warnings in changes tests
Follow-up to 1c6b7c7485.

Change-Id: Ib42621a03a43487d94ff1cb755544823a8adda9c
2014-03-12 18:08:59 +01:00
aude
1c6b7c7485 Add RCCacheEntryBuilder, split from EnhancedChangesList and cleaned up
This makes it more feasible for Wikibase, Flow, etc. to support
enhanced changes format, and allow better support for the rc_source
column in the future.

Change-Id: I873f6b86007000a94337f0c963df4bf8fec5b715
2014-03-12 11:23:49 +01:00