| Index: pkg/analyzer/test/generated/engine_test.dart
|
| diff --git a/pkg/analyzer/test/generated/engine_test.dart b/pkg/analyzer/test/generated/engine_test.dart
|
| index 43bc54fe77fd673bff8240ccf1774dbe2436c0c6..7224060d4244519d1f66c48d83a262f8aae79364 100644
|
| --- a/pkg/analyzer/test/generated/engine_test.dart
|
| +++ b/pkg/analyzer/test/generated/engine_test.dart
|
| @@ -865,6 +865,15 @@ main() {}''');
|
| });
|
| }
|
|
|
| + void test_configurationData() {
|
| + var key = new newContext.ResultDescriptor('test_key', '');
|
| + var testData = ['test', 'data'];
|
| + _context.setConfigurationData(key, testData);
|
| + expect(_context.getConfigurationData(key), testData);
|
| + var unusedKey = new newContext.ResultDescriptor('unused_key', '');
|
| + expect(_context.getConfigurationData(unusedKey), null);
|
| + }
|
| +
|
| void test_dispose() {
|
| expect(_context.isDisposed, isFalse);
|
| _context.dispose();
|
| @@ -5949,6 +5958,11 @@ class TestAnalysisContext implements InternalAnalysisContext {
|
| }
|
|
|
| @override
|
| + Object getConfigurationData(newContext.ResultDescriptor key) {
|
| + fail("Unexpected invocation of getConfigurationData");
|
| + }
|
| +
|
| + @override
|
| TimestampedData<String> getContents(Source source) {
|
| fail("Unexpected invocation of getContents");
|
| return null;
|
| @@ -6166,6 +6180,11 @@ class TestAnalysisContext implements InternalAnalysisContext {
|
| }
|
|
|
| @override
|
| + void setConfigurationData(newContext.ResultDescriptor key, Object data) {
|
| + fail("Unexpected invocation of setConfigurationData");
|
| + }
|
| +
|
| + @override
|
| void setContents(Source source, String contents) {
|
| fail("Unexpected invocation of setContents");
|
| }
|
|
|