Skip to content

Drop ValueFormatterTestBase::getFormatterClass #10

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

Merged
merged 3 commits into from
Mar 13, 2015

Conversation

thiemowmde
Copy link
Contributor

Similar to DataValues/Common#25:

Please review #9 (commit 1) first, merge it, then rebase this patch and review it separately. Or even better: Please move this component to Gerrit so I can create an actual chain that's actually reviewable?

Also: Why is this base class in Interfaces while the other is in Common?

Bug: T92268

@JeroenDeDauw
Copy link
Member

Why is this base class in Interfaces while the other is in Common?

Good question. This looks like a mistake that no one noticed until now. Not sure moving one is worthwhile. To me the real issue is that they are part of the packages public interface, and that simple clean-up like you are doing here is causing breaking changes affecting multiple components.

@thiemowmde
Copy link
Contributor Author

The fact that these abstract base classes are used outside of this component either means:

  • the way the components are split is bad and they should be merged, as suggested in T92279.
  • the abstract base classes should just die, see T92268.

Am I wrong?

@JeroenDeDauw
Copy link
Member

Replacing the abstract test classes with something more encapsulated would be nice.

@thiemowmde
Copy link
Contributor Author

"Nice to have" can not be merged, no matter how many people agree on that. This patch is a step in that direction and can be merged.

@JeroenDeDauw
Copy link
Member

Indeed. Note how I have not provided any review opinion. All I did was answer your questions ;)

JeroenDeDauw added a commit that referenced this pull request Mar 13, 2015
Drop ValueFormatterTestBase::getFormatterClass
@JeroenDeDauw JeroenDeDauw merged commit 21f4752 into master Mar 13, 2015
@JeroenDeDauw JeroenDeDauw deleted the getFormatterClass2 branch March 13, 2015 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants