| OLD | NEW | 
|---|
| 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 library test.services.correction.change; |  | 
| 6 |  | 
| 7 import 'package:analysis_server/src/constants.dart'; | 5 import 'package:analysis_server/src/constants.dart'; | 
| 8 import 'package:analysis_server/src/protocol_server.dart'; | 6 import 'package:analysis_server/src/protocol_server.dart'; | 
| 9 import 'package:analyzer/src/generated/source.dart'; | 7 import 'package:analyzer/src/generated/source.dart'; | 
| 10 import 'package:test/test.dart'; | 8 import 'package:test/test.dart'; | 
| 11 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 9 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 
| 12 | 10 | 
| 13 main() { | 11 main() { | 
| 14   defineReflectiveSuite(() { | 12   defineReflectiveSuite(() { | 
| 15     defineReflectiveTests(ChangeTest); | 13     defineReflectiveTests(ChangeTest); | 
| 16     defineReflectiveTests(EditTest); | 14     defineReflectiveTests(EditTest); | 
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 289     expect(position.offset, 1); | 287     expect(position.offset, 1); | 
| 290     expect(position.toString(), '{"file":"/test.dart","offset":1}'); | 288     expect(position.toString(), '{"file":"/test.dart","offset":1}'); | 
| 291   } | 289   } | 
| 292 | 290 | 
| 293   void test_toJson() { | 291   void test_toJson() { | 
| 294     Position position = new Position('/test.dart', 1); | 292     Position position = new Position('/test.dart', 1); | 
| 295     var expectedJson = {FILE: '/test.dart', OFFSET: 1}; | 293     var expectedJson = {FILE: '/test.dart', OFFSET: 1}; | 
| 296     expect(position.toJson(), expectedJson); | 294     expect(position.toJson(), expectedJson); | 
| 297   } | 295   } | 
| 298 } | 296 } | 
| OLD | NEW | 
|---|