Skip to content

Commit

Permalink
test: prevent overriding the deferred creation tests
Browse files Browse the repository at this point in the history
Making these tests final to prevent them from being casually overridden by a change that wants to allow non-deferred creation of the core model and frame that this test is specifically testing are not done.
  • Loading branch information
rhwood committed May 27, 2020
1 parent 81f7c85 commit f16be64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public abstract class AbstractTableActionBase<B extends NamedBean> {
* constructed, but defer that to later.
*/
@Test
public void testDeferredCreation() {
public final void testDeferredCreation() {
assertThat(a.m).isNull();
assertThat(a.f).isNull();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public abstract class AbstractTableTabActionBase {
* when constructed, but defer that to later.
*/
@Test
public void testDeferredCreation() {
public final void testDeferredCreation() {
assertThat(a.m).isNull();
assertThat(a.f).isNull();
assertThat(a.dataPanel).isNull();
Expand Down

0 comments on commit f16be64

Please sign in to comment.