STest.java [test/service_tests/csip-wepp] Revision: default  Date:
package service_tests.simpleservice_V2_0;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
import csip.test.ServiceTest;
import java.io.File;
import junit.framework.Assert;
import org.junit.Test;

/**
 *
 * @author od
 */
public class STest {

    @Test
    public void stest() throws Exception {
        String name = "test/" + new File(getClass().getCanonicalName().replace('.', '/')).getParent();
        ServiceTest.Results r = ServiceTest.run(name);
        System.out.println(name + ":\n" + r);
        Assert.assertTrue(r.getTotal() == r.getSucceeded());
    }
}