Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address deprecation lints #94

Merged

Conversation

aaronlademann-wf
Copy link
Contributor

Ultimate problem:

The dart-lang/test has a number of deprecations that we couldn't address previously because of some issues with the throwsA replacement. Those issues appear to have been fixed in a recent update to the test package.

How it was fixed:

Address deprecations

Testing suggestions:

Passing CI build

Areas of regression

Tests


FYA: @greglittlefield-wf @jacehensley-wf @clairesarsam-wf

@aviary2-wf
Copy link

aviary2-wf commented Jul 10, 2017

Raven

Number of Findings: 0

@codecov-io
Copy link

codecov-io commented Jul 10, 2017

Codecov Report

Merging #94 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #94   +/-   ##
=======================================
  Coverage   94.86%   94.86%           
=======================================
  Files          31       31           
  Lines        1536     1536           
=======================================
  Hits         1457     1457           
  Misses         79       79

@jacehensley-wf
Copy link
Contributor

Can you also bump the over_react_test dep to 1.0.1 in this PR too?

@aaronlademann-wf
Copy link
Contributor Author

@jacehensley-wf I did.

@jacehensley-wf
Copy link
Contributor

🤦‍♂️ I didn't see that

@jacehensley-wf
Copy link
Contributor

+1

@@ -37,11 +37,15 @@ void storeZone([Zone zone]) {
/// Calls [expect] in package:test/test.dart in the zone stored in [setZone].
///
/// Useful for expectations in blocks called in other zones.
void zonedExpect(actual, matcher,
{String reason, bool verbose: false, ErrorFormatter formatter}) {
void zonedExpect(actual, matcher, {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not part of the public API, these can just be removed now.

@aaronlademann-wf
Copy link
Contributor Author

@jacehensley-wf feedback addressed.

@jacehensley-wf
Copy link
Contributor

+1

@clairesarsam-wf
Copy link
Contributor

QA +10

  • Tests pass
  • throws deprecation hints are no longer output by analyzer
  • Dev +1
  • Rosie ran/Rosie comment displays expected info
  • Dependency Scan Clean

Ready to merge.

@clairesarsam-wf clairesarsam-wf merged commit 9ddcb59 into Workiva:master Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants