import java.sql.Statement;
import org.junit.Assert;
+import org.junit.Test;
import com.vaadin.data.util.sqlcontainer.connection.JDBCConnectionPool;
import com.vaadin.tests.server.container.sqlcontainer.AllTests.DB;
public class DataGenerator {
+
+ @Test
+ public void testDummy(){
+ // Added dummy test so JUnit will not complain about "No runnable methods".
+ }
public static void addPeopleToDatabase(JDBCConnectionPool connectionPool)
throws SQLException {
import java.util.List;
+import org.junit.Test;
+
import com.vaadin.data.Container.Filter;
import com.vaadin.data.util.sqlcontainer.query.generator.StatementHelper;
import com.vaadin.data.util.sqlcontainer.query.generator.filter.QueryBuilder;
public class FreeformQueryUtil {
+ @Test
+ public void testDummy(){
+ // Added dummy test so JUnit will not complain about "No runnable methods".
+ }
+
public static StatementHelper getQueryWithFilters(List<Filter> filters,
int offset, int limit) {
StatementHelper sh = new StatementHelper();
import javax.naming.NamingException;
import javax.naming.spi.InitialContextFactory;
+import org.junit.Test;
+
/**
* Provides a JNDI initial context factory for the MockContext.
*/
public class MockInitialContextFactory implements InitialContextFactory {
private static Context mockCtx = null;
+
+ @Test
+ public void testDummy(){
+ // Added dummy test so JUnit will not complain about "No runnable methods".
+ }
public static void setMockContext(Context ctx) {
mockCtx = ctx;