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

Side by Side Diff: pkg/analyzer2dart/test/end2end_data.dart

Issue 898303002: Support instance methods in analyzer2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 /// Test data for the end2end test. 5 /// Test data for the end2end test.
6 library test.end2end.data; 6 library test.end2end.data;
7 7
8 import 'test_helper.dart'; 8 import 'test_helper.dart';
9 9
10 class TestSpec extends TestSpecBase { 10 class TestSpec extends TestSpecBase {
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 const Group('Constructors', const <TestSpec>[ 821 const Group('Constructors', const <TestSpec>[
822 const TestSpec(''' 822 const TestSpec('''
823 class C { 823 class C {
824 C() {} 824 C() {}
825 } 825 }
826 main() { 826 main() {
827 return new C(); 827 return new C();
828 } 828 }
829 '''), 829 '''),
830 ]), 830 ]),
831
832 const Group('Instance method', const <TestSpec>[
833 const TestSpec('''
834 class C {
835 C() {}
836 foo() {}
837 }
838 main() {
839 return new C().foo();
sigurdm 2015/02/06 15:04:46 You could add arguments to make the test stronger.
840 }
841 '''),
842 ]),
831 ]; 843 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698