Skip to content

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

Merged
merged 5 commits into from
Feb 25, 2016

Conversation

haocs
Copy link

@haocs haocs commented Feb 19, 2016

No description provided.

@haocs haocs changed the title [Do Not Merge] Changed RemoteDebuggingVersion from string type to enum and added tests. Changed RemoteDebuggingVersion from string type to enum and added tests. Feb 20, 2016

Set-AzureWebsite $name -Slot Production -SiteWithConfig $website
Assert-AreEqual $true $website.RemoteDebuggingEnabled
Assert-AreEqual $remotedebuggingversion $website.RemoteDebuggingVersion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please align indentation.

@hovsepm
Copy link
Contributor

hovsepm commented Feb 24, 2016

@hovsepm
Copy link
Contributor

hovsepm commented Feb 24, 2016

@haocs you will need to pull from upstream dev. On-Demand job failed due to the issue that is already fixed in dev.

@haocs
Copy link
Author

haocs commented Feb 24, 2016

@@ -63,7 +63,7 @@ public interface ISiteConfig

bool? RemoteDebuggingEnabled { get; set; }

RemoteDebuggingVersion RemoteDebuggingVersion { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The 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.

Copy link
Member

Choose a reason for hiding this comment

The 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.

@naveedaz
Copy link
Contributor

Looks good.

@akurmi
Copy link
Contributor

akurmi commented Feb 25, 2016

Approved

markcowl added a commit that referenced this pull request Feb 25, 2016
Changed RemoteDebuggingVersion from string type to enum and added tests.
@markcowl markcowl merged commit 5869d6c into Azure:dev Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants