示例#1
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome methodsByOutline = GetMethods("main");

            outcomes.Add(methodsByOutline);
            TestOutcome methodByName = GetSingleMethod("main/rat");

            outcomes.Add(methodByName);

            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }
示例#2
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome oneOutline = GetAnOutline("services");

            outcomes.Add(oneOutline);
            TestOutcome allOutlines = GetAllOutlines();

            outcomes.Add(allOutlines);

            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }
示例#3
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome queryByTemplate = GetQueriesByTemplate();

            outcomes.Add(queryByTemplate);
            TestOutcome queryByFilter = GetQueriesByFilter("task");

            outcomes.Add(queryByFilter);
            TestOutcome queryCreate = CreateQuery("services/service_a");

            outcomes.Add(queryCreate);
            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }
示例#4
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome dataFormats = GetDataFormats();

            outcomes.Add(dataFormats);
            TestOutcome elementTypes = GetElementTypes();

            outcomes.Add(elementTypes);
            TestOutcome states = GetStates();

            outcomes.Add(states);
            TestOutcome teams = GetTeams();

            outcomes.Add(teams);
            TestOutcome members = GetMemberships();

            outcomes.Add(members);
            TestOutcome paramTypes = GetParameterTypes();

            outcomes.Add(paramTypes);
            TestOutcome concepts = GetConcepts();

            outcomes.Add(concepts);
            TestOutcome lookups = GetLookups();

            outcomes.Add(lookups);
            TestOutcome paramAliases = GetParamAliases();

            outcomes.Add(paramAliases);
            TestOutcome values = GetLookupValues();

            outcomes.Add(values);
            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }
示例#5
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome getProcesses = GetProcessesByOutline("main");

            outcomes.Add(getProcesses);
            TestOutcome getProcess = GetProcessByPath("main/process_processing:1");

            outcomes.Add(getProcess);
            TestOutcome createProcess = CreateProcess("main");

            outcomes.Add(createProcess);

            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }
示例#6
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome allTasks = GetAllTasksForFolder("all");

            outcomes.Add(allTasks);
            TestOutcome idTask = GetTaskById(10066);

            outcomes.Add(idTask);
            TestOutcome pathTask = GetTaskByPath("all/task_pending");

            outcomes.Add(pathTask);
            TestOutcome pathTaskNoRows = GetTaskNoRows("all/task_pending");

            outcomes.Add(pathTaskNoRows);
            TestOutcome searchTask = SearchForTasks("t");

            outcomes.Add(searchTask);
            TestOutcome flatTask = CreateFlatTask();

            outcomes.Add(flatTask);
            TestOutcome hierTask = CreateHierarchicalTask();

            outcomes.Add(hierTask);
            TestOutcome updateTask = UpdateTask("all/task_pending");

            outcomes.Add(updateTask);
            TestOutcome delTask = DestroyTask("BRFlatTask");

            outcomes.Add(delTask);

            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }
示例#7
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome foldersUnder = GetFoldersUnder("services");

            outcomes.Add(foldersUnder);
            TestOutcome folderByPath = GetFolderByPath("biology");

            outcomes.Add(folderByPath);
            TestOutcome folderSearch = GetFolderBySearch();

            outcomes.Add(folderSearch);
            TestOutcome folderCreate = CreateFolder("services");

            outcomes.Add(folderCreate);
            TestOutcome folderUpdate = UpdateFolder("biology");

            outcomes.Add(folderUpdate);
            TestOutcome noteCreate = CreateNote("support");

            outcomes.Add(noteCreate);
            TestOutcome fileGet = GetFile("project");

            outcomes.Add(fileGet);
            TestOutcome fileCreate = CreateFile("all");

            outcomes.Add(fileCreate);


            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }
示例#8
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome searchParams = SearchParameters();

            outcomes.Add(searchParams);
            TestOutcome createParam = CreateParameter();

            outcomes.Add(createParam);
            TestOutcome updateParam = UpdateParameter();

            outcomes.Add(updateParam);
            TestOutcome destroyParam = DestroyParameter();

            outcomes.Add(destroyParam);

            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }
示例#9
0
        public List <TestOutcome> TestAll()
        {
            List <TestOutcome> outcomes = new List <TestOutcome>();

            SessionOperations.RefreshSession(_url, _session.SessionId);
            //run all methods
            TestOutcome getRequest = GetRequestById(10002);

            outcomes.Add(getRequest);
            TestOutcome findRequest = GetRequestByName("powder_service_request");

            outcomes.Add(findRequest);
            TestOutcome searchRequest = SearchRequests("powder");

            outcomes.Add(searchRequest);
            TestOutcome createRequest = CreateRequest();

            outcomes.Add(createRequest);

            SessionOperations.RefreshSession(_url, _session.SessionId);

            //return all the outcomes
            return(outcomes);
        }