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

openconfig / ygot / 1582 / 4
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2019 01:27AM UTC
Files 53
Run time 4s
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

18 Oct 2019 01:21AM UTC coverage: 90.551% (-0.2%) from 90.743%
1582.4

push

travis-ci

web-flow
Add end-to-end integration testing for ypathgen and other polishings. (#319)

* Add end-to-end integration testing for ypathgen and other polishings.

List of changes:
- Merge CompressOCPaths and ExcludeState ygen configurations into
  CompressBehaviour enum, which also adds ability to prefer the state
  version of child nodes when it exists under both the config and state
  containers as an intended config and operational state respectively.
- Update FindAllChildren() to prefer the state version when determining
  the direct children of a node under PreferOperationalState
  CompressBehaviour.
- Fix small bug in FindAllChildren() whereby *all* duplicates were being
  accepted without error, which masked real duplicates between a
  higher-level leaf and the state container (now the generalized
  deprioritized container).
- Update ypathgen generation to always use PreferOperationalState
  CompressBehaviour.
- Add generator.go, and update.sh for ypathgen path creation tests -- an
  end-to-end integration test for the path API generated by ypathgen.
- Refactor IsScalarField() out of writeGoStruct() in ygen.
- Refactor TestBuildDirectoryDefinitions to use cmp and t.Run.
- Augment GetDirectories to GetDirectoriesAndLeafTypes to return a
  leafTypeMap -- this is meant to provide information to callers of
  ypathgen so that they have more data for augmenting the generated code
  output of ypathgen.

* gofmt codegen_test.go

* ignore ypathgen/generator from coverage

9315 of 10287 relevant lines covered (90.55%)

286.38 hits per line

Source Files on job 1582.4
  • Tree
  • List 0
  • Changed 18
  • Source Changed 5
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1436
  • Travis Job 1582.4
  • 771dad59 on github
  • Prev Job for on master (#1575.1)
  • Next Job for on master (#1592.1)
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