FRosner / DataGenerator

Tool for generating various test data for machine learning and data mining algorithms.
Apache License 2.0
10 stars 2 forks source link

Refactor "SwingMenuTestUtil" concerning dialog input verification methods #220

Open Husterknupp opened 10 years ago

Husterknupp commented 10 years ago

The SwingMenuTestUtil has two methods doing pretty similar things while the pointing out the difference between them is quite hard. They have to be reworked or at least should the names be improved, in order to make the difference between them more obvious.

Same applies for:

FRosner commented 10 years ago

When thinking about it I guess that it would be possible to merge them to one method:

assertWorkingInputVerificationOfFeatureDefinitionDialogOpenedBy(AbstractButton button)
assertWorkingInputVerificationOfFeatureDefinitionDialogOpenedWith(AbstractButton button)
assertWorkingInputVerificationOfFeatureDefinitionDialogByClicking(AbstractButton button)
...

What I like about this solution:

What I don't like / what we need to be aware of:

FRosner commented 10 years ago

Why is this tagged as backend? I'd rather say that input verification is a front-end issue.

Why is this tagges as duplicate? If an issue is duplicate, please clearly state which issue it is duplicating in the description.

Husterknupp commented 10 years ago

Oh sorry for that. I misunderstood the meaning of the duplicate tag.

FRosner commented 10 years ago

Yeah you cannot delete issues. So if you create one that will not be done, set it on "won't fix" and if you create one duplicate by mistake, set it "duplicate".