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

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

Issue 10887016: Reapply DOMFormData => FormData rename. (this time with a fix for Dartium) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library('FormDataTest'); 5 #library('FormDataTest');
6 6
7 #import('../../pkg/unittest/unittest.dart'); 7 #import('../../pkg/unittest/unittest.dart');
8 #import('../../pkg/unittest/html_config.dart'); 8 #import('../../pkg/unittest/html_config.dart');
9 #import('dart:html'); 9 #import('dart:html');
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 test('appendTest', () { 28 test('appendTest', () {
29 var form = new FormData(); 29 var form = new FormData();
30 form.append('test', '1', 'foo'); 30 form.append('test', '1', 'foo');
31 form.append('username', 'Elmo', 'foo'); 31 form.append('username', 'Elmo', 'foo');
32 form.append('address', '1 Sesame Street', 'foo'); 32 form.append('address', '1 Sesame Street', 'foo');
33 form.append('password', '123456', 'foo'); 33 form.append('password', '123456', 'foo');
34 expect(form, isNotNull); 34 expect(form, isNotNull);
35 }); 35 });
36 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698