Skip to content

Commit

Permalink
[wasm][debugger] Fix test regressions
Browse files Browse the repository at this point in the history
```
DebuggerTests.BreakpointTests.StepThroughOrNonUserCodeAttributeWithUserBp(justMyCodeEnabled: False, debuggingFunction: "Debugger.stepInto", evalFunName: "RunStepThrough", functionNameCheck1: "StepThrougUserBp", line1: 841, col1: 8, functionNameCheck2: "RunStepThrough", line2: 848, col2: 4) [FAIL]
..
Expected: DebuggerAttribute.StepThrougUserBp
Actual:   DebuggerAttribute.StepThroughUserBp
```

And
```
[xUnit.net 00:08:39.10]     DebuggerTests.BreakpointTests.StepThroughOrNonUserCodeAttributeResumeWithBp(justMyCodeEnabled: False, evalFunName: "RunStepThrough", decoratedFunName: "StepThrougBp") [FAIL]
  Failed DebuggerTests.BreakpointTests.StepThroughOrNonUserCodeAttributeResumeWithBp(justMyCodeEnabled: False, evalFunName: "RunStepThrough", decoratedFunName: "StepThrougBp") [80 ms]
  Error Message:
   Assert.True() Failure
Expected: True
Actual:   False
  Stack Trace:
     at DebuggerTests.DebuggerTestBase.SetBreakpointInMethod(String assembly, String type, String method, Int32 lineOffset, Int32 col, String condition) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1096
   at DebuggerTests.BreakpointTests.StepThroughOrNonUserCodeAttributeResumeWithBp(Boolean justMyCodeEnabled, String evalFunName, String decoratedFunName) in /_/src/mono/wasm/debugger/DebuggerTestSuite/BreakpointTests.cs:line 668
--- End of stack trace from previous location ---
```

Caused by:
```
commit 9d6396d
Author: Adeel Mujahid <[email protected]>
Date:   Sun Jul 24 06:24:28 2022 +0300

    Fix typos (#72709)
```
  • Loading branch information
radical committed Jul 25, 2022
1 parent 214ca6d commit 5bd85c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mono/wasm/debugger/DebuggerTestSuite/BreakpointTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,8 @@ public async Task StepThroughOrNonUserCodeAttributeStepInNoBp2(bool justMyCodeEn
}

[ConditionalTheory(nameof(RunningOnChrome))]
[InlineData(false, "RunStepThrough", "StepThrougBp", "", 846, 8)]
[InlineData(true, "RunStepThrough", "StepThrougBp", "RunStepThrough", 847, 8)]
[InlineData(false, "RunStepThrough", "StepThroughBp", "", 846, 8)]
[InlineData(true, "RunStepThrough", "StepThroughBp", "RunStepThrough", 847, 8)]
[InlineData(false, "RunNonUserCode", "NonUserCodeBp", "NonUserCodeBp", 852, 4)]
[InlineData(true, "RunNonUserCode", "NonUserCodeBp", "RunNonUserCode", 867, 8)]
[InlineData(false, "RunStepThroughWithNonUserCode", "StepThroughWithNonUserCodeBp", "", 932, 8)]
Expand Down Expand Up @@ -645,8 +645,8 @@ public async Task StepThroughOrNonUserCodeAttributeStepInWithBp(
}

[ConditionalTheory(nameof(RunningOnChrome))]
[InlineData(false, "RunStepThrough", "StepThrougBp")]
[InlineData(true, "RunStepThrough", "StepThrougBp")]
[InlineData(false, "RunStepThrough", "StepThroughBp")]
[InlineData(true, "RunStepThrough", "StepThroughBp")]
[InlineData(true, "RunNonUserCode", "NonUserCodeBp")]
[InlineData(false, "RunNonUserCode", "NonUserCodeBp")]
[InlineData(false, "RunStepThroughWithNonUserCode", "StepThroughWithNonUserCodeBp")]
Expand Down

0 comments on commit 5bd85c3

Please sign in to comment.