Class com.stehno.effigy.transform.SqlUpdateTransformationTest
Tests
Test |
Duration |
Result |
boolean updateAge(String name, int age) |
0.555s |
passed |
int addSomeone(String name, int age) |
0.015s |
passed |
long addSomeone(String name, int age):setter |
0.050s |
passed |
Standard output
21:15:35.246 [Test worker] DEBUG c.s.e.t.RepositoryTransformer - Removed abstract from repository class (testing.UpdateTestRepository).
21:15:35.257 [Test worker] DEBUG c.s.e.t.RepositoryTransformer - Added autowired JdbcTemplate property to repository class (testing.UpdateTestRepository).
21:15:35.306 [Test worker] DEBUG c.s.e.transform.SqlSelectTransformer - Resolved return type (java.lang.Integer) for method (ages).
21:15:35.446 [Test worker] DEBUG c.s.e.t.RepositoryTransformer - Removed abstract from repository class (testing.UpdateTestRepository).
21:15:35.446 [Test worker] DEBUG c.s.e.t.RepositoryTransformer - Added autowired JdbcTemplate property to repository class (testing.UpdateTestRepository).
21:15:35.460 [Test worker] DEBUG c.s.e.transform.SqlSelectTransformer - Resolved return type (int) for method (count).
21:15:35.496 [Test worker] DEBUG c.s.e.t.RepositoryTransformer - Removed abstract from repository class (testing.UpdateTestRepository).
21:15:35.497 [Test worker] DEBUG c.s.e.t.RepositoryTransformer - Added autowired JdbcTemplate property to repository class (testing.UpdateTestRepository).
21:15:35.498 [Test worker] DEBUG c.s.e.transform.SqlSelectTransformer - Resolved return type (int) for method (count).
Standard error
May 02, 2015 9:15:34 PM org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory initDatabase
INFO: Creating embedded database 'testdb'
May 02, 2015 9:15:34 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executing SQL script from class path resource [schema-a.sql]
May 02, 2015 9:15:34 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executed SQL script from class path resource [schema-a.sql] in 2 ms.
May 02, 2015 9:15:34 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executing SQL script from class path resource [data-a.sql]
May 02, 2015 9:15:34 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executed SQL script from class path resource [data-a.sql] in 2 ms.
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory initDatabase
INFO: Creating embedded database 'testdb'
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executing SQL script from class path resource [schema-a.sql]
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executed SQL script from class path resource [schema-a.sql] in 1 ms.
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executing SQL script from class path resource [data-a.sql]
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executed SQL script from class path resource [data-a.sql] in 2 ms.
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory initDatabase
INFO: Creating embedded database 'testdb'
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executing SQL script from class path resource [schema-a.sql]
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executed SQL script from class path resource [schema-a.sql] in 0 ms.
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executing SQL script from class path resource [data-a.sql]
May 02, 2015 9:15:35 PM org.springframework.jdbc.datasource.init.ScriptUtils executeSqlScript
INFO: Executed SQL script from class path resource [data-a.sql] in 1 ms.