Skip to content

Conversation

@imasahiro
Copy link
Member

… test more easily

@codecov
Copy link

codecov bot commented May 23, 2022

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 70.06%. Comparing base (8a32763) to head (7490497).
Report is 312 commits behind head on main.

Files with missing lines Patch % Lines
...linecorp/centraldogma/testing/SettableWatcher.java 0.00% 19 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #693      +/-   ##
============================================
- Coverage     70.19%   70.06%   -0.14%     
+ Complexity     3419     3414       -5     
============================================
  Files           349      350       +1     
  Lines         13468    13487      +19     
  Branches       1454     1457       +3     
============================================
- Hits           9454     9449       -5     
- Misses         3133     3154      +21     
- Partials        881      884       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

import com.linecorp.centraldogma.client.Watcher;
import com.linecorp.centraldogma.common.Revision;

public final class SettableWatcher<T> implements Watcher<T> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind adding Javadoc and simple test suites to ensure the feature?

updateListeners.clear();
}

public void setValue(T value) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a Javadoc?

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.

2 participants