Package com.puppetlabs.geppetto.catalog.util

Examples of com.puppetlabs.geppetto.catalog.util.CatalogRspecGenerator$TitleComparator


  public void testCatalogRspec() throws Exception {
    File f = TestDataProvider.getTestFile(new Path("testData/sample1.json"));
    Catalog c = CatalogJsonSerializer.load(f);
    assertEquals("Should have the expected name", "testcentos.pilsen.cloudsmith.com", c.getName());

    CatalogRspecGenerator generator = new CatalogRspecGenerator();
    StringBuilder builder = new StringBuilder();
    generator.generate(c, builder);
    assertEquals(expectedRspec1, builder.toString());
    System.out.print(builder.toString());
  }
View Full Code Here

TOP

Related Classes of com.puppetlabs.geppetto.catalog.util.CatalogRspecGenerator$TitleComparator

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.