diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-12 14:17:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-12 14:18:01 +0000 |
commit | 3790f56b2be9358815812bfad0b8098728a694db (patch) | |
tree | 62831070bf62f74d0426130f7b12229492ba0289 /sw | |
parent | 3c1eba7314d3a0dae925cbe90e0cd98cfb79c81b (diff) |
times are represented using local machines time, bah, just check for am/pm
Change-Id: I3f0f76884e62cc7ec151a890ff0dd10e75194e3d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ww8import/ww8import.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx index b6f0166f06fc..d6101dc8b9a1 100644 --- a/sw/qa/extras/ww8import/ww8import.cxx +++ b/sw/qa/extras/ww8import/ww8import.cxx @@ -265,7 +265,8 @@ void Test::testI120158() // get contents of 1st paragraph as text uno::Reference<uno::XInterface> paragraph0(paraEnum->nextElement(), uno::UNO_QUERY); uno::Reference<text::XTextRange> text0(paragraph0, uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL( OUString( "3/12/2013 10:48:00 AM" ), text0->getString()); + OUString sFieldResult = text0->getString(); + CPPUNIT_ASSERT(sFieldResult.endsWith("AM") || sFieldResult.endsWith("PM")); } CPPUNIT_TEST_SUITE_REGISTRATION(Test); |