diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-10-18 13:03:24 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-10-20 11:09:52 +0000 |
commit | f595aa5d9d45bc772d2e9aea24f44dc5d43c45be (patch) | |
tree | 85bd1c10ea9a95dfa1b611f450dda78d4ecec7cb /sources/shiboken2/ApiExtractor/tests/testcodeinjection.h | |
parent | b2d3a7dac9ca968b5800b6da1661e632a7ea9e90 (diff) |
Add snippet extraction to shiboken
Add a snippet attribute to inject-code and conversion-rule
instructing shiboken to extract code from a source file using
annotations.
Task-number: PYSIDE-834
Change-Id: I576c4a48fe68e9d26fe46e324af5baa88a5c1d34
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/tests/testcodeinjection.h')
-rw-r--r-- | sources/shiboken2/ApiExtractor/tests/testcodeinjection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/tests/testcodeinjection.h b/sources/shiboken2/ApiExtractor/tests/testcodeinjection.h index bd5e7ece1..1ac873970 100644 --- a/sources/shiboken2/ApiExtractor/tests/testcodeinjection.h +++ b/sources/shiboken2/ApiExtractor/tests/testcodeinjection.h @@ -37,7 +37,8 @@ class TestCodeInjections : public QObject { Q_OBJECT private slots: - void testReadFileUtf8(); + void testReadFile_data(); + void testReadFile(); void testInjectWithValidApiVersion(); void testInjectWithInvalidApiVersion(); }; |