Community
Participate
Working Groups
}
protected void touch(File f) {
int time = 1000;
f.setLastModified(f.lastModified() + time);
long lastModified = f.lastModified();
f.setLastModified(lastModified + time);
org.eclipse.jdt.core.tests.util.Util.waitAtLeast(time);
// Assertion to track the reason of unexpected failures with tests on external resources
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=295619
assertEquals("The file "+f.getAbsolutePath()+" was not touched!", lastModified+time, f.lastModified());
protected String toString(String[] strings) {
* Ensures that changing an external library folder referenced by a library entry and refreshing triggers the correct delta
* Disable as long as it is not more reliable see https://bugs.eclipse.org/bugs/show_bug.cgi?id=295619
*/
public void _testChangeExternalLibFolder3() throws CoreException {
public void testChangeExternalLibFolder3() throws CoreException {
try {
createExternalFolder("externalLib/p");
createExternalFile("externalLib/p/X.class", "");