]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added dummy test method so JUnit will not complain about "No runnable methods"
authorJohn Alhroos <john.ahlroos@itmill.com>
Thu, 11 Aug 2011 07:14:02 +0000 (07:14 +0000)
committerJohn Alhroos <john.ahlroos@itmill.com>
Thu, 11 Aug 2011 07:14:02 +0000 (07:14 +0000)
svn changeset:20290/svn branch:6.7

tests/src/com/vaadin/tests/server/container/sqlcontainer/DataGenerator.java
tests/src/com/vaadin/tests/server/container/sqlcontainer/FreeformQueryUtil.java
tests/src/com/vaadin/tests/server/container/sqlcontainer/connection/MockInitialContextFactory.java

index 52225984a7da754445f51c877e32fc09dfa4cad8..49f08bc798ebaef7f91683825bc5d9bf1c8823e8 100644 (file)
@@ -6,11 +6,17 @@ import java.sql.SQLException;
 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 {
index 22e8531c65eb0b67dbafd3011a4ebfe3797777bb..e85183be89801a5b8bb94db1912ef3a106123570 100644 (file)
@@ -2,6 +2,8 @@ package com.vaadin.tests.server.container.sqlcontainer;
 
 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;
@@ -9,6 +11,11 @@ import com.vaadin.tests.server.container.sqlcontainer.AllTests.DB;
 
 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();
index 0d3d2660fb976931723aaae542b7963ce5f430c2..c16cfb746b09ffde9a09948912118cdd66f73ee2 100644 (file)
@@ -4,11 +4,18 @@ import javax.naming.Context;
 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;