OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 namespace NativeClientVSAddIn | 5 namespace NativeClientVSAddIn |
6 { | 6 { |
7 using System; | 7 using System; |
8 | 8 |
9 /// <summary> | 9 /// <summary> |
10 /// This class fakes the mechanism for reading and writing properties on prope
rty pages. | 10 /// This class fakes the mechanism for reading and writing properties on prope
rty pages. |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 public override void SetProperty(string page, string name, string value) | 108 public override void SetProperty(string page, string name, string value) |
109 { | 109 { |
110 if (!setter_(page, name, value)) | 110 if (!setter_(page, name, value)) |
111 { | 111 { |
112 throw new Exception(string.Format( | 112 throw new Exception(string.Format( |
113 "Property set request was not expected by test! Page {0}, Prop: {1}"
, page, name)); | 113 "Property set request was not expected by test! Page {0}, Prop: {1}"
, page, name)); |
114 } | 114 } |
115 } | 115 } |
116 } | 116 } |
117 } | 117 } |
OLD | NEW |