mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-20 10:37:27 +08:00
Merge remote-tracking branch 'origin/GP-0_Dan_testFixes-2023-07-25-1' into patch
This commit is contained in:
+14
-7
@@ -196,7 +196,8 @@ public class DebuggerPcodeStepperProviderTest extends AbstractGhidraHeadedDebugg
|
||||
goto <L0>;
|
||||
""");
|
||||
assertEquals(3, rows.size());
|
||||
assertEquals("<html><font color=\"Blue\"><0></font></html>", rows.get(0).getLabel());
|
||||
assertEquals("<html><font color=\"#0000ff\"><0></font></html>",
|
||||
rows.get(0).getLabel());
|
||||
assertEquals("<html></html>", rows.get(1).getLabel());
|
||||
assertEquals(FallthroughPcodeRow.class, rows.get(2).getClass());
|
||||
}
|
||||
@@ -211,7 +212,8 @@ public class DebuggerPcodeStepperProviderTest extends AbstractGhidraHeadedDebugg
|
||||
assertEquals(4, rows.size());
|
||||
assertEquals("<html></html>", rows.get(0).getLabel());
|
||||
assertEquals("<html></html>", rows.get(1).getLabel());
|
||||
assertEquals("<html><font color=\"Blue\"><0></font></html>", rows.get(2).getLabel());
|
||||
assertEquals("<html><font color=\"#0000ff\"><0></font></html>",
|
||||
rows.get(2).getLabel());
|
||||
assertEquals(FallthroughPcodeRow.class, rows.get(3).getClass());
|
||||
}
|
||||
|
||||
@@ -225,7 +227,8 @@ public class DebuggerPcodeStepperProviderTest extends AbstractGhidraHeadedDebugg
|
||||
assertEquals(3, rows.size());
|
||||
assertEquals("<html></html>", rows.get(0).getLabel());
|
||||
assertEquals("<html></html>", rows.get(1).getLabel());
|
||||
assertEquals("<html><font color=\"Blue\"><0></font></html>", rows.get(2).getLabel());
|
||||
assertEquals("<html><font color=\"#0000ff\"><0></font></html>",
|
||||
rows.get(2).getLabel());
|
||||
assertEquals(FallthroughPcodeRow.class, rows.get(2).getClass());
|
||||
}
|
||||
|
||||
@@ -240,11 +243,15 @@ public class DebuggerPcodeStepperProviderTest extends AbstractGhidraHeadedDebugg
|
||||
""");
|
||||
assertEquals(5, rows.size());
|
||||
// NB. templates number labels in order of appearance in BRANCHes
|
||||
assertEquals("<html><font color=\"Blue\"><3></font></html>", rows.get(0).getLabel());
|
||||
assertEquals("<html><font color=\"Blue\"><0></font></html>", rows.get(1).getLabel());
|
||||
assertEquals("<html><font color=\"Blue\"><1></font></html>", rows.get(2).getLabel());
|
||||
assertEquals("<html><font color=\"#0000ff\"><3></font></html>",
|
||||
rows.get(0).getLabel());
|
||||
assertEquals("<html><font color=\"#0000ff\"><0></font></html>",
|
||||
rows.get(1).getLabel());
|
||||
assertEquals("<html><font color=\"#0000ff\"><1></font></html>",
|
||||
rows.get(2).getLabel());
|
||||
assertEquals("<html></html>", rows.get(3).getLabel());
|
||||
assertEquals("<html><font color=\"Blue\"><2></font></html>", rows.get(4).getLabel());
|
||||
assertEquals("<html><font color=\"#0000ff\"><2></font></html>",
|
||||
rows.get(4).getLabel());
|
||||
assertEquals(FallthroughPcodeRow.class, rows.get(4).getClass());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user