drop faulty test

f41
David Tardon 8 years ago
parent 3fc1a7abc7
commit 0786a39b26

@ -0,0 +1,36 @@
From 1a20d8ece2ea3e8aa1d319cd88e8a6aa637982f2 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Fri, 30 Sep 2016 09:57:15 +0200
Subject: [PATCH] drop test that violates Unicode tr#35
(and therefore fails with latest liblangtag)
Change-Id: I0e06c6c4e8bcf999cf5559d6287e77ae97e555d8
---
src/test/IWORKLanguageManagerTest.cpp | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/test/IWORKLanguageManagerTest.cpp b/src/test/IWORKLanguageManagerTest.cpp
index 8fca0a6..e663bd2 100644
--- a/src/test/IWORKLanguageManagerTest.cpp
+++ b/src/test/IWORKLanguageManagerTest.cpp
@@ -104,16 +104,6 @@ void IWORKLanguageManagerTest::testTagToProps()
}
{
- const string tag(mgr.addTag("ccc"));
- CPPUNIT_ASSERT(!tag.empty());
- RVNGPropertyList props;
- mgr.writeProperties(tag, props);
- assertProperty("unknown lang", props, "fo:language", "ccc");
- CPPUNIT_ASSERT(!props["fo:country"]);
- CPPUNIT_ASSERT(!props["fo:script"]);
- }
-
- {
// invalid tag
const string tag(mgr.addTag("13c"));
CPPUNIT_ASSERT(tag.empty());
--
2.9.3

@ -30,6 +30,7 @@ BuildRequires: pkgconfig(zlib)
Patch0: 0001-Allow-building-with-mdds-1.2.patch
Patch1: 0001-make-the-mdds-test-forward-compatible.patch
Patch2: 0001-drop-test-that-violates-Unicode-tr-35.patch
%description
%{name} is library for import of documents from Apple iWork applications

Loading…
Cancel
Save