Package qwickie.handler

Source Code of qwickie.handler.QWickieHandlerTest

package qwickie.handler;

import org.eclipse.core.commands.ExecutionEvent;
import org.junit.Before;
import org.junit.Test;

public class QWickieHandlerTest {

  @Before
  public void setUp() throws Exception {
  }

  @Test
  public void testHandler() {
    long start = System.nanoTime();

    QWickieHandler handler = new QWickieHandler();
    ExecutionEvent event = new ExecutionEvent();
    //    event.getParameters().put(ISources.ACTIVE_EDITOR_NAME, PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor());
    //    try {
    //      handler.execute(event);
    //    } catch (ExecutionException e) {
    //    }

    System.out.println("testHandler:\t\t\t" + (System.nanoTime() - start));
  }

}
TOP

Related Classes of qwickie.handler.QWickieHandlerTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.