-
Notifications
You must be signed in to change notification settings - Fork 479
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
additional constructor that takes raw LUIS endpoint #1378
Conversation
Pull Request Test Coverage Report for Build 49097
💛 - Coveralls |
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.
Looks like there are some typos in the test names for LuisApplication, but otherwise it looks good.
Assert.AreEqual(service.AppId, model.ApplicationId); | ||
Assert.AreEqual(service.SubscriptionKey, model.EndpointKey); | ||
Assert.AreEqual(service.GetEndpoint(), model.Endpoint); | ||
} | ||
|
||
[TestMethod] | ||
public void ListApplicationFromLuisEndpoint() |
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.
Should this be LuisApplicationFromLuisEndpoint
?
} | ||
|
||
[TestMethod] | ||
public void ListApplicationFromLuisEndpointBadArguments() |
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.
Shouldn't this be LuisApplicationsFromLuisEndpointBadArguments
? More precisely, shouldn't be a negative?
It's only a test name, but it shouldn't imply that invalid arguments will generate a valid LuisApplication instance.
@cleemullins and @stevengum |
This is the C# implementation for microsoft/botframework-sdk#5255
The only thing to note here is that the JavaScript is slightly different because the C# has this additional LuisApplication class. Because the C# has that class I added the extra constructor on that. (Making sure to wire all the constructir overloads through the same code path.)
@stevengum is planning to do the JavaScript.