public LogWaiter(string message, bool isRegExp, bool expectedErrorMessageCouldBeSubstring, LogType logType, float timeout) { this.logType = logType; Application.logMessageReceived += ApplicationOnLogMessageReceived; OnCompleteCallback += OnComplete; stringComparator = UITestUtils.GetStringComparator(message, isRegExp, expectedErrorMessageCouldBeSubstring); this.message = message; StartWait(timeout); }
private void TestSingleComparator(IStringComparator comparator) { _stringsToTest.ForEach(item => Assert.IsTrue(comparator.CompareTwoStrings(item[0], item[1]))); }
private void TestSingleComparator(IStringComparator comparator) { _stringsToTest.ForEach(item => Assert.IsTrue(comparator.CompareTwoStrings(item[0], item[1]))); }
public Joiner(IStringComparator comparator) { this.comparator = comparator; }