Searched refs:getTomcatVersion (Results 1 - 2 of 2) sorted by relevance

/forgerock/jee-agents-v3.5/jee-agents-tomcat/jee-agents-tomcat-v6/src/test/java/com/sun/identity/agents/tools/tomcat/v6/
H A DTomcatVersionValidatorTest.java81 Assert.assertEquals(IConstants.TOMCAT_VER_60, TomcatVersionValidator.getTomcatVersion(VMWARE_TOMCAT6_SERVERINFO));
82 Assert.assertEquals(IConstants.TOMCAT_VER_60, TomcatVersionValidator.getTomcatVersion(WINDOWS_TOMCAT6_SERVERINFO));
83 Assert.assertEquals(IConstants.TOMCAT_VER_60, TomcatVersionValidator.getTomcatVersion(LINUX_TOMCAT6_SERVERINFO));
84 Assert.assertEquals(IConstants.TOMCAT_VER_70, TomcatVersionValidator.getTomcatVersion(LINUX_TOMCAT7_SERVERINFO));
85 Assert.assertEquals(IConstants.TOMCAT_VER_80, TomcatVersionValidator.getTomcatVersion(LINUX_TOMCAT8_SERVERINFO));
87 Assert.assertNull(TomcatVersionValidator.getTomcatVersion(LINUX_TOMCAT5_SERVERINFO));
88 Assert.assertNull(TomcatVersionValidator.getTomcatVersion(null));
89 Assert.assertNull(TomcatVersionValidator.getTomcatVersion(""));
/forgerock/jee-agents-v3.5/jee-agents-tomcat/jee-agents-tomcat-v6/src/main/java/com/sun/identity/agents/tools/tomcat/v6/
H A DTomcatVersionValidator.java152 Debug.log("TomcatVersionValidator.getTomcatVersion(): JAVA_HOME = " + JAVA_EXE +
159 Debug.log("TomcatVersionValidator.getTomcatVersion() threw exception", ex);
164 versionString = getTomcatVersion(output.toString());
183 public static String getTomcatVersion(String serverInfo) { method in class:TomcatVersionValidator
188 Debug.log("TomcatVersionValidator.getTomcatVersion() - validating ServerInfo:" + serverInfo);
215 Debug.log("TomcatVersionValidator.getTomcatVersion() - version:" + versionLine +

Completed in 36 milliseconds