camelcase test failure

1 view
Skip to first unread message

Miller, Timothy

unread,
Apr 2, 2014, 9:25:47 AM4/2/14
to cleartk-d...@googlegroups.com
I'm getting ready to merge my Issue-384 (partial tree kernel) and was
running tests on master (before merging). I get a test failure on
cleartk-test-util:

java.lang.AssertionError: 2 source files with names that do not conform
to camel case naming convention..
at org.junit.Assert.fail(Assert.java:88)
at
org.cleartk.test.util.CamelCaseTest.testCamelCase(CamelCaseTest.java:96)

Is this something that's known to exist in master or something weird in
my setup? Just wondering if I can proceed with the merge.

Tim

Philip Ogren

unread,
Apr 2, 2014, 10:45:09 AM4/2/14
to cleartk-d...@googlegroups.com
I'm surprised the error message doesn't tell you which files are in
violation. The test is there to help us conform to a naming
convention. Have you added any new files whose names might violate the
camel case naming convention?

Miller, Timothy

unread,
Apr 2, 2014, 10:50:34 AM4/2/14
to cleartk-d...@googlegroups.com
My bad, thought I had grabbed that:
2 source files with names that do not conform to camel case naming convention..
../cleartk-test-util/target/generated-sources/jcasgen/org/cleartk/type/test/POSTag.java
../cleartk-test-util/target/generated-sources/jcasgen/org/cleartk/type/test/POSTag_Type.java

Tim

Philip Ogren

unread,
Apr 2, 2014, 10:54:45 AM4/2/14
to cleartk-d...@googlegroups.com
Weird.  I don't know why I didn't see this last weekend.  I would say proceed with your merge - this isn't your problem.  But would you please file an issue and label it 2.0?

Thanks,
Philip
--
You received this message because you are subscribed to the Google Groups "cleartk-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cleartk-develop...@googlegroups.com.
To post to this group, send email to cleartk-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/cleartk-developers.
For more options, visit https://groups.google.com/d/optout.

Miller, Timothy

unread,
Apr 2, 2014, 10:56:53 AM4/2/14
to cleartk-d...@googlegroups.com
OK, it looks like I just needed to do a clean first, must have been some old types lying around.
Thanks
Tim
Reply all
Reply to author
Forward
0 new messages