Skip to content

Understanding category attribute from adapter#1528

Merged
abhishkk merged 3 commits intomicrosoft:masterfrom
abhishkk:understandingCategoryAttributeFromAdapter
Apr 5, 2018
Merged

Understanding category attribute from adapter#1528
abhishkk merged 3 commits intomicrosoft:masterfrom
abhishkk:understandingCategoryAttributeFromAdapter

Conversation

@abhishkk
Copy link
Contributor

@abhishkk abhishkk commented Apr 5, 2018

Part 1 of RFC:
Contains changes for understanding category attribute from adapter.

{
public enum AssemblyType
{
NativeAndManaged,
Copy link
Contributor

Choose a reason for hiding this comment

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

consider None or Unspecified ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

Assert.AreEqual("executor://helloworld/", metadata.DefaultExecutorUri.AbsoluteUri);
}

[TestMethod]
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a test for default case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

enum can't be null ro empty. Thus checking one test that whatever is passed is set enough.

Copy link
Contributor

@singhsarab singhsarab left a comment

Choose a reason for hiding this comment

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

:shipit:

{
public enum AssemblyType
{
NativeAndManaged,
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need NativeAndManaged, can't we ask user specify Category attribute two time?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Category attribute is not supported multiple times.
Adapter which supports both native and managed will not specify category attribute.

@abhishkk
Copy link
Contributor Author

abhishkk commented Apr 5, 2018

@dotnet-bot test this please

Copy link
Contributor

@mayankbansal018 mayankbansal018 left a comment

Choose a reason for hiding this comment

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

:shipit:

@abhishkk
Copy link
Contributor Author

abhishkk commented Apr 5, 2018

@dotnet-bot test this

@abhishkk
Copy link
Contributor Author

abhishkk commented Apr 5, 2018

@dotnet-bot test this please

1 similar comment
@abhishkk
Copy link
Contributor Author

abhishkk commented Apr 5, 2018

@dotnet-bot test this please

@abhishkk
Copy link
Contributor Author

abhishkk commented Apr 5, 2018

@dotnet-bot test this please

@abhishkk abhishkk merged commit 93ff962 into microsoft:master Apr 5, 2018
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.

3 participants