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

JuliaLang / DataStructures.jl / 768
95%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2017 06:40PM UTC
Jobs 4
Files 31
Run time 96min
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

pending completion
768

push

travis-ci

web-flow
<a href="https://github.com/JuliaLang/DataStructures.jl/commit/<a class=hub.com/JuliaLang/DataStructures.jl/commit/f322f20ac0f38e7de7220cb8138d89ac2387409c">f322f20ac<a href="https://github.com/JuliaLang/DataStructures.jl/commit/f322f20ac0f38e7de7220cb8138d89ac2387409c">&quot;&gt;RFC: revert &amp;quot;revert remove HashDict&amp;quot; (#252)

* Revert &amp;quot;Revert &amp;quot;Remove HashDict&quot;&quot;

This reverts commit </a><a class="double-link" href="https://github.com/JuliaLang/DataStructures.jl/commit/<a class="double-link" href="https://github.com/JuliaLang/DataStructures.jl/commit/4a9edb3aadda8d58f2eb97cb73b755fd4ddc917a">4a9edb3aa</a>">4a9edb3aa</a><a href="https://github.com/JuliaLang/DataStructures.jl/commit/f322f20ac0f38e7de7220cb8138d89ac2387409c">.

* Fix getindex for DefaultDictBase

* Previously, `getindex` always called &quot;get!(h::Associative, key, default)&quot;
  to return a default value.
* When DefaultDict was based on HashDict (now deleted) and the
  default value was calculated using a function, a version of this
  function with signature

     get!(h::HashDict, key, default::Base.Callable)

  was called.
* Base.Dict has no such function (nor does DataStructures.OrderedDict),
  so the (incorrect) value returned was the function object which
  generated the default value, not the default value itself.
* Additionally, there were no tests for DefaultDicts with defaults
  generated by a function.

* Fixed so that getindex calls the `do` function form of `get!` when
  appropriate
* Added tests for DefaultDicts with defaults generated by functions

* Restore functionality to push tuples onto DefaultDicts

* Used by Gadfly

14 of 14 new or added lines in 2 files covered. (100.0%)

2104 of 2192 relevant lines covered (95.99%)

657465.75 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/default_dict.jl
Jobs
ID Job ID Ran Files Coverage
1 768.1 17 Jan 2017 06:40PM UTC 0
93.01
Travis Job 768.1
2 768.2 17 Jan 2017 06:40PM UTC 0
94.57
Travis Job 768.2
4 768.4 17 Jan 2017 08:16PM UTC 0
93.01
Travis Job 768.4
5 768.5 17 Jan 2017 08:14PM UTC 0
94.57
Travis Job 768.5
Source Files on build 768
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #768
  • f322f20a on github
  • Prev Build on master (#761)
  • Next Build on master (#774)
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

© 2025 Coveralls, Inc