Package com.denimgroup.threadfix.framework.impl.spring

Examples of com.denimgroup.threadfix.framework.impl.spring.SpringControllerMappings


    EndpointDatabase testDatabase = EndpointDatabaseFactory.getDatabase(new File(TestConstants.PETCLINIC_SOURCE_LOCATION));

        assertTrue(testDatabase != null);
    assertTrue(testDatabase.getFrameworkType() == FrameworkType.SPRING_MVC);
    assertTrue(testDatabase.generateEndpoints().size() ==
        new SpringControllerMappings(new File(TestConstants.PETCLINIC_SOURCE_LOCATION)).generateEndpoints().size());
  }
View Full Code Here


   
    switch (frameworkType) {
            case NONE:
            case DETECT:      break;
            case JSP:         generator = new JSPMappings(rootFile);              break;
      case SPRING_MVC:  generator = new SpringControllerMappings(rootFile); break;
      case DOT_NET_MVC: generator = new DotNetMappings(rootFile);           break;
            case DOT_NET_WEB_FORMS: generator = new WebFormsEndpointGenerator(rootFile); break;

      default:
                String logError = "You should never be here. You are missing a case statement for " + frameworkType;
View Full Code Here

TOP

Related Classes of com.denimgroup.threadfix.framework.impl.spring.SpringControllerMappings

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.