NEW - bug 285337: Support Model Unit Testing and Execution Results.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=285337
diff --git a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.ide.test/src/org/eclipse/axf/ide/test/TestExecutionTest.java b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.ide.test/src/org/eclipse/axf/ide/test/TestExecutionTest.java
index d94ebfd..ef94a8b 100644
--- a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.ide.test/src/org/eclipse/axf/ide/test/TestExecutionTest.java
+++ b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.ide.test/src/org/eclipse/axf/ide/test/TestExecutionTest.java
@@ -18,6 +18,7 @@
 

 import junit.framework.TestCase;

 

+import org.eclipse.amp.axf.ide.AXFWorkbenchPlugin;

 import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;

 import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;

 import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;

@@ -70,7 +71,8 @@
         bot.sleep(2000);

 

         control().menu("Test Once").click();

-        bot.sleep(2500);

+        bot.sleep(4000);

+        assertEquals(AXFWorkbenchPlugin.getDefault().getManager().getModels().size(), 0);

 

     }