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

Side by Side Diff: pkg/analysis_server/test/integration/integration_test_methods.dart

Issue 1372623004: New analysis.implemented notification specification. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Simplify to just list of classes/members that have implementations. Created 5 years, 2 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
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 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script 6 // To regenerate the file, use the script
7 // "pkg/analysis_server/tool/spec/generate_files". 7 // "pkg/analysis_server/tool/spec/generate_files".
8 8
9 /** 9 /**
10 * Convenience methods for running integration tests 10 * Convenience methods for running integration tests
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 * associated with a particular region. 682 * associated with a particular region.
683 */ 683 */
684 Stream<AnalysisHighlightsParams> onAnalysisHighlights; 684 Stream<AnalysisHighlightsParams> onAnalysisHighlights;
685 685
686 /** 686 /**
687 * Stream controller for [onAnalysisHighlights]. 687 * Stream controller for [onAnalysisHighlights].
688 */ 688 */
689 StreamController<AnalysisHighlightsParams> _onAnalysisHighlights; 689 StreamController<AnalysisHighlightsParams> _onAnalysisHighlights;
690 690
691 /** 691 /**
692 * Reports the classes that are implemented or extended and class members
693 * that are implemented or overridden in a file.
694 *
695 * This notification is not subscribed to by default. Clients can subscribe
696 * by including the value "IMPLEMENTED" in the list of services passed in an
697 * analysis.setSubscriptions request.
698 *
699 * Parameters
700 *
701 * file ( FilePath )
702 *
703 * The file with which the implementations are associated.
704 *
705 * classes ( List<ImplementedClass> )
706 *
707 * The classes defined in the file that are implemented or extended.
708 *
709 * members ( List<ImplementedMember> )
710 *
711 * The member defined in the file that are implemented or overridden.
712 */
713 Stream<AnalysisImplementedParams> onAnalysisImplemented;
714
715 /**
716 * Stream controller for [onAnalysisImplemented].
717 */
718 StreamController<AnalysisImplementedParams> _onAnalysisImplemented;
719
720 /**
692 * Reports that the navigation information associated with a region of a 721 * Reports that the navigation information associated with a region of a
693 * single file has become invalid and should be re-requested. 722 * single file has become invalid and should be re-requested.
694 * 723 *
695 * This notification is not subscribed to by default. Clients can subscribe 724 * This notification is not subscribed to by default. Clients can subscribe
696 * by including the value "INVALIDATE" in the list of services passed in an 725 * by including the value "INVALIDATE" in the list of services passed in an
697 * analysis.setSubscriptions request. 726 * analysis.setSubscriptions request.
698 * 727 *
699 * Parameters 728 * Parameters
700 * 729 *
701 * file ( FilePath ) 730 * file ( FilePath )
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 _onAnalysisAnalyzedFiles = new StreamController<AnalysisAnalyzedFilesParams> (sync: true); 1629 _onAnalysisAnalyzedFiles = new StreamController<AnalysisAnalyzedFilesParams> (sync: true);
1601 onAnalysisAnalyzedFiles = _onAnalysisAnalyzedFiles.stream.asBroadcastStream( ); 1630 onAnalysisAnalyzedFiles = _onAnalysisAnalyzedFiles.stream.asBroadcastStream( );
1602 _onAnalysisErrors = new StreamController<AnalysisErrorsParams>(sync: true); 1631 _onAnalysisErrors = new StreamController<AnalysisErrorsParams>(sync: true);
1603 onAnalysisErrors = _onAnalysisErrors.stream.asBroadcastStream(); 1632 onAnalysisErrors = _onAnalysisErrors.stream.asBroadcastStream();
1604 _onAnalysisFlushResults = new StreamController<AnalysisFlushResultsParams>(s ync: true); 1633 _onAnalysisFlushResults = new StreamController<AnalysisFlushResultsParams>(s ync: true);
1605 onAnalysisFlushResults = _onAnalysisFlushResults.stream.asBroadcastStream(); 1634 onAnalysisFlushResults = _onAnalysisFlushResults.stream.asBroadcastStream();
1606 _onAnalysisFolding = new StreamController<AnalysisFoldingParams>(sync: true) ; 1635 _onAnalysisFolding = new StreamController<AnalysisFoldingParams>(sync: true) ;
1607 onAnalysisFolding = _onAnalysisFolding.stream.asBroadcastStream(); 1636 onAnalysisFolding = _onAnalysisFolding.stream.asBroadcastStream();
1608 _onAnalysisHighlights = new StreamController<AnalysisHighlightsParams>(sync: true); 1637 _onAnalysisHighlights = new StreamController<AnalysisHighlightsParams>(sync: true);
1609 onAnalysisHighlights = _onAnalysisHighlights.stream.asBroadcastStream(); 1638 onAnalysisHighlights = _onAnalysisHighlights.stream.asBroadcastStream();
1639 _onAnalysisImplemented = new StreamController<AnalysisImplementedParams>(syn c: true);
1640 onAnalysisImplemented = _onAnalysisImplemented.stream.asBroadcastStream();
1610 _onAnalysisInvalidate = new StreamController<AnalysisInvalidateParams>(sync: true); 1641 _onAnalysisInvalidate = new StreamController<AnalysisInvalidateParams>(sync: true);
1611 onAnalysisInvalidate = _onAnalysisInvalidate.stream.asBroadcastStream(); 1642 onAnalysisInvalidate = _onAnalysisInvalidate.stream.asBroadcastStream();
1612 _onAnalysisNavigation = new StreamController<AnalysisNavigationParams>(sync: true); 1643 _onAnalysisNavigation = new StreamController<AnalysisNavigationParams>(sync: true);
1613 onAnalysisNavigation = _onAnalysisNavigation.stream.asBroadcastStream(); 1644 onAnalysisNavigation = _onAnalysisNavigation.stream.asBroadcastStream();
1614 _onAnalysisOccurrences = new StreamController<AnalysisOccurrencesParams>(syn c: true); 1645 _onAnalysisOccurrences = new StreamController<AnalysisOccurrencesParams>(syn c: true);
1615 onAnalysisOccurrences = _onAnalysisOccurrences.stream.asBroadcastStream(); 1646 onAnalysisOccurrences = _onAnalysisOccurrences.stream.asBroadcastStream();
1616 _onAnalysisOutline = new StreamController<AnalysisOutlineParams>(sync: true) ; 1647 _onAnalysisOutline = new StreamController<AnalysisOutlineParams>(sync: true) ;
1617 onAnalysisOutline = _onAnalysisOutline.stream.asBroadcastStream(); 1648 onAnalysisOutline = _onAnalysisOutline.stream.asBroadcastStream();
1618 _onAnalysisOverrides = new StreamController<AnalysisOverridesParams>(sync: t rue); 1649 _onAnalysisOverrides = new StreamController<AnalysisOverridesParams>(sync: t rue);
1619 onAnalysisOverrides = _onAnalysisOverrides.stream.asBroadcastStream(); 1650 onAnalysisOverrides = _onAnalysisOverrides.stream.asBroadcastStream();
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1657 _onAnalysisFlushResults.add(new AnalysisFlushResultsParams.fromJson(deco der, 'params', params)); 1688 _onAnalysisFlushResults.add(new AnalysisFlushResultsParams.fromJson(deco der, 'params', params));
1658 break; 1689 break;
1659 case "analysis.folding": 1690 case "analysis.folding":
1660 expect(params, isAnalysisFoldingParams); 1691 expect(params, isAnalysisFoldingParams);
1661 _onAnalysisFolding.add(new AnalysisFoldingParams.fromJson(decoder, 'para ms', params)); 1692 _onAnalysisFolding.add(new AnalysisFoldingParams.fromJson(decoder, 'para ms', params));
1662 break; 1693 break;
1663 case "analysis.highlights": 1694 case "analysis.highlights":
1664 expect(params, isAnalysisHighlightsParams); 1695 expect(params, isAnalysisHighlightsParams);
1665 _onAnalysisHighlights.add(new AnalysisHighlightsParams.fromJson(decoder, 'params', params)); 1696 _onAnalysisHighlights.add(new AnalysisHighlightsParams.fromJson(decoder, 'params', params));
1666 break; 1697 break;
1698 case "analysis.implemented":
1699 expect(params, isAnalysisImplementedParams);
1700 _onAnalysisImplemented.add(new AnalysisImplementedParams.fromJson(decode r, 'params', params));
1701 break;
1667 case "analysis.invalidate": 1702 case "analysis.invalidate":
1668 expect(params, isAnalysisInvalidateParams); 1703 expect(params, isAnalysisInvalidateParams);
1669 _onAnalysisInvalidate.add(new AnalysisInvalidateParams.fromJson(decoder, 'params', params)); 1704 _onAnalysisInvalidate.add(new AnalysisInvalidateParams.fromJson(decoder, 'params', params));
1670 break; 1705 break;
1671 case "analysis.navigation": 1706 case "analysis.navigation":
1672 expect(params, isAnalysisNavigationParams); 1707 expect(params, isAnalysisNavigationParams);
1673 _onAnalysisNavigation.add(new AnalysisNavigationParams.fromJson(decoder, 'params', params)); 1708 _onAnalysisNavigation.add(new AnalysisNavigationParams.fromJson(decoder, 'params', params));
1674 break; 1709 break;
1675 case "analysis.occurrences": 1710 case "analysis.occurrences":
1676 expect(params, isAnalysisOccurrencesParams); 1711 expect(params, isAnalysisOccurrencesParams);
(...skipping 18 matching lines...) Expand all
1695 case "execution.launchData": 1730 case "execution.launchData":
1696 expect(params, isExecutionLaunchDataParams); 1731 expect(params, isExecutionLaunchDataParams);
1697 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params)); 1732 _onExecutionLaunchData.add(new ExecutionLaunchDataParams.fromJson(decode r, 'params', params));
1698 break; 1733 break;
1699 default: 1734 default:
1700 fail('Unexpected notification: $event'); 1735 fail('Unexpected notification: $event');
1701 break; 1736 break;
1702 } 1737 }
1703 } 1738 }
1704 } 1739 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698