File tree Expand file tree Collapse file tree
src/test/java/org/jboss/aesh/mterm Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717import javax .swing .JTextArea ;
1818
19+ import org .jboss .aesh .mterm .util .MtermUtil ;
1920import org .junit .Assert ;
2021import org .junit .Before ;
2122import 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 ) {
Original file line number Diff line number Diff line change 2828 *
2929 * @author <a href="mailto:00hf11@gmail.com">Helio Frota</a>
3030 */
31- public class MtermUITest {
31+ public class MtermUITestFunctional {
3232
3333 FrameFixture frame ;
3434
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments