| 62 | } |
| 63 | |
| 64 | void TestBibTeXFile::entry_hasField() |
| 65 | { |
| 66 | BibTeXFile b("bibtex-1.bib"); |
| 67 | QVERIFY(b.entry(0).hasField(QString::fromLatin1("title"))); |
| 68 | QVERIFY(b.entry(0).hasField(QString::fromLatin1("TITLE"))); |
| 69 | QVERIFY(b.entry(0).hasField(QString::fromLatin1("unknown-field")) == false); |
| 70 | } |
| 71 | |
| 72 | void TestBibTeXFile::entry_value() |
| 73 | { |