MCPcopy Create free account
hub / github.com/TeXworks/texworks / entry_hasField

Method entry_hasField

unit-tests/BibTeXFile_test.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void 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
72void TestBibTeXFile::entry_value()
73{

Callers

nothing calls this directly

Calls 1

hasFieldMethod · 0.80

Tested by

no test coverage detected