~ubuntu-branches/ubuntu/natty/kdemultimedia/natty-proposed

« back to all changes in this revision

Viewing changes to libkcddb/test/cdinfotest.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Debian Qt/KDE Maintainers
  • Date: 2011-05-26 02:41:36 UTC
  • mfrom: (0.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: james.westby@ubuntu.com-20110526024136-jjwsigfy402jhupm
Tags: upstream-4.6.3
ImportĀ upstreamĀ versionĀ 4.6.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        str.append('\n');
55
55
        tinfo.set("custom", str);
56
56
        QString data = info.toString();
 
57
        QString submitData = info.toString(true);
57
58
 
58
59
        CDInfo info2;
59
60
        info2.load(data);
81
82
        str.fill('H',10*i);
82
83
        str.append('\n');
83
84
        QCOMPARE(info2.track(0).get("custom").toString(), str);
 
85
 
 
86
        QVERIFY(!submitData.contains("CUSTOM"));
 
87
        QVERIFY(data.contains("CUSTOM"));
84
88
    }
85
89
}
86
90