1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

An attempt to make testTemplateClassMethod_207320 test less flaky.

Change-Id: I44124e7ba53be1d59a6b89b14733a0bda4320257
This commit is contained in:
Sergey Prigogin 2015-03-01 21:44:22 -08:00
parent ce34d2d48e
commit 0ea6663c22

View file

@ -184,8 +184,8 @@ public abstract class CPPSelectionTestsAnyIndexer extends BaseSelectionTestsInde
StringBuilder[] buffers= getContents(2); StringBuilder[] buffers= getContents(2);
String hcode= buffers[0].toString(); String hcode= buffers[0].toString();
String scode= buffers[1].toString(); String scode= buffers[1].toString();
IFile hfile = importFile("test.h", hcode); IFile hfile = importFile("testTemplateClassMethod.h", hcode);
IFile file = importFile("test.cpp", scode); IFile file = importFile("testTemplateClassMethod.cpp", scode);
waitUntilFileIsIndexed(index, file); waitUntilFileIsIndexed(index, file);
int hoffset= hcode.indexOf("assign"); int hoffset= hcode.indexOf("assign");