STest.java [test/interpolate/modelDataService_tests] Revision: default  Date:
package interpolate.modelDataService_tests;

/*
 * 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());
    }
}