Skip to content

Commit 338aef0

Browse files
committed
Merge pull request #84 from eprogramming/master
functional test not part of unit test
2 parents f1e423e + a0ee2fe commit 338aef0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/test/java/org/jboss/aesh/mterm/action/BaseActionTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import javax.swing.JTextArea;
1818

19+
import org.jboss.aesh.mterm.util.MtermUtil;
1920
import org.junit.Assert;
2021
import org.junit.Before;
2122
import org.junit.Test;
@@ -31,6 +32,7 @@ public class BaseActionTest {
3132
@Before
3233
public void setUp() {
3334
textArea = new JTextArea();
35+
MtermUtil.INSTANCE.createPs1("");
3436
action = new BaseAction(textArea) {
3537
@Override
3638
public void actionPerformed(ActionEvent e) {

src/test/java/org/jboss/aesh/mterm/gui/MtermUITest.java renamed to src/test/java/org/jboss/aesh/mterm/gui/MtermUITestFunctional.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
* @author <a href="mailto:[email protected]">Helio Frota</a>
3030
*/
31-
public class MtermUITest {
31+
public class MtermUITestFunctional {
3232

3333
FrameFixture frame;
3434

src/test/java/org/jboss/aesh/mterm/util/MtermUtilTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void testCreatePs1() {
2525
String ps1 = MtermUtil.INSTANCE.createPs1("");
2626
Assert.assertTrue(ps1.contains("@"));
2727
Assert.assertTrue(ps1.contains("["));
28-
Assert.assertTrue(ps1.contains("~]$"));
28+
Assert.assertTrue(ps1.contains("]$"));
2929
Assert.assertEquals(ps1, MtermUtil.INSTANCE.getPs1());
3030
}
3131

0 commit comments

Comments
 (0)