If you run a first analysis that consider all files as main source files and then tune your configuration to properly separate test files then file qualifier is not updated on server side.
- First analysis: sonar.sources=src/main/java,src/test/java
- File src/test/java/Foo.java is created with qualifier FIL
- Second analysis: sonar.sources=src/main/java sonar.tests=src/test/java
- File src/test/java/Foo.java keep its qualifier FIL while I was expecting it to move to UTS.