Ran
|
Jobs
3
|
Files
308
|
Run time
8min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/742034151">Add handling for new / missing pages in html2wt direction * We currently unconditionally construct a PageConfigFrame in html2wt even though it is not used. The idea is that eventually, both wt2html and html2wt will use PageConfigFrame for accessing page content. * But, PageConfigFrame didn't know anything about missing / new titles and was barfing in html2wt mode. * Pass along information in html2wt mode whether a title is expected to exist or not so that PageContentFrame can be strict or lenient about throwing exceptions, as recommended in T234549. If title is not known to exist, it initializes itself to ''. * Change the changeEnv signature in ParsoidHandler to make titleShouldExist a required argument so that we didn't have different values of defaults here and in PageConfigFrame. The explicitness also makes for better documentation anyway. * A related issue is T235307. An env object is constructed in the REST handlers for internal use and discarded only to be built again in Parsoid's entry points. So, we had two places for the exception to be thrown. This is handled uniformly now by passing along information about whether title exists or not. Bug: T234549 Bug: T238161 Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/055075ed5">055075ed5</a>
19318 of 24264 branches covered (79.62%)
30268 of 35660 relevant lines covered (84.88%)
99423.45 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 3169.1 | 154 |
84.88 |
Travis Job 3169.1 | |
2 | 3169.2 | 154 |
84.88 |
Travis Job 3169.2 | |
3 | 3169.3 | 154 |
84.91 |
Travis Job 3169.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|