Package org.sonatype.nexus.test.utils

Examples of org.sonatype.nexus.test.utils.RepositoryMessageUtil


  public Nexus3045GroupRemovalIT()
      throws ComponentLookupException
  {
    super();
    routesUtil = new RoutesMessageUtil(XStreamFactory.getXmlXStream(), MediaType.APPLICATION_XML);
    repoUtil = new RepositoryMessageUtil(XStreamFactory.getXmlXStream(), MediaType.APPLICATION_XML);
    groupUtil = new GroupMessageUtil(XStreamFactory.getXmlXStream(), MediaType.APPLICATION_XML);
  }
View Full Code Here


  private RepositoryResource repoResource = null;

  public Nexus3567GroupMemberChangesIndexIT()
      throws ComponentLookupException
  {
    repoUtil = new RepositoryMessageUtil(getXMLXStream(), MediaType.APPLICATION_XML);
    groupUtil = new GroupMessageUtil(getXMLXStream(), MediaType.APPLICATION_XML);
    searchUtil = new SearchMessageUtil();
  }
View Full Code Here

  @Before
  public void init()
      throws ComponentLookupException
  {
    this.repoUtil = new RepositoryMessageUtil(XStreamFactory.getXmlXStream(), MediaType.APPLICATION_XML);
  }
View Full Code Here

  public NXCM1916CRUDP2RepositoryIT()
      throws ComponentLookupException
  {
    super("nxcm1916");
    messageUtil = new RepositoryMessageUtil(getJsonXStream(), MediaType.APPLICATION_JSON);
  }
View Full Code Here

  private final RepositoryMessageUtil repoUtil;

  public NXCM1903ValidateMaxAgeSettingsIT()
      throws Exception
  {
    repoUtil = new RepositoryMessageUtil(getXMLXStream(), MediaType.APPLICATION_XML);
  }
View Full Code Here

  public NXCM4481P2ProxyChangeRemoteUrlIT()
      throws Exception
  {
    super("nxcm4481");
    repoUtil = new RepositoryMessageUtil(getXMLXStream(), MediaType.APPLICATION_XML);
  }
View Full Code Here

public class Nexus531RepositoryCrudXMLIT
    extends Nexus531RepositoryCrudJsonIT
{
  public Nexus531RepositoryCrudXMLIT() {
    this.messageUtil = new RepositoryMessageUtil(this.getXMLXStream(), MediaType.APPLICATION_XML);
  }
View Full Code Here

  }

  private RepositoryStatusResource getStatus()
      throws IOException
  {
    return new RepositoryMessageUtil(getXMLXStream(), MediaType.APPLICATION_XML).getStatus(
        getTestRepositoryId());
  }
View Full Code Here

    TestContainer.getInstance().getTestContext().setSecureTest(true);
  }

  @Before
  public void setUp() {
    this.messageUtil = new RepositoryMessageUtil(this.getXMLXStream(), MediaType.APPLICATION_XML);
  }
View Full Code Here

    {
      final Response response = doGetRequest("content/repositories/" + getTestRepositoryId() + "/features/");
      assertThat(response.getStatus().isSuccess(), is(false));
    }

    final RepositoryMessageUtil repoUtil = new RepositoryMessageUtil(
        getXMLXStream(), MediaType.APPLICATION_XML
    );
    final RepositoryProxyResource repo = (RepositoryProxyResource) repoUtil.getRepository(getTestRepositoryId());
    repo.getRemoteStorage().setRemoteStorageUrl(TestProperties.getString("proxy-repo-base-url") + "nxcm1719/");
    repoUtil.updateRepo(repo);

    waitForAllTasksToStop();

    {
      final Response response = doGetRequest("content/repositories/" + getTestRepositoryId() + "/features/");
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.test.utils.RepositoryMessageUtil

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.