blob: 07abb98b827f215795611b747b7e546317036a91 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.text.tests.performance;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.ui.PartInitException;
/**
* @since 3.1
*/
public class RevertJavaEditorTest extends RevertEditorTest {
private static final String PATH= "/Eclipse SWT/win32/org/eclipse/swt/graphics/";
private static final String FILE_PREFIX= "TextLayout";
private static final String FILE_SUFFIX= ".java";
protected void setUp() throws Exception {
super.setUp();
EditorTestHelper.runEventQueue();
}
public void testRevertJavaEditor() throws PartInitException, BadLocationException {
// cold run
measureRevert(ResourceTestHelper.findFile(PerformanceTestSetup.PROJECT + PATH + FILE_PREFIX + FILE_SUFFIX));
}
}