##// END OF EJS Templates
Some refac for new PySide2 bindings...
Some refac for new PySide2 bindings - made DataSourceItem iterable - added some tree print function for debug - fixed minor bug on DataSourceContorller which prevented from adding products in more than one call per provider - improved IDataProvider for future refac Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r62:7315812f3839
r92:9ff5f48e3d71
Show More
TestVariable.cpp
20 lines | 349 B | text/x-c | CppLexer
#include <QObject>
#include <QtTest>
#include <Variable/Variable2.h>
#include <memory>
class TestVariable : public QObject
{
Q_OBJECT
private slots:
void initTestCase() {}
void type_matches_TS_type()
{
Variable2 v("none", {});
QVERIFY(v.type() == DataSeriesType::NONE);
}
};
QTEST_MAIN(TestVariable)
#include "TestVariable.moc"