-
Notifications
You must be signed in to change notification settings - Fork 4k
Changed RemoteDebuggingVersion from string type to enum and added tests. #1837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c11c192
6de6808
285860e
129d0d0
e1dc5ba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ public interface ISiteConfig | |
|
||
bool? RemoteDebuggingEnabled { get; set; } | ||
|
||
RemoteDebuggingVersion RemoteDebuggingVersion { get; set; } | ||
string RemoteDebuggingVersion { get; set; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the type "RemoteDebugginVersion" used anywhere stil? If not we should delete the type. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It has string constants with the known values now, it's not used elsewhere or compilation would have failed. |
||
|
||
List<RoutingRule> RoutingRules { get; set; } | ||
|
||
|
@@ -350,7 +350,7 @@ public bool? RemoteDebuggingEnabled | |
set { SiteConfig.RemoteDebuggingEnabled = value; } | ||
} | ||
|
||
public RemoteDebuggingVersion RemoteDebuggingVersion | ||
public string RemoteDebuggingVersion | ||
{ | ||
get { return SiteConfig.RemoteDebuggingVersion; } | ||
set { SiteConfig.RemoteDebuggingVersion = value; } | ||
|
@@ -440,7 +440,7 @@ public class SiteConfig | |
public bool? RemoteDebuggingEnabled { get; set; } | ||
|
||
[DataMember(IsRequired = false)] | ||
public RemoteDebuggingVersion RemoteDebuggingVersion { get; set; } | ||
public string RemoteDebuggingVersion { get; set; } | ||
|
||
[DataMember(IsRequired = false)] | ||
public List<RoutingRule> RoutingRules { get; set; } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@haocs Didn't this require an update in the test recording?