Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created TRL/Rules tests; added @OverRide for Find and Replace Done bu…
…tton change; added two more mininal class tests.
- Loading branch information
Showing
5 changed files
with
75 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
java/test/jmri/jmrit/ctc/editor/code/ClassCompareContentsTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package jmri.jmrit.ctc.editor.code; | ||
|
||
import org.junit.*; | ||
|
||
/* | ||
* Tests for the ClassCompareContents Class | ||
* @author Dave Sand Copyright (C) 2019 | ||
*/ | ||
public class ClassCompareContentsTest { | ||
|
||
@Test | ||
public void testCtor() { | ||
Assert.assertNotNull("ClassCompareContents Constructor Return", new ClassCompareContents()); | ||
} | ||
|
||
@Before | ||
public void setUp() { | ||
jmri.util.JUnitUtil.setUp(); | ||
} | ||
|
||
@After | ||
public void tearDown() { | ||
jmri.util.JUnitUtil.tearDown(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
java/test/jmri/jmrit/ctc/editor/code/FindAndReplaceTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package jmri.jmrit.ctc.editor.code; | ||
|
||
import org.junit.*; | ||
|
||
/* | ||
* Tests for the FindAndReplace Class | ||
* @author Dave Sand Copyright (C) 2019 | ||
*/ | ||
public class FindAndReplaceTest { | ||
|
||
@Test | ||
public void testCtor() { | ||
Assert.assertNotNull("FindAndReplace Constructor Return", new FindAndReplace()); | ||
} | ||
|
||
@Before | ||
public void setUp() { | ||
jmri.util.JUnitUtil.setUp(); | ||
} | ||
|
||
@After | ||
public void tearDown() { | ||
jmri.util.JUnitUtil.tearDown(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters