public Methods ( string args, System.Guid workspaceId, System.Guid dataListId ) : ServiceMethodList | ||
args | string | |
workspaceId | System.Guid | |
dataListId | System.Guid | |
리턴 | ServiceMethodList |
public void PluginServicesMethodsWithValidArgsExpectedReturnsList() { var service = CreatePluginService(); var args = service.ToString(); var workspaceID = Guid.NewGuid(); EnvironmentVariables.GetWorkspacePath(workspaceID); var services = new PluginServices(); var result = services.Methods(args, workspaceID, Guid.Empty); Assert.AreEqual(9, result.Count); }
public void PluginServicesMethodsWithInvalidArgsExpectedReturnsEmptyList() { var services = new PluginServices(); var result = services.Methods("xxxx", Guid.Empty, Guid.Empty); Assert.AreEqual(0, result.Count); }