Package net.jsunit

Source Code of net.jsunit.SuccessfulRemoteServerHitter

package net.jsunit;

import net.jsunit.model.TestRunResult;
import org.jdom.Document;

import java.net.URL;

public class SuccessfulRemoteServerHitter implements RemoteServerHitter {

    public Document hitURL(URL url) {
        return successfulTestRunResult();
    }

    private Document successfulTestRunResult() {
        return new Document(new TestRunResult().asXml());
    }

}
TOP

Related Classes of net.jsunit.SuccessfulRemoteServerHitter

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.