Skip to content

Commit

Permalink
Merge pull request #159 from sunglim/serial
Browse files Browse the repository at this point in the history
Update Serial API
  • Loading branch information
devoncarew committed Mar 19, 2014
2 parents ca877c2 + b89aa71 commit 6514aa7
Show file tree
Hide file tree
Showing 6 changed files with 585 additions and 194 deletions.
8 changes: 4 additions & 4 deletions app/test_app/src/test_serial.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import 'package:chrome/chrome_app.dart' as chrome;

void main() {
group('chrome.serial', () {
test('getPorts', () {
chrome.serial.getPorts().then(expectAsync((List<String> ports) {
logMessage("ports = $ports");
expect(ports is List<String>, isTrue);
test('getDevices', () {
chrome.serial.getDevices().then(expectAsync((List<chrome.DeviceInfo> devices) {
logMessage("devices = $devices");
expect(devices is List<chrome.DeviceInfo>, isTrue);
}));
});
});
Expand Down
2 changes: 1 addition & 1 deletion drone_io.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -o xtrace

# run pub; ensure that the code is warning free
pub install
pub get
dartanalyzer tool/gen_apis.dart
dartanalyzer test/all.dart
dartanalyzer bin/setup_app.dart
Expand Down
Loading

0 comments on commit 6514aa7

Please sign in to comment.