Methods() public method

public Methods ( string args, System.Guid workspaceId, System.Guid dataListId ) : ServiceMethodList
args string
workspaceId System.Guid
dataListId System.Guid
return ServiceMethodList
コード例 #1
0
        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);
        }
コード例 #2
0
 public void PluginServicesMethodsWithInvalidArgsExpectedReturnsEmptyList()
 {
     var services = new PluginServices();
     var result = services.Methods("xxxx", Guid.Empty, Guid.Empty);
     Assert.AreEqual(0, result.Count);
 }