Closed angeloBerlin closed 7 years ago
Thanks for providing the problem and the test!
Did you check if it works if you call #setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES)
on the FileChoose? As the default is JFilesChooser.FILES_ONLY
and AssertJ Swing checks for that setting.
Hi Christian,
thank you for the tip, that solved the exception. Now I am not able to open a directory with the fileChooser but I will open another Issue for that.
setFileSelectionMode(JFileChooser.FILES_ONLY) OrderFile3.ttf.csv (normal csv file)
throws exception : the file chooser can only open files
if (mode == FILES_ONLY && !file.isFile())
how about change to if (mode == FILES_ONLY && file.isDirectory)
Hi,
The following test fails with an exception though it you can redo the same steps manually without a problem. There seems to be a different handling of .app containers in OSX.