mediawiki-extensions-Discus.../tests/phpunit
Bartosz Dziewoński a6a547f2b2 Add some tests covering ThreadItem::getHTML() and related methods
* ThreadItem::getText
* CommentItem::getBodyText (used when generating notifications)
* ThreadItem::getHTML (may soon be used in API)
* CommentItem::getBodyHTML (may soon be used in API)
* ImmutableRange::cloneContents (the common implementation for all
  of the above)

The outputs are only lightly reviewed. This is mostly meant to
document the current behavior rather than the expected behavior,
to avoid making unintentional changes while refactoring.

Change-Id: I14471ee4969aa3d0b5577d9de2a6d4462fab4d09
2021-08-24 07:54:09 +02:00
..
unit Use DOMCompat::newDocument() to create a new Document 2021-07-30 18:15:11 -04:00
CommentFormatterTest.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
CommentModifierTest.php Deal with document body consistently 2021-08-03 15:12:55 +02:00
CommentParserTest.php Deal with document body consistently 2021-08-03 15:12:55 +02:00
DataTest.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
EventDispatcherTest.php EventDispatcher: Fix ignoring level 3+ headings 2021-08-16 15:42:06 +00:00
IntegrationTestCase.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
MockCommentFormatter.php Don't refer directly to PHP dom extension classes; avoid nonstandard behavior 2021-07-30 18:15:40 -04:00
MockEventDispatcher.php Create a hidden revision tag for talk page comments 2021-08-16 15:42:51 +00:00
MockSubscriptionStore.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
TestUtils.php Remove pointless uses of preserveWhiteSpace property 2021-08-09 23:45:48 +02:00
ThreadItemTest.php Add some tests covering ThreadItem::getHTML() and related methods 2021-08-24 07:54:09 +02:00