empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1185553 - /incubator/empire-db/trunk/empire-db-codegen/src/test/java/org/apache/empire/db/codegen/WriterServiceTest.java
Date Tue, 18 Oct 2011 10:29:23 GMT
Author: doebele
Date: Tue Oct 18 10:29:23 2011
New Revision: 1185553

URL: http://svn.apache.org/viewvc?rev=1185553&view=rev
Log:
EMPIREDB-117
adjusted unit-test for camel casing bugfix

Modified:
    incubator/empire-db/trunk/empire-db-codegen/src/test/java/org/apache/empire/db/codegen/WriterServiceTest.java

Modified: incubator/empire-db/trunk/empire-db-codegen/src/test/java/org/apache/empire/db/codegen/WriterServiceTest.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db-codegen/src/test/java/org/apache/empire/db/codegen/WriterServiceTest.java?rev=1185553&r1=1185552&r2=1185553&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db-codegen/src/test/java/org/apache/empire/db/codegen/WriterServiceTest.java
(original)
+++ incubator/empire-db/trunk/empire-db-codegen/src/test/java/org/apache/empire/db/codegen/WriterServiceTest.java
Tue Oct 18 10:29:23 2011
@@ -33,9 +33,10 @@ public class WriterServiceTest {
 		WriterService service = new WriterService(config);
 		assertEquals("TestTable", service.getTableClassName("test_table"));
 		assertEquals("TestTable", service.getTableClassName("TEST_TABLE"));
-		assertEquals("TestTable", service.getTableClassName("TestTable"));
-		// TODO is this correct?
-		assertEquals("TESTTABLE", service.getTableClassName("TESTTABLE"));
+		assertEquals("Testtable", service.getTableClassName("TESTTABLE"));
+		/*
+		 * Hint: Camel casing can be disabled setting PreserverCharacterCase=true
+		 */
 	}
 	
 	@Test



Mime
View raw message