From 0ea6663c22ea7263ea3b3388c02138840b0d3bd6 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 1 Mar 2015 21:44:22 -0800 Subject: [PATCH] An attempt to make testTemplateClassMethod_207320 test less flaky. Change-Id: I44124e7ba53be1d59a6b89b14733a0bda4320257 --- .../ui/tests/text/selection/CPPSelectionTestsAnyIndexer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsAnyIndexer.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsAnyIndexer.java index c0cec4cdf49..5a0f62a47d6 100644 --- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsAnyIndexer.java +++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsAnyIndexer.java @@ -184,8 +184,8 @@ public abstract class CPPSelectionTestsAnyIndexer extends BaseSelectionTestsInde StringBuilder[] buffers= getContents(2); String hcode= buffers[0].toString(); String scode= buffers[1].toString(); - IFile hfile = importFile("test.h", hcode); - IFile file = importFile("test.cpp", scode); + IFile hfile = importFile("testTemplateClassMethod.h", hcode); + IFile file = importFile("testTemplateClassMethod.cpp", scode); waitUntilFileIsIndexed(index, file); int hoffset= hcode.indexOf("assign");