コード例 #1
0
 protected override void AssertedBottomInsideOfLessOrEqualThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is <={arg.ActionValue} px bottom inside of {arg.SecondElement.ComponentName}.");
コード例 #2
0
 protected override void AssertedWidthApproximateSecondElementEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} width ", $"is ~{arg.ActionValue}% of {arg.SecondElement.ComponentName}.");
コード例 #3
0
 protected override void AssertedBelowOfGreaterOrEqualThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is >={arg.ActionValue} px below of {arg.SecondElement.ComponentName}.");
コード例 #4
0
 protected override void AssertedRightOfLessThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is <{arg.ActionValue} px right of {arg.SecondElement.ComponentName}.");
コード例 #5
0
 protected override void AssertedTopInsideOfGreaterThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is >{arg.ActionValue} px top inside of {arg.SecondElement.ComponentName}.");
コード例 #6
0
 protected override void AssertedBottomInsideOfLessThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is <{arg.ActionValue} px bottom inside of {arg.SecondElement.ComponentName}.");
コード例 #7
0
 protected override void AssertedNearTopOfEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is {arg.ActionValue} px near top of {arg.SecondElement.ComponentName}.");
コード例 #8
0
 protected override void AssertedBelowOfGreaterThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is >{arg.ActionValue} px below of {arg.SecondElement.ComponentName}.");
コード例 #9
0
 protected override void AssertedRightOfLessOrEqualThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is <={arg.ActionValue} px right of {arg.SecondElement.ComponentName}.");
コード例 #10
0
 protected override void AssertedNearLeftOfEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is {arg.ActionValue} px near left of {arg.SecondElement.ComponentName}.");
コード例 #11
0
 protected override void AssertedNearBottomOfGreaterOrEqualThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is >={arg.ActionValue} px near bottom of {arg.SecondElement.ComponentName}.");
コード例 #12
0
 protected override void AssertedHeightApproximateSecondElementEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} height ", $"is ~{arg.ActionValue}% of {arg.SecondElement.ComponentName}.");