No nothing i don't have anything yet, i need to write a test class for that java class, i mean we can take the basepath and check with Directory like this
" Assert.assertEquals(basePath, baseFile.isDirectory()); " , so can you write a test class.
Joined: Mar 22, 2005
That doesn't make sense to me - that would mean the conversion is deemed successful if it produces a file in the same directory as the original file. For a start, that doesn't prove anything about the resulting file, and it also is extremely superficial. If this writing of test is to be meaningful, surely you need to come up with much more finegrained test? Tests that actually look into the newly created file to ascertain whether its content is identical to the original file?