You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app
Joël Quenneville 0c2fe22bc1 Add test coverage to CSS class generation (#2285)
The code that generates CSS is based on a lot of boolean conditions.
The possible combinations of these grows exponentially as we add more
conditions.

Since most of the code is conditional on a single boolean, we tested the
following:

1. All `false`
2. All `true`
3. Each individual flag set to `true`

The methods tested are:

* `StreamEntriesHelper#style_classes`
* `StreamEntriesHelper#microformats_classes`
* `StreamEntriesHelper#microformats_h_class`
8 years ago
..
assets Adding arabic string localization (rebased) (#1895) 8 years ago
controllers ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197) 8 years ago
helpers Add test coverage to CSS class generation (#2285) 8 years ago
lib [WIP] Html lang on statuses (#2297) 8 years ago
mailers Instance helper to replace site title helper (#2038) 8 years ago
models ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197) 8 years ago
presenters Adds version to about/more and API (#2181) 8 years ago
services Improve bio compatibility (#2278) 8 years ago
validators Organize coverage dirs (#1695) 8 years ago
views ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197) 8 years ago
workers Quick best practice cleanup of views/helpers (#1546) 8 years ago