• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / dartdoc / 4862
66%

Build:
DEFAULT BRANCH: master
Ran 02 Dec 2020 02:52PM UTC
Jobs 1
Files 86
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Dec 2020 02:24PM UTC coverage: 91.146% (-0.2%) from 91.367%
4862

push

travis-ci

web-flow
Mustachio: Add getProperty(), and end-to-end Renderer test (#2442)

Mustachio: Add property getters to Property, and end-to-end Renderer test

This includes some unorthodox tests: I've added a package in
`testing/mustachio`, complete with a pubspec.yaml and a build.yaml. These are
required in order to test the runtime behavior of generated code; in order to
make assertions on the generated code (not its String content, but its runtime
properties), it must be generated with public classes (the default is private).
In order to pass a configuration to the Builder, I need a build.yaml separate
from dartdoc's.

In order to import `testing/mustachio/lib/foo.renderers.dart`, and resolve that
library's reference to `package:testing_mustachio/foo.dart`, I need to add
`testing_mustachio` to `dev_dependencies`.

In order to reference the builders from the testing package, the builder code
needed to move from `tool/mustachio/` to `lib/src/mustachio/`.

The generated code now always references the library that generated it, on the
assumption that it needs types from that file. This is not necessarily correct,
but is a decent approximation until we start using code_builder.

RendererBase now needs to know about the renderer of the parent context type,
so it gets a new field.

Property and each renderer's propertyMap gets corrected code; the runtime tests
revealed some runtime type bugs.

21 of 21 new or added lines in 1 file covered. (100.0%)

6218 of 6822 relevant lines covered (91.15%)

16.01 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4862.5 (DARTDOC_BOT=main) 02 Dec 2020 02:52PM UTC 0
91.15
Travis Job 4862.5
Source Files on build 4862
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4862
  • a8d14b0e on github
  • Prev Build on master (#4857)
  • Next Build on master (#4867)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc