Package org.sonatype.nexus.componentviews.internal

Examples of org.sonatype.nexus.componentviews.internal.ViewNameParser


  public void noViewName() {
    checkPaths("//path", "", "/path");
  }

  private void checkPaths(final String path, final String expectedViewName, final String expectedRemainingPath) {
    final ViewNameParser viewNameParser = new ViewNameParser(path);

    assertThat(viewNameParser.getViewName(), is(equalTo(expectedViewName)));
    assertThat(viewNameParser.getRemainingPath(), is(equalTo(expectedRemainingPath)));
  }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.componentviews.internal.ViewNameParser

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.