Commit 640560cb authored by Volker Krause's avatar Volker Krause
Browse files

Remove unit test for the old API

This one will break once we change the extractor script metadata to use
the new more detailed type information.
parent 9fbe9832
......@@ -5,7 +5,6 @@
#include <KItinerary/AbstractExtractor>
#include <KItinerary/Extractor>
#include <KItinerary/ExtractorDocumentNode>
#include <KItinerary/ExtractorDocumentNodeFactory>
#include <KItinerary/ExtractorEngine>
......@@ -39,21 +38,6 @@ private Q_SLOTS:
void testApplyFilter()
ExtractorRepository repo;
std::vector<Extractor> extractors;
repo.extractorsForBarcode(QStringLiteral("i0CVxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxX"), extractors);
QCOMPARE(extractors.size(), 1);
repo.extractorsForContent(QStringLiteral("PNR:1234567890,TRAIN:12345,DOJ:dd-mm-yyyy,TIME:hh:mm,SL,A TO B,John Doe+2,S7 49 S7 52 S7 55,FARE:140,SC:10+PG CHGS."), extractors);
QCOMPARE(extractors.size(), 1);
void testExtractorsForNode()
ExtractorEngine engine;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment