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

dart-lang / dartdoc / 4862 / 5
66%
master: 66%

Build:
DEFAULT BRANCH: master
Ran 02 Dec 2020 02:52PM UTC
Files 86
Run time 12s
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%
DARTDOC_BOT=main

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.

6218 of 6822 relevant lines covered (91.15%)

16.01 hits per line

Source Files on job 4862.5 (DARTDOC_BOT=main)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2715
  • Travis Job 4862.5
  • a8d14b0e on github
  • Prev Job for DARTDOC_BOT=main on master (#4857.5)
  • Next Job for DARTDOC_BOT=main on master (#4867.5)
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