Community
Participate
Working Groups
Build Identifier: Hi Colleagues, Test ExtractSchemaTextFieldModifyListenerTest is failing when executed under linux. There is a problem with one of the file separators. Regards, Stanislav Reproducible: Always
Created attachment 198139 [details] patch fixing the test Hi Colleagues, I'm attaching a patch fixing the test. Regards, Stanislav
pls use File.separator in stead of "/" or "\\". Tathc applied, all tests are passing.
Hi Dimitar, Actually I was thinking whether or not I should open a "task" for this - to check all the tests and code and refactor it to use the File.separator. This probably will be the best thing to do in order to avoid further issues with separators and such. That's the reason I didn't do it here. The second reason was that I couldn't find the constant :) Regards, Stanislav
Yep , maybe a good idea, but as Dimitar Teneve mentioned , there might be some slashes related to xml schema namespace construction, so it will be a big task to differentiate all cases. Since the editor almost doesn't work with files, why don't we check only the code related to file operations for such constants? :) Or if not, since you are running under linux, and I at home am too, we should catch all the bugs related to this issue anyway.. Regards, Dido