60469482f1
TBR=sigmund@google.com,sra@google.com Change-Id: I424b087830954329f4399f6b169f572196a4f658 Reviewed-on: https://dart-review.googlesource.com/46948 Commit-Queue: Terry Lucas <terry@google.com> Reviewed-by: Terry Lucas <terry@google.com>
20 lines
516 B
Dart
20 lines
516 B
Dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'dart:html';
|
|
|
|
import 'package:unittest/unittest.dart';
|
|
import 'package:unittest/html_config.dart';
|
|
|
|
main() {
|
|
useHtmlConfiguration();
|
|
|
|
test('Basic TouchEvent', () {
|
|
if (TouchEvent.supported) {
|
|
var e = new TouchEvent('touch');
|
|
expect(e is TouchEvent, isTrue);
|
|
}
|
|
});
|
|
}
|