mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Overall idea is that `test/experimental/meta/ConceptsTest.qll` will set up inline expectation tests for all the classes defined in `Concepts.qll`, so any time you model a new instance of Concepts, you simply just import that file. That makes the tests a little verbose, but allows us to share test-setup between all the different frameworks we model. Note that since the definitions of SystemCommandExecution subclasses are scattered across multieple framework modeling qll files, it think it makes the most sense to have the tests for each framework in one location. I'm not 100% convinced about if this is the right choice or not (especially when we want to write tests for sanitizers), but for now I'm going to try it out at least.
3 lines
52 B
Plaintext
3 lines
52 B
Plaintext
import python
|
|
import experimental.meta.ConceptsTest
|