~ubuntu-branches/ubuntu/vivid/kdesdk/vivid

« back to all changes in this revision

Viewing changes to okteta/kasten/core/document/tests/bytearraydocumentfactorytest.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-06 11:49:54 UTC
  • mfrom: (0.4.21)
  • Revision ID: package-import@ubuntu.com-20120606114954-rdls73fzlpzxglbx
Tags: 4:4.8.80-0ubuntu1
* New uptream beta release
* Update dont_export_private_classes.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <qtest_kde.h>
31
31
 
32
32
 
33
 
namespace Kasten1
 
33
namespace Kasten2
34
34
{
35
35
 
36
36
void ByteArrayDocumentFactoryTest::testCreate()
42
42
 
43
43
    QVERIFY( document != 0 );
44
44
    QVERIFY( byteArrayDocument != 0 );
45
 
    QCOMPARE( document->localSyncState(), Kasten1::LocalInSync );
 
45
    QCOMPARE( document->contentFlags(), Kasten2::ContentStateNormal );
46
46
 
47
47
    delete document;
48
48
    delete factory;
50
50
 
51
51
}
52
52
 
53
 
QTEST_KDEMAIN_CORE( Kasten1::ByteArrayDocumentFactoryTest )
 
53
QTEST_KDEMAIN_CORE( Kasten2::ByteArrayDocumentFactoryTest )