Package fitnesse.wiki

Examples of fitnesse.wiki.PageType


  @Test
  public void pageTypeFromPageName() {
    Collection<Object[]> testData = pageTypeFromPageNameData();

    for (Object[] testItem: testData) {
      PageType pageType = (PageType) testItem[0];
      String pageName = (String) testItem[1];
      assertEquals(pageType, getPageTypeForPageName(pageName));
    }
  }
View Full Code Here


 
  if (requestedPageTypesEnum == null || requestedPageTypesEnum.isEmpty()) {
    return true;
  }
 
    PageType pageType = PageType.fromWikiPage(page);

    return (requestedPageTypesEnum.contains(pageType));
  }
View Full Code Here

    properties.setLastModificationTime(Clock.currentDate());

    if (isErrorLogsPage())
      return properties;

    PageType pageType = PageType.getPageTypeForPageName(getName());

    if (STATIC.equals(pageType))
      return properties;

    properties.set(pageType.toString());
    return properties;
  }
View Full Code Here

TOP

Related Classes of fitnesse.wiki.PageType

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.