Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: tests/html/fileapi_test.dart

Issue 231413003: using unittest via package import (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/html/exceptions_test.dart ('k') | tests/html/form_data_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library fileapi; 1 library fileapi;
2 import '../../pkg/unittest/lib/unittest.dart'; 2 import 'package:unittest/unittest.dart';
3 import '../../pkg/unittest/lib/html_individual_config.dart'; 3 import 'package:unittest/html_individual_config.dart';
4 import 'dart:html'; 4 import 'dart:html';
5 import 'dart:async'; 5 import 'dart:async';
6 6
7 class FileAndDir { 7 class FileAndDir {
8 FileEntry file; 8 FileEntry file;
9 DirectoryEntry dir; 9 DirectoryEntry dir;
10 FileAndDir(this.file, this.dir); 10 FileAndDir(this.file, this.dir);
11 } 11 }
12 12
13 FileSystem fs; 13 FileSystem fs;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 expect(fileObj.name, fileAndDir.file.name); 189 expect(fileObj.name, fileAndDir.file.name);
190 expect(fileObj.relativePath, ''); 190 expect(fileObj.relativePath, '');
191 expect(new DateTime.now().difference( 191 expect(new DateTime.now().difference(
192 fileObj.lastModifiedDate).inSeconds, lessThan(60)); 192 fileObj.lastModifiedDate).inSeconds, lessThan(60));
193 }); 193 });
194 }); 194 });
195 }); 195 });
196 } 196 }
197 }); 197 });
198 } 198 }
OLDNEW
« no previous file with comments | « tests/html/exceptions_test.dart ('k') | tests/html/form_data_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698