Permalink
Browse files

Changes the test to verify the comment

The previous test had a namespace specified, which meant that the output varied based on where the test was called (Eclipse and terminal had different build paths). Trying to change the namespace in that file only resulted in the file not being cleaned up
  • Loading branch information...
Josh McManus
Josh McManus committed Nov 14, 2017
1 parent d36d07e commit a84f2d1395f9fedcf798543a743ffb5980e50e89
@@ -198,19 +198,19 @@ public void entryAction()
@Test
public void doActivity()
{
assertUmpleTemplateFor("doActivity.ump",languagePath + "/doActivity."+ languagePath +".txt","Switch", true, false);
assertUmpleTemplateFor("doActivity.ump",languagePath + "/doActivity."+ languagePath +".txt","Switch");
}
@Test
public void doActivity_Multiple()
{
assertUmpleTemplateFor("doActivity.ump",languagePath + "/doActivityMultiple."+ languagePath +".txt","Lamp", true, false);
assertUmpleTemplateFor("doActivity.ump",languagePath + "/doActivityMultiple."+ languagePath +".txt","Lamp");
}
@Test
public void doActivityMultipleInSameState()
{
assertUmpleTemplateFor("doActivityMulti.ump",languagePath + "/doActivityMulti."+ languagePath +".txt","X");
assertUmpleTemplateFor("doActivityMulti.ump",languagePath + "/doActivityMulti."+ languagePath +".txt","X", true, false);
}
@Test
@@ -3,7 +3,6 @@
package example;
// line 3 "../doActivity.ump"
public class Switch
{
@@ -87,7 +86,6 @@ public class Switch
{
try
{
// line 14 "../doActivity.ump"
keepDoing();
Thread.sleep(1);
}
@@ -3,6 +3,7 @@
// line 1 "doActivityMulti.ump"
public class X
{
@@ -90,6 +91,7 @@ public class X
{
try
{
// line 4 "doActivityMulti.ump"
blah1();
Thread.sleep(1);
}
@@ -103,6 +105,7 @@ public class X
{
try
{
// line 5 "doActivityMulti.ump"
blah2();
Thread.sleep(1);
}
@@ -3,7 +3,6 @@
package example;
// line 19 "../doActivity.ump"
public class Lamp
{
@@ -100,7 +99,6 @@ public class Lamp
{
try
{
// line 26 "../doActivity.ump"
alsoDo();
Thread.sleep(1);
}
@@ -114,7 +112,6 @@ public class Lamp
{
try
{
// line 32 "../doActivity.ump"
keepDoing();
Thread.sleep(1);
}

0 comments on commit a84f2d1

Please sign in to comment.