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

draw-dev / DRAW / 851
0%

Build:
DEFAULT BRANCH: master
Ran 01 May 2018 02:35PM UTC
Jobs 1
Files 37
Run time 2s
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
851

push

travis-ci

web-flow
Basic Multireddit Implementation (#72)

* Add a basic implementation of Multireddit.dart

* Added the following 3 Enum Classes:
        - Visibility
        - WeightingScheme
        - IconName
* Added name and parse consturctors.
* Added the Copy function implementation.

* Add test and test data for copy function for multi

* Transition from external to internal ref of RegExp

Moves from referencing RegExp as the static variables of the related
objects to storing the RegExp as private variables in this class and
referencing them directly.

* Remove name constructor, move state to map object

This commit adds a great deal of refactoring:

1.) Added RedditBaseInitializedMixin to the Multireddit class, this
allows it to maintain all of it's state in the `data` map.
2.) Transitioned all of Multireddits state data into map called `data`.
3.) Removed name consturctor as the only way to construct the
multireddit object is via the structured map data.

* Add delete method, fields, tests to multireddit

New Fields Added to multireddit include:
        - canEdit
        - createdUTC
        - subreddits (Returned as a List of SubredditRefs!)
        - displayName (From map)
        - visibility
        - weightingScheme
        - iconName
        - keyColor
        - over18

Adds Delete delete method to delete valid multireddit within user roles.

Added corresponding tests for new fields and the delete method.

* Add JSON test dummy data for delete and new fields

* Refactor old and add new comments

* Add test and method for adding subreddits to multi

Added a very simple test for adding the subreddit to a mutli, this
funcitnoality seems to be working but a race condition has made it
diffcult to write tests for. TODO(@ckartik): Look into how to test when
race conditions are present.

* Fixed issues pointed out by Ben in PR.

* Fixed linter and formating issues.

* Add multi copy test without using pa... (continued)

764 of 1608 relevant lines covered (47.51%)

1.05 hits per line

Jobs
ID Job ID Ran Files Coverage
2 851.2 01 May 2018 02:35PM UTC 0
47.23
Travis Job 851.2
Source Files on build 851
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #851
  • 0cdbf2d3 on github
  • Prev Build on master (#850)
  • Next Build on master (#856)
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