This file is indexed.

/usr/share/doc/lire/dev-manual/ch16s02.html is in lire-devel-doc 2:2.1.1-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Writing Tests</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Lire Developer's Manual"><link rel="up" href="ch16.html" title="Chapter 16. Making Lire &#8220;Test-infected&#8221;"><link rel="prev" href="ch16.html" title="Chapter 16. Making Lire &#8220;Test-infected&#8221;"><link rel="next" href="ch16s03.html" title="Running Tests"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Writing Tests</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch16.html">Prev</a> </td><th width="60%" align="center">Chapter 16. Making Lire <span class="quote">&#8220;<span class="quote">Test-infected</span>&#8221;</span></th><td width="20%" align="right"> <a accesskey="n" href="ch16s03.html">Next</a></td></tr></table><hr></div><div class="section" title="Writing Tests"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id417597"></a>Writing Tests</h2></div></div></div><p>General information on using the
          <span class="application">PerlUnit</span> framework can be found
          in the <code class="systemitem">Test::Unit</code> man page.
          Information on writing individual test cases can be found in
          the <code class="systemitem">Test::Unit::TestCase</code> man page.
        </p><p>Tests for individual modules should be defined in
          <code class="systemitem">tests::<em class="replaceable"><code>module</code></em>Test</code> 
          package. You can omit the <code class="systemitem">Lire::</code>
          prefix and you can inline intermediary package names. For
          example, the unit tests of the
          <code class="systemitem">Lire::ExtendedDlfSchema</code> module are
          in the <code class="systemitem">tests::ExtendedDlfSchemaTest</code>
          package and the tests of the
          <code class="systemitem">Lire::Timegroup</code> module
          are in the
          <code class="systemitem">tests::TimegroupTest</code>
          package.
        </p><p>The <code class="systemitem">Lire::Tests</code> namespace is
          reserved for extensions to the PerlUnit framework that will
          be used to provide <span class="quote">&#8220;<span class="quote">fixtures</span>&#8221;</span> and
          <span class="quote">&#8220;<span class="quote">assertions</span>&#8221;</span> that are of general use for common
          Lire extensions.
        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This section will be expanded as common patterns for
            writing unit test for DLF converters, analyzers and other
            common Lire extension are developped.
          </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch16.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch16.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch16s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 16. Making Lire <span class="quote">&#8220;<span class="quote">Test-infected</span>&#8221;</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Running Tests</td></tr></table></div></body></html>