e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 41 through 50 of 457 (0.0050 seconds)
Class: org.springframework.beans.propertyeditors.PropertyEditorTests  ©, Rating: 0% of 0, C1

164 fileEditor.setAsText("C:/test/myfile.txt"); 165 assertEquals(new File("C:/test/myfile.txt"), fileEditor.getValue()); 166 assertEquals((new File("C:/test/myfile.txt")).getAbsolutePath(), fileEditor.getAsText()); 167 } 168

Class: org.apache.tools.ant.util.LoaderUtils  ©, Rating: 0% of 0, C1

070 FileUtils fileUtils = FileUtils.newFileUtils(); 071 try { 072 source = fileUtils.normalize(source.getAbsolutePath()); 073 } catch (BuildException e) { 074 // relative path

Class: org.apache.tools.ant.taskdefs.optional.junit.BaseTest  ©, Rating: 0% of 0, C1

096 public String getTodir() { 097 if (destDir != null) { 098 return destDir.getAbsolutePath(); 099 } 100 return null;

Class: org.apache.jmeter.gui.action.Save  ©, Rating: 0% of 0, C2

118 return; 119 } 120 updateFile = chooser.getSelectedFile().getAbsolutePath(); 121 if (!e.getActionCommand().equals(SAVE_AS)) 122 {

Class: org.apache.tools.ant.taskdefs.ChecksumTest  ©, Rating: 0% of 0, C1

068 File shouldNotExist = project.resolveFile("checksum/foo/zap/Eenie.MD5"); 069 assertTrue( "Checksums should be written to " + shouldExist.getAbsolutePath(), shouldExist.exists()); 070 assertTrue( "Checksums should not be written to " + shouldNotExist.getAbsolutePath(), !shouldNotExist.exists()); 071 } 072

Class: org.apache.tools.ant.taskdefs.ChecksumTest  ©, Rating: 0% of 0, C1

067 File shouldExist = project.resolveFile("checksum/checksums/foo/zap/Eenie.MD5"); 068 File shouldNotExist = project.resolveFile("checksum/foo/zap/Eenie.MD5"); 069 assertTrue( "Checksums should be written to " + shouldExist.getAbsolutePath(), shouldExist.exists()); 070 assertTrue( "Checksums should not be written to " + shouldNotExist.getAbsolutePath(), !shouldNotExist.exists()); 071 }

Class: org.apache.tools.ant.taskdefs.Deltree  ©, Rating: 0% of 0, C2

104 } 105 if (!dir.delete()) { 106 throw new BuildException("Unable to delete directory " 107 + dir.getAbsolutePath()); 108 }

Class: org.apache.tools.ant.taskdefs.Deltree  ©, Rating: 0% of 0, C2

098 } else { 099 if (!f.delete()) { 100 throw new BuildException("Unable to delete file " 101 + f.getAbsolutePath()); 102 }

Class: org.apache.tools.ant.taskdefs.Deltree  ©, Rating: 0% of 0, C2

075 removeDir(dir); 076 } catch (IOException ioe) { 077 String msg = "Unable to delete " + dir.getAbsolutePath(); 078 throw new BuildException(msg, getLocation()); 079 }

Class: org.apache.tools.ant.taskdefs.Deltree  ©, Rating: 0% of 0, C2

070 } 071 072 log("Deleting: " + dir.getAbsolutePath()); 073 074 try {

Result Page:  1.0  |  2.0  |  3.0  |  4.0  |  5.0  |  6.0  |  7.0  |  8.0  |  9.0  |  10.0   Next