I integrated a custom lint check as explained here, However the checks have no effects on my test code, it generates errors for the java class inside the main folder but not thetest` folder.
I tried to change Scope.JAVA_FILE_SCOPE to Scope.TEST_SOURCES and other values when creating the com.android.tools.lint.detector.api.Implementation however it did not work.
What am I doing wrong? is that not supported?