fProject = project;
fExpectedCount = expectedNumber;
}
@Override
public boolean test() throws Exception {
<BUG>return fProject.getTracesFolder().getTraces().size() == fExpectedCount;
}</BUG>
@Override
public String getFailureMessage() {
return NLS.bind("The project {0} does not contain {1} traces.", fProject.getName(), fExpectedCount);

fProject = project;
fExpectedCount = expectedNumber;
}
@Override
public boolean test() throws Exception {
final TmfTraceFolder tracesFolder = fProject.getTracesFolder();
return ((tracesFolder != null) && (tracesFolder.getTraces().size() == fExpectedCount));
}
@Override
public String getFailureMessage() {
return NLS.bind("The project {0} does not contain {1} traces.", fProject.getName(), fExpectedCount);
