Skip to content

Commit

Permalink
[tests] Cosmetic changes to the marshal methods hang test (#9357)
Browse files Browse the repository at this point in the history
Context: #9352

Remove a misleading copy pasta comment and change the location
of message we use to test whether the app actually ran.
  • Loading branch information
grendello authored Oct 2, 2024
1 parent 884c56e commit 04de4fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ protected override void OnStart ()
} catch (Java.IO.IOException) {
GC.Collect ();
}
Console.WriteLine (""XXX:OnStart done"");
}
class StreamMediaDataSource (System.IO.Stream data) : MediaDataSource
Expand Down Expand Up @@ -81,7 +82,6 @@ public override void Close ()
}
";

// All Tests here require the emulator to be started with -writable-system
[Test]
public void MarshalMethodsAppRuns ()
{
Expand All @@ -103,7 +103,7 @@ public void MarshalMethodsAppRuns ()
Assert.True (apkBuilder.Install (proj), "Project should have installed.");
RunProjectAndAssert (proj, apkBuilder);

const string expectedLogcatOutput = "XXX:END //StreamMediaDataSource.ReadAt";
const string expectedLogcatOutput = "XXX:OnStart done";
Assert.IsTrue (
MonitorAdbLogcat (
InstallAndRunTests.CreateLineChecker (expectedLogcatOutput),
Expand Down

0 comments on commit 04de4fe

Please sign in to comment.