Search Results
OK to copy?
Examples 1 through 10 of
65 (0.015 seconds)
Class:
org.apache.jmeter.junit.JMeterTestCase
©,
Rating:
0% of 0,
C1
Class: org.apache.batik.apps.svgbrowser.WindowsAltFileSystemView ©, Rating: 0% of 0, C1
Class: org.apache.catalina.realm.MemoryRealm ©, Rating: 0% of 0, C2
Class: org.apache.catalina.startup.ExpandWar ©, Rating: 0% of 0, C3
Class: org.apache.jmeter.protocol.http.control.HeaderManager ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.protocol.http.control.HeaderManager ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.util.JavaEnvUtilsTest ©, Rating: 0% of 0, C3
Class: org.apache.tools.ant.util.JavaEnvUtilsTest ©, Rating: 0% of 0, C3
Class: org.apache.tools.ant.util.JavaEnvUtilsTest ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.util.JavaEnvUtilsTest ©, Rating: 0% of 0, C2
105 {
106 File f= new File(file);
107 if (filePrefix.length() > 0 && !f.isAbsolute())
108 {
109 f= new File(filePrefix+file);// Add the offset
Class: org.apache.batik.apps.svgbrowser.WindowsAltFileSystemView ©, Rating: 0% of 0, C1
Class: org.apache.catalina.realm.MemoryRealm ©, Rating: 0% of 0, C2
283 // Validate the existence of our database file
284 File file = new File(pathname);
285 if (!file.isAbsolute())
286 file = new File(System.getProperty("catalina.base"), pathname);
287 if (!file.exists() || !file.canRead())
Class: org.apache.catalina.startup.ExpandWar ©, Rating: 0% of 0, C3
110 // Make sure that there is no such directory already existing
111 File appBase = new File(host.getAppBase());
112 if (!appBase.isAbsolute()) {
113 appBase = new File(System.getProperty("catalina.base"),
114 host.getAppBase());
Class: org.apache.jmeter.protocol.http.control.HeaderManager ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.protocol.http.control.HeaderManager ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.util.JavaEnvUtilsTest ©, Rating: 0% of 0, C3
110 assertTrue(j.endsWith(extension));
111 }
112 assertTrue(j+" is absolute", (new File(j)).isAbsolute());
113
114 String javaHomeParent =
Class: org.apache.tools.ant.util.JavaEnvUtilsTest ©, Rating: 0% of 0, C3
102 assertTrue(j.endsWith(extension));
103 }
104 assertTrue(j+" is absolute", (new File(j)).isAbsolute());
105 assertTrue(j+" is normalized and in the JRE dir",
106 j.startsWith(javaHome));
Class: org.apache.tools.ant.util.JavaEnvUtilsTest ©, Rating: 0% of 0, C2
063 assertTrue(j.endsWith(".exe"));
064 try {
065 assertTrue(j+" is absolute", (new File(j)).isAbsolute());
066 String javaHomeParent =
067 fileUtils.normalize(javaHome+"/..").getAbsolutePath();
Class: org.apache.tools.ant.util.JavaEnvUtilsTest ©, Rating: 0% of 0, C2
051 String j = JavaEnvUtils.getJreExecutable("java");
052 assertTrue(j.endsWith(".exe"));
053 assertTrue(j+" is absolute", (new File(j)).isAbsolute());
054 try {
055 assertTrue(j+" is normalized and in the JRE dir",