Skip to content

Commit

Permalink
[WIP] Fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
grendello committed Jul 22, 2021
1 parent 717c5a3 commit 93beecf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,16 @@ public void OnCatch (Java.Lang.Throwable t)
MonitorAdbLogcat (
(string line) => {
foreach (LogcatLine ll in expectedLogLines) {
if (!line.StartsWith (ll.Text, StringComparison.Ordinal)) {
if (line.IndexOf (ll.Text, StringComparison.Ordinal) < 0) {
continue;
}
ll.Found = true;
ll.Count++;
ll.SequenceNumber = sequenceCounter++;
break;
}
return true;
}, logcatPath, 30);
return false; // we must examine all the lines, and returning `true` aborts the monitoring process
}, logcatPath, 15);
}

AssertValidLine (0, 0);
Expand Down

0 comments on commit 93beecf

Please sign in to comment.