Disable a text field test that fails on some Macs with libtxt (#14895)
This commit is contained in:
parent
eaa9b47a4a
commit
aa04a056f3
@ -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;
|
||||||
|
@ -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()
|
||||||
|
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user