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

openconfig / ygot / 1582
89%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2019 01:27AM UTC
Jobs 5
Files 212
Run time 3min
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

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

145 of 145 new or added lines in 5 files covered. (100.0%)

37260 of 41148 relevant lines covered (90.55%)

1431.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1582.1 18 Oct 2019 01:27AM UTC 0
90.55
Travis Job 1582.1
2 1582.2 18 Oct 2019 01:27AM UTC 0
90.55
Travis Job 1582.2
3 1582.3 18 Oct 2019 01:27AM UTC 0
90.55
Travis Job 1582.3
4 1582.4 18 Oct 2019 01:27AM UTC 0
90.55
Travis Job 1582.4
5 1582.5 18 Oct 2019 01:31AM UTC 0
90.56
Travis Job 1582.5
Source Files on build 1582
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1582
  • 771dad59 on github
  • Prev Build on master (#1575)
  • Next Build on master (#1592)
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