Disable a text field test that fails on some Macs with libtxt (#14895)

This commit is contained in:
Jason Simmons 2018-02-26 14:45:00 -08:00 committed by GitHub
parent eaa9b47a4a
commit aa04a056f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -737,8 +737,8 @@ void main() {
expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFirstPos)), isTrue); expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFirstPos)), isTrue);
expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFourthPos)), isFalse); expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFourthPos)), isFalse);
}, },
// This test does not run as expected in the MacOS environment on Travis // This test fails on some Mac environments when libtxt is enabled.
skip: runningOnTravis && Platform.isMacOS); skip: Platform.isMacOS);
testWidgets('TextField smoke test', (WidgetTester tester) async { testWidgets('TextField smoke test', (WidgetTester tester) async {
String textFieldValue; String textFieldValue;

View File

@ -320,8 +320,8 @@ void main() {
], ],
); );
}, },
// Ahem-based tests don't yet quite work on Windows or the MacOS environment in Travis // Ahem-based tests don't yet quite work on Windows or some MacOS environments
skip: Platform.isWindows || (runningOnTravis && Platform.isMacOS)); skip: Platform.isWindows || Platform.isMacOS);
test('TextPainter - line wrap mid-word', () { test('TextPainter - line wrap mid-word', () {
final TextPainter painter = new TextPainter() final TextPainter painter = new TextPainter()

View File

@ -70,8 +70,8 @@ void main() {
expect(boxes.any((ui.TextBox box) => box.left == 250 && box.top == 0), isTrue); expect(boxes.any((ui.TextBox box) => box.left == 250 && box.top == 0), isTrue);
expect(boxes.any((ui.TextBox box) => box.right == 100 && box.top == 10), isTrue); expect(boxes.any((ui.TextBox box) => box.right == 100 && box.top == 10), isTrue);
}, },
// Ahem-based tests don't yet quite work on Windows or the MacOS environment in Travis // Ahem-based tests don't yet quite work on Windows or some MacOS environments
skip: Platform.isWindows || (runningOnTravis && Platform.isMacOS)); skip: Platform.isWindows || Platform.isMacOS);
test('getWordBoundary control test', () { test('getWordBoundary control test', () {
final RenderParagraph paragraph = new RenderParagraph( final RenderParagraph paragraph = new RenderParagraph(