aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/add-ons/plugins/samples_and_test_cases/index.html
blob: 4d0ac340855d7bffd1834b8e3cd233b8828e71b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
title: Samples and Test Cases
slug: Mozilla/Add-ons/Plugins/Samples_and_Test_Cases
translation_of: Archive/Plugins/Samples_and_Test_Cases
---
<h2 id="NPAPI_Plugin_Samples">NPAPI Plugin Samples</h2>
<p>Collections of NPAPI plugin samples can be found in the Seamonkey source code at <a class="external" href="http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/" title="http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/">/modules/plugin/sdk/samples</a>.</p>
<p>The samples may not build any more on all platforms. There are plans to clean up the sample plugin situation - better organization, updated build systems, get them building on all platforms. However, even if one cannot build the samples they can still be very valuable as code references.</p>
<p>There is a <a href="/en/Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio" title="en/Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio">guide to compiling the npruntime sample in Visual Studio</a>.</p>
<p>In addition to those samples, there are 2 more plugins in the tree that might be helpful.</p>
<ul>
 <li><a class="external" href="http://mxr.mozilla.org/seamonkey/source/modules/plugin/tools/spy/">Spy</a></li>
 <li><a class="external" href="http://mxr.mozilla.org/seamonkey/source/modules/plugin/tools/tester/">Tester</a></li>
</ul>
<h2 id="NPAPI_Plugin_Test_Cases">NPAPI Plugin Test Cases</h2>
<ul>
 <li>mozilla.org QA <a class="external" href="http://www.mozilla.org/quality/browser/front-end/testcases/plugins/">Plugins testcases</a></li>
 <li>mozilla.org QA <a class="external" href="http://www.mozilla.org/quality/browser/front-end/testcases/oji/">OJI testcases</a></li>
 <li><a class="external" href="http://www.mozilla.org/projects/plugins/plugins_testing_checklist.html">Plugins Verification Testing Checklist</a> (including <a class="external" href="http://www.mozilla.org/quality/smoketests/">SmokeTesting</a>)</li>
</ul>
<p>{{ languages( { "de": "de/Plugins/Beispiele_und_Testfälle" } ) }}</p>