All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.doctusoft.gwtmock.MockEventTargetElement Maven / Gradle / Ivy

Go to download

A mocked implementation for GWT-2.5.1 that can run in the JVM to allow integration testing

The newest version!
package com.doctusoft.gwtmock;

import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.EventTarget;

public class MockEventTargetElement extends EventTarget {
    
    Element element;

    public MockEventTargetElement(Element element) {
        super();
        this.element = element;
    }

    @SuppressWarnings("unchecked")
    public  T cast() {
        return (T) element;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy