[ 
https://issues.apache.org/jira/browse/CASSANDRA-17964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17675559#comment-17675559
 ] 

Stefan Miklosovic commented on CASSANDRA-17964:
-----------------------------------------------

[~bereng] OK I have a question though. When that annotation was used in tests, 
it had to be visible by IDEA because otherwise IDEA would not know where to 
find it as it was not among the sources. So I added this (1). When that 
annotation is supposed to be removed, the reason for that line ceases to exist. 
 The question is if we still want to have the source of that ant task nicely 
editable / known by IDEA out of the box. If you look into the current trunk, 
test/anttasks are not in idea-iml.file.xml so they are not recognized by IDE 
but it does not matter because that stuff is just used for ant tasks.

I think the fact they are not automatically recognized by IDEA is a bug and we 
should still add these sources among automatically recognized.

(1) https://github.com/apache/cassandra/pull/1981/files#r1066960701

> Some tests are never executed due to naming violation - fix it and add 
> checkstyle where applicable
> --------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17964
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17964
>             Project: Cassandra
>          Issue Type: Task
>          Components: Test/unit
>            Reporter: Ruslan Fomkin
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 4.x
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> [BatchTests|https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/cql3/BatchTests.java]
>  doesn't follow naming convention to be run as unit tests and, thus, is never 
> run.
> The rule in build expects names as `*Test`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to