Package org.sonatype.nexus.test.utils

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


  @Test
  public void emptySearchTest()
      throws IOException
  {

    UserMessageUtil userUtil = new UserMessageUtil(this.getJsonXStream(), MediaType.APPLICATION_JSON);
    List<PlexusUserResource> users = userUtil.searchPlexusUsers("default", "VOID");
    Assert.assertEquals(0, users.size());
  }
View Full Code Here


  @Before
  public void init() {
    XStream xstream = this.getXMLXStream();

    this.userUtil = new UserMessageUtil(xstream, MediaType.APPLICATION_XML);
    this.roleUtil = new RoleMessageUtil(xstream, MediaType.APPLICATION_XML);
  }
View Full Code Here

  protected UserMessageUtil messageUtil;

  private PasswordService passwordService;

  public Nexus142UserCrudJsonIT() {
    this.messageUtil = new UserMessageUtil(this.getJsonXStream(), MediaType.APPLICATION_JSON);
  }
View Full Code Here

  }

  @Before
  public void setUp() {
    XStream xstream = this.getXMLXStream();
    this.userUtil = new UserMessageUtil(xstream, MediaType.APPLICATION_XML);
    this.roleUtil = new RoleMessageUtil(xstream, MediaType.APPLICATION_XML);
  }
View Full Code Here

TOP

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

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.