Package com.denimgroup.threadfix.service.defects.utils.jira

Examples of com.denimgroup.threadfix.service.defects.utils.jira.UserRetriever


        assert editableFields.size() == 27 : "Got " + editableFields.size() + " fields instead of 16.";
    }

    @Test
    public void testUserParsing() {
        UserRetriever retriever = new UserRetriever(JIRA_USERNAME, JIRA_PASSWORD,
                "NCT", JIRA_BASE_URL + "/rest/api/2/", new RestUtilsMock());

        Map<String, String> userMap = retriever.getUserMap();

        assertTrue("User map was null.", userMap != null);
        assertTrue("User map should have contained one item, contained " + userMap.size(), userMap.size() == 1);

    }
View Full Code Here


                restUtils.getUrlAsString(getUrlWithRest() + METADATA_EXTENSION + getProjectId(),
                            getUsername(), getPassword());

        log.debug(response);

        UserRetriever retriever = new UserRetriever(getUsername(), getPassword(), getProjectId(), getUrlWithRest(), restUtils);

        return DynamicFormFieldParser.getFields(response, retriever);
    }
View Full Code Here

TOP

Related Classes of com.denimgroup.threadfix.service.defects.utils.jira.UserRetriever

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.