Since when internal constructor is not available t...
# android
e
Since when internal constructor is not available to be accessed from unit tests in the same module?
c
Always
e
That is not from my experience
Checked the documentation and I can not interpret what does next mean
Copy code
A Gradle source set (with the exception that the test source set can access the internal declarations of main)
c
"Gradle source set" = main, test, commonMain, commonTest, androidMain…
So the documentation says it's ok to use internal members from a test source set… I'm surprised, I have never seen it work
e
Oke, gradle runs fine and AS canary just wrongly highlight it
c
Good to know, sorry for the noise
🙌 1