forked from firka/flutter
@@ -2,6 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
@Tags(<String>['create'])
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
|
||||
@@ -90,5 +90,5 @@ void main() {
|
||||
expect(result, isList);
|
||||
expect(result, isNotEmpty);
|
||||
});
|
||||
}, timeout: const Timeout.factor(10)); // This test uses the `flutter` tool, which could be blocked behind the startup lock for a long time.
|
||||
}, timeout: const Timeout.factor(10), tags: <String>['integration']); // This test uses the `flutter` tool, which could be blocked behind the startup lock for a long time.
|
||||
}
|
||||
|
||||
@@ -49,5 +49,5 @@ void main() {
|
||||
reason: 'After $i steps, debugger should stop at $expectedLine but stopped at $actualLine');
|
||||
}
|
||||
});
|
||||
}, timeout: const Timeout.factor(10)); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}, timeout: const Timeout.factor(10), tags: <String>['integration']); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ void main() {
|
||||
await breakInBuildMethod(_flutter);
|
||||
await evaluateComplexReturningExpressions(_flutter);
|
||||
});
|
||||
}, timeout: const Timeout.factor(10)); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}, timeout: const Timeout.factor(10), tags: <String>['integration']); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
|
||||
group('flutter test expression evaluation', () {
|
||||
Directory tempDir;
|
||||
@@ -126,7 +126,7 @@ void main() {
|
||||
await evaluateComplexReturningExpressions(_flutter);
|
||||
});
|
||||
// Skipped due to https://github.com/flutter/flutter/issues/26518
|
||||
}, timeout: const Timeout.factor(10), skip: true); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}, timeout: const Timeout.factor(10), skip: true, tags: <String>['integration']); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}
|
||||
|
||||
Future<void> evaluateTrivialExpressions(FlutterTestDriver flutter) async {
|
||||
|
||||
@@ -58,5 +58,5 @@ void main() {
|
||||
await _flutterAttach.attach(_flutterRun.vmServicePort);
|
||||
await _flutterAttach.hotReload();
|
||||
});
|
||||
}, timeout: const Timeout.factor(10)); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}, timeout: const Timeout.factor(10), tags: <String>['integration']); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}
|
||||
|
||||
@@ -55,5 +55,5 @@ void main() {
|
||||
await _flutter.run(pidFile: pidFile);
|
||||
expect(pidFile.existsSync(), isTrue);
|
||||
});
|
||||
}, timeout: const Timeout.factor(10)); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}, timeout: const Timeout.factor(10), tags: <String>['integration']); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}
|
||||
|
||||
@@ -149,5 +149,5 @@ void main() {
|
||||
await _flutter.resume();
|
||||
await subscription.cancel();
|
||||
});
|
||||
}, timeout: const Timeout.factor(10)); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}, timeout: const Timeout.factor(10), tags: <String>['integration']); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}
|
||||
|
||||
@@ -45,5 +45,5 @@ void main() {
|
||||
await Future<void>.delayed(requiredLifespan);
|
||||
expect(_flutter.hasExited, equals(false));
|
||||
});
|
||||
}, timeout: const Timeout.factor(10)); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}, timeout: const Timeout.factor(10), tags: <String>['integration']); // The DevFS sync takes a really long time, so these tests can be slow.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user