Unit Test: glossary.001

Wikipedia fruits with pepper

Edited by Someone Random

Just some test data

Chapter 1Fruits and Peppers

Note

The test harness is configured to run this test with the glossary-collection parameter pointing to src/test/resources/glosscollection.xml.

There's a firstterm here: Apple.

And there's a couple of glossterms here: Peach, Jackfruit, and Durian (not in the Glossary).

We also have Pepper which has two entries in the glossary. This is wrong, of course. The application should complain. (Note that when constructing a glossary automatically, repeated terms are avoided by only using the first. When the glossary is constructed by hand, removing duplicates is the author’s resposibility.)

Glossary

A
Apple

An apple is an edible fruit produced by an apple tree (Malus domestica). Apple trees are cultivated worldwide and are the most widely grown species in the genus Malus. The tree originated in Central Asia, where its wild ancestor, Malus sieversii, is still found today. Apples have been grown for thousands of years in Asia and Europe and were brought to North America by European colonists. Apples have religious and mythological significance in many cultures, including Norse, Greek and European Christian tradition.

See also Pear.

Apricot

An apricot is a fruit, or the tree that bears the fruit, of several species in the genus Prunus.

D
Drupe

In botany, a drupe (or stone fruit) is an indehiscent fruit in which an outer fleshy part (exocarp, or skin; and mesocarp, or flesh) surrounds a single shell (the pit, stone, or pyrene) of hardened endocarp with a seed (kernel) inside. These fruits usually develop from a single carpel, and mostly from flowers with superior ovaries.

See also Apricot, Peach, Nectarine.

J
Jackfruit

The jackfruit (Artocarpus heterophyllus), also known as jack tree, is a species of tree in the fig, mulberry, and breadfruit family (Moraceae). Its origin is in the region between the Western Ghats of southern India and the rainforests of Malaysia.

N
Nectarine

See Peach.

P
Peach

The peach (Prunus persica) is a deciduous tree native to the region of Northwest China between the Tarim Basin and the north slopes of the Kunlun Mountains, where it was first domesticated and cultivated. It bears an edible juicy fruit called a peach or a nectarine.

Pear

The pear tree and shrub are a species of genus Pyrus, in the family Rosaceae, bearing the pomaceous fruit of the same name. Several species of pear are valued for their edible fruit and juices while others are cultivated as trees.

See also Apple.

Pepper

Black pepper (Piper nigrum) is a flowering vine in the family Piperaceae, cultivated for its fruit (the peppercorn), which is usually dried and used as a spice and seasoning. Peppercorns and the ground pepper derived from them may be described simply as pepper, or more precisely as black pepper (cooked and dried unripe fruit), green pepper (dried unripe fruit), or white pepper (ripe fruit seeds).

Pepper

Long pepper (Piper longum), sometimes called Indian long pepper or pippali, is a flowering vine in the family Piperaceae, cultivated for its fruit, which is usually dried and used as a spice and seasoning. Long pepper has a taste similar to, but sweeter and less pungent than, that of its close relative Piper nigrum – from which black, green and white pepper are obtained.