Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 575379

Summary: TemplateCompletionTests.testEmptyFile fails on Windows
Product: [Eclipse Project] JDT Reporter: Andrey Loskutov <loskutov>
Component: UIAssignee: Kalyan Prasad Tatavarthi <kalyan_prasad>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jjohnstn, kalyan_prasad, noopur_gupta, rgrunber
Version: 4.21   
Target Milestone: 4.22 M2   
Hardware: PC   
OS: Windows 10   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=505610
https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/186210
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=a8e3244e6579dcfc19dc4db727589e9ce9b67ee5
Whiteboard:

Description Andrey Loskutov CLA 2021-08-12 08:19:01 EDT
https://download.eclipse.org/eclipse/downloads/drops4/I20210811-1800/testresults/html/org.eclipse.jdt.text.tests_ep421I-unit-win32-java11_win32.win32.x86_64_11.html

I assume that cold be related to the CR/LF difference (test uses \n only), but I haven't verified that.

Roland: would you please take a look, I'm not sure if that is some recent regression or was it just always like this? The test itself is from bug 505610.
Comment 1 Roland Grunberg CLA 2021-08-16 10:56:02 EDT
Adding Jeff to CC in case he has some time to get to this before me.

I haven't looked yet to see if this has always been failing. If its recent I would have thought some kind of formatting default is being applied somehwere and never unset ?
Comment 2 Noopur Gupta CLA 2021-09-28 03:14:21 EDT
Jeff/Roland, can you please take a look at this test?
Comment 3 Eclipse Genie CLA 2021-10-06 02:36:39 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/186210
Comment 5 Kalyan Prasad Tatavarthi CLA 2021-11-10 00:53:22 EST
Verified in the build I20211109-0840