android_device_test.dart 539 Bytes
Newer Older
1 2 3 4
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5
import 'package:flutter_tools/src/android/android_device.dart';
6 7
import 'package:test/test.dart';

8
import 'src/context.dart';
9

10
void main() {
11
  group('android_device', () {
12
    testUsingContext('stores the requested id', () {
13
      String deviceId = '1234';
14 15
      AndroidDevice device = new AndroidDevice(deviceId);
      expect(device.id, equals(deviceId));
16 17 18
    });
  });
}