Sure. What ideas have you had so far? How would you veryify that two files - which are in different file formats- have in fact the same content?
Ping & DNS - updated with new look and Ping home screen widget
Joined: Jul 29, 2013
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?