| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>test.generic.test_collectors module — Python(P)DEVS-BBL documentation</title>
- <link rel="stylesheet" href="_static/nature.css" type="text/css" />
- <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
- <link rel="stylesheet" type="text/css" href="_static/custom.css" />
- <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
- <script type="text/javascript" src="_static/jquery.js"></script>
- <script type="text/javascript" src="_static/underscore.js"></script>
- <script type="text/javascript" src="_static/doctools.js"></script>
- <script type="text/javascript" src="_static/language_data.js"></script>
- <script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
- <link rel="index" title="Index" href="genindex.html" />
- <link rel="search" title="Search" href="search.html" />
- <link rel="next" title="test.generic.test_generators module" href="test.generic.test_generators.html" />
- <link rel="prev" title="test.generic package" href="test.generic.html" />
- </head><body>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="test.generic.test_generators.html" title="test.generic.test_generators module"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="test.generic.html" title="test.generic package"
- accesskey="P">previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">Python(P)DEVS-BBL documentation</a> »</li>
- <li class="nav-item nav-item-1"><a href="test.html" >test package</a> »</li>
- <li class="nav-item nav-item-2"><a href="test.generic.html" accesskey="U">test.generic package</a> »</li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="module-test.generic.test_collectors">
- <span id="test-generic-test-collectors-module"></span><h1>test.generic.test_collectors module<a class="headerlink" href="#module-test.generic.test_collectors" title="Permalink to this headline">¶</a></h1>
- <p>Tests the Collector building blocks to prove validity w.r.t. these tests.</p>
- <p>Every test will run a PythonPDEVS simulation on a model. This model will
- afterwards be analyzed against the expected measures. The model has a
- general shape of</p>
- <p class="centered">
- <strong><code class="docutils literal notranslate"><span class="pre">Generator</span> <span class="pre">-></span> <span class="pre">Collector</span></code></strong></p><div class="admonition note">
- <p class="first admonition-title">Note</p>
- <p class="last">The <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.TableCollector" title="pypdevsbbl.generic.collectors.TableCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.TableCollector</span></code></a> will not be tested
- in a standalone-way. Its correctness will be evaluated w.r.t. all other
- tests that are executed.</p>
- </div>
- <div class="admonition seealso">
- <p class="first admonition-title">See also</p>
- <p class="last"><a class="reference internal" href="pypdevsbbl.generic.collectors.html#module-pypdevsbbl.generic.collectors" title="pypdevsbbl.generic.collectors"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors</span></code></a></p>
- </div>
- <dl class="class">
- <dt id="test.generic.test_collectors.TestCollectors">
- <em class="property">class </em><code class="descclassname">test.generic.test_collectors.</code><code class="descname">TestCollectors</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors" title="Permalink to this definition">¶</a></dt>
- <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
- <dl class="method">
- <dt id="test.generic.test_collectors.TestCollectors.setUp">
- <code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.setUp" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.generic.test_collectors.TestCollectors.test_collector">
- <code class="descname">test_collector</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_collector"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_collector" title="Permalink to this definition">¶</a></dt>
- <dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.Collector" title="pypdevsbbl.generic.collectors.Collector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.Collector</span></code></a>.</p>
- </dd></dl>
- <dl class="method">
- <dt id="test.generic.test_collectors.TestCollectors.test_collector_clear">
- <code class="descname">test_collector_clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_collector_clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_collector_clear" title="Permalink to this definition">¶</a></dt>
- <dd><p>Tests the clearing of the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.Collector" title="pypdevsbbl.generic.collectors.Collector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.Collector</span></code></a>.</p>
- </dd></dl>
- <dl class="method">
- <dt id="test.generic.test_collectors.TestCollectors.test_estimate">
- <code class="descname">test_estimate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_estimate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_estimate" title="Permalink to this definition">¶</a></dt>
- <dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.EstimateCollector" title="pypdevsbbl.generic.collectors.EstimateCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.EstimateCollector</span></code></a>.</p>
- </dd></dl>
- <dl class="method">
- <dt id="test.generic.test_collectors.TestCollectors.test_estimate_clear">
- <code class="descname">test_estimate_clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_estimate_clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_estimate_clear" title="Permalink to this definition">¶</a></dt>
- <dd><p>Tests the clearing of the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.EstimateCollector" title="pypdevsbbl.generic.collectors.EstimateCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.EstimateCollector</span></code></a>.</p>
- </dd></dl>
- <dl class="method">
- <dt id="test.generic.test_collectors.TestCollectors.test_counter">
- <code class="descname">test_counter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_counter"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_counter" title="Permalink to this definition">¶</a></dt>
- <dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.EstimateCollector" title="pypdevsbbl.generic.collectors.EstimateCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.EstimateCollector</span></code></a>.</p>
- </dd></dl>
- <dl class="method">
- <dt id="test.generic.test_collectors.TestCollectors.test_counter_clear">
- <code class="descname">test_counter_clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_counter_clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_counter_clear" title="Permalink to this definition">¶</a></dt>
- <dd><p>Tests the clearing of the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.EstimateCollector" title="pypdevsbbl.generic.collectors.EstimateCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.EstimateCollector</span></code></a>.</p>
- </dd></dl>
- </dd></dl>
- </div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <h4>Previous topic</h4>
- <p class="topless"><a href="test.generic.html"
- title="previous chapter">test.generic package</a></p>
- <h4>Next topic</h4>
- <p class="topless"><a href="test.generic.test_generators.html"
- title="next chapter">test.generic.test_generators module</a></p>
- <div id="searchbox" style="display: none" role="search">
- <h3>Quick search</h3>
- <div class="searchformwrapper">
- <form class="search" action="search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- >index</a></li>
- <li class="right" >
- <a href="py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="test.generic.test_generators.html" title="test.generic.test_generators module"
- >next</a> |</li>
- <li class="right" >
- <a href="test.generic.html" title="test.generic package"
- >previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">Python(P)DEVS-BBL documentation</a> »</li>
- <li class="nav-item nav-item-1"><a href="test.html" >test package</a> »</li>
- <li class="nav-item nav-item-2"><a href="test.generic.html" >test.generic package</a> »</li>
- </ul>
- </div>
- <div class="footer" role="contentinfo">
- © Copyright 2020, Randy Paredis.
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.5.
- </div>
- </body>
- </html>
|