Bug 581644 Allow stack frames as pseudo-objects for HPROF snapshots

Fix simple comparison test for PHD and system properties.

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=581644
Change-Id: I70166033fee769dfd2efa82f9b843c39c8748613
diff --git a/plugins/org.eclipse.mat.tests/src/org/eclipse/mat/tests/snapshot/GeneralSnapshotTests.java b/plugins/org.eclipse.mat.tests/src/org/eclipse/mat/tests/snapshot/GeneralSnapshotTests.java
index ea78fd8..b55fbdd 100644
--- a/plugins/org.eclipse.mat.tests/src/org/eclipse/mat/tests/snapshot/GeneralSnapshotTests.java
+++ b/plugins/org.eclipse.mat.tests/src/org/eclipse/mat/tests/snapshot/GeneralSnapshotTests.java
@@ -1152,11 +1152,15 @@
                         }

                         catch (IllegalArgumentException e)

                         {

-                            if (cmdname.equals("simple_comparison") && snapshot.getSnapshotInfo().getProperty("$heapFormat")

+                            if (cmdname.equals("simplecomparison") && snapshot.getSnapshotInfo().getProperty("$heapFormat")

                                             .equals("DTFJ-PHD") && t.contains("-query system_properties"))

                             {

                                 // This is an acceptable exception

                             }

+                            else

+                            {

+                                throw new SnapshotException(t, e);

+                            }

                         }

                     }

                     else if (link.getType() == QueryObjectLink.Type.DETAIL_RESULT)