Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Sinha <manish.sinha@xamarin.com>2016-05-16 19:36:51 +0300
committerManish Sinha <manish.sinha@xamarin.com>2016-05-16 19:37:55 +0300
commitf6e23caa6bea0b8a76325ee0c1d62353bd3390ca (patch)
tree45bebcd1a826aa1b04aefabe56d0edc92082cf1c /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest
parentd5aed5ff1babf934396f5152d95969240d561346 (diff)
[AutoTest] Make sure ToString() value is also saved as property
There is no way to fetch the actual value of the object fetched. This comes handy when trying to fetch a value of TreeIter
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs
index ade6633b0d..1f7becc830 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AppResult.cs
@@ -152,6 +152,7 @@ namespace MonoDevelop.Components.AutoTest
{
var propertiesObject = new ObjectProperties ();
if (resultObject != null) {
+ propertiesObject.Add ("ToString", new ObjectResult (resultObject.ToString ()), null);
var properties = resultObject.GetType ().GetProperties (
BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.NonPublic);
foreach (var property in properties) {