felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mccu...@apache.org
Subject svn commit: r1243125 [3/6] - in /felix/trunk/bundleplugin: ./ doc/ doc/apache-felix-maven-bundle-plugin-bnd_files/ doc/apache-felix-maven-bundle-plugin-bnd_files/button_data/ doc/site/ doc/site/css/ doc/site/xref-test/ doc/site/xref-test/org/apache/fel...
Date Sat, 11 Feb 2012 19:16:12 GMT
Modified: felix/trunk/bundleplugin/doc/site/surefire-report.html
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/doc/site/surefire-report.html?rev=1243125&r1=1243124&r2=1243125&view=diff
==============================================================================
--- felix/trunk/bundleplugin/doc/site/surefire-report.html (original)
+++ felix/trunk/bundleplugin/doc/site/surefire-report.html Sat Feb 11 19:16:11 2012
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Nov 28, 2011 -->
+<!-- Generated by Apache Maven Doxia at Feb 11, 2012 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -10,7 +10,7 @@
       @import url("./css/site.css");
     </style>
     <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20111128" />
+    <meta name="Date-Revision-yyyymmdd" content="20120211" />
     <meta http-equiv="Content-Language" content="en" />
         
   </head>
@@ -27,7 +27,7 @@
             
         
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2011-11-28</span>
+        <span id="publishDate">Last Published: 2012-02-11</span>
                   &nbsp;| <span id="projectVersion">Version: 2.4.0-SNAPSHOT</span>
                       </div>
             <div class="xright">        
@@ -94,14 +94,14 @@
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <div class="section"><h2>Surefire Report<a name="Surefire_Report"></a></h2></div><div
class="section"><h2><a name="Summary"></a>Summary<a name="Summary"></a></h2><div
class="section">[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package
List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><br /><table
border="0" class="bodyTable"><tr class="a"><th>Tests</th><th>Errors
</th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr
class="b"><td>15</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>2.93</td></tr></table><br
/>Note: failures are anticipated and checked for with assertions while errors are unanticipated.<br
/></div><div class="section"><h2><a name="Package_List"></a>Package
List<a name="Package_List"></a></h2><div class="section">[<a href="#Summary">Summary</a>]
[<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><br
/><table border="0" class="bodyTable"><tr class="a"><th>Package</th><th>T
 ests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success
Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.felix.bundleplugin">org.apache.felix.bundleplugin</a></td><td>15</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>2.93</td></tr></table><br
/>Note: package statistics are not computed recursively, they only sum up all of its testsuites
numbers.<div class="section"><h3><a name="org.apache.felix.bundleplugin"></a>org.apache.felix.bundleplugin<a
name="org.apache.felix.bundleplugin"></a></h3><table border="0" class="bodyTable"><tr
class="a"><th></th><th>Class</th><th>Tests</th><th>Errors
</th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr
class="b"><td><a href="#org.apache.felix.bundlepluginBlueprintComponentTest"><img
src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.felix.bundlepluginBlueprintComponentTest">BlueprintComponentTest</a></td><td>1</td><td>0</td><td>0</td><td>0</td><td>100%<
 /td><td>0.761</td></tr><tr class="a"><td><a href="#org.apache.felix.bundlepluginBundleAllPluginTest"><img
src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.felix.bundlepluginBundleAllPluginTest">BundleAllPluginTest</a></td><td>2</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.953</td></tr><tr
class="b"><td><a href="#org.apache.felix.bundlepluginBundlePluginTest"><img
src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.felix.bundlepluginBundlePluginTest">BundlePluginTest</a></td><td>12</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>1.216</td></tr></table></div><br
/></div><div class="section"><h2><a name="Test_Cases"></a>Test
Cases<a name="Test_Cases"></a></h2><div class="section">[<a href="#Summary">Summary</a>]
[<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><div
class="section"><h3><a name="org.apache.felix.bundlepluginBlueprintComponentTest"></a>BlueprintComponentTest<a
nam
 e="BlueprintComponentTest"></a></h3><table border="0" class="bodyTable"><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testBlueprint</td><td>0.711</td></tr></table></div><div
class="section"><h3><a name="org.apache.felix.bundlepluginBundleAllPluginTest"></a>BundleAllPluginTest<a
name="BundleAllPluginTest"></a></h3><table border="0" class="bodyTable"><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testSnapshotMatch</td><td>0.463</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testNoReBundling</td><td>0.484</td></tr></table></div><div
class="section"><h3><a name="org.apache.felix.bundlepluginBundlePluginTest"></a>BundlePluginTest<a
name="BundlePluginTest"></a></h3><table border="0" class="bodyTable"><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testConvertVersionToOsgi</td><td>0.057</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></
 td><td>testReadExportedModules</td><td>0.178</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testTransformDirectives</td><td>0.052</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testDefaultPropertiesIncludeOrganization</td><td>0.064</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testVersion</td><td>0.046</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testPackageInfoDetection</td><td>0.064</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testEmbedDependencyPositiveClauses</td><td>0.151</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testEmbedDependencyNegativeClauses</td><td>0.127</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testEmbedDependencyDuplicateKeys</td><td>0.142</td></tr><tr
class="a"><td><img src="images/icon_succ
 ess_sml.gif" alt="" /></td><td>testEmbedDependencyMissingPositiveKey</td><td>0.127</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testEmbedDependencyMissingNegativeKey</td><td>0.172</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testPropertySanitizing</td><td>0.03</td></tr></table></div><br
/></div><br />
+        <div class="section"><h2>Surefire Report<a name="Surefire_Report"></a></h2></div><div
class="section"><h2><a name="Summary"></a>Summary<a name="Summary"></a></h2><div
class="section">[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package
List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><br /><table
border="0" class="bodyTable"><tr class="a"><th>Tests</th><th>Errors
</th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr
class="b"><td>15</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>2.621</td></tr></table><br
/>Note: failures are anticipated and checked for with assertions while errors are unanticipated.<br
/></div><div class="section"><h2><a name="Package_List"></a>Package
List<a name="Package_List"></a></h2><div class="section">[<a href="#Summary">Summary</a>]
[<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><br
/><table border="0" class="bodyTable"><tr class="a"><th>Package</th><th>
 Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success
Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.felix.bundleplugin">org.apache.felix.bundleplugin</a></td><td>15</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>2.621</td></tr></table><br
/>Note: package statistics are not computed recursively, they only sum up all of its testsuites
numbers.<div class="section"><h3><a name="org.apache.felix.bundleplugin"></a>org.apache.felix.bundleplugin<a
name="org.apache.felix.bundleplugin"></a></h3><table border="0" class="bodyTable"><tr
class="a"><th></th><th>Class</th><th>Tests</th><th>Errors
</th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr
class="b"><td><a href="#org.apache.felix.bundlepluginBlueprintComponentTest"><img
src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.felix.bundlepluginBlueprintComponentTest">BlueprintComponentTest</a></td><td>1</td><td>0</td><td>0</td><td>0</td><td>100
 %</td><td>0.643</td></tr><tr class="a"><td><a href="#org.apache.felix.bundlepluginBundleAllPluginTest"><img
src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.felix.bundlepluginBundleAllPluginTest">BundleAllPluginTest</a></td><td>2</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.877</td></tr><tr
class="b"><td><a href="#org.apache.felix.bundlepluginBundlePluginTest"><img
src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.felix.bundlepluginBundlePluginTest">BundlePluginTest</a></td><td>12</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>1.101</td></tr></table></div><br
/></div><div class="section"><h2><a name="Test_Cases"></a>Test
Cases<a name="Test_Cases"></a></h2><div class="section">[<a href="#Summary">Summary</a>]
[<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><div
class="section"><h3><a name="org.apache.felix.bundlepluginBlueprintComponentTest"></a>BlueprintComponentTest<a
n
 ame="BlueprintComponentTest"></a></h3><table border="0" class="bodyTable"><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testBlueprint</td><td>0.598</td></tr></table></div><div
class="section"><h3><a name="org.apache.felix.bundlepluginBundleAllPluginTest"></a>BundleAllPluginTest<a
name="BundleAllPluginTest"></a></h3><table border="0" class="bodyTable"><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testSnapshotMatch</td><td>0.381</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testNoReBundling</td><td>0.491</td></tr></table></div><div
class="section"><h3><a name="org.apache.felix.bundlepluginBundlePluginTest"></a>BundlePluginTest<a
name="BundlePluginTest"></a></h3><table border="0" class="bodyTable"><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testConvertVersionToOsgi</td><td>0.06</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /><
 /td><td>testReadExportedModules</td><td>0.15</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testTransformDirectives</td><td>0.054</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testDefaultPropertiesIncludeOrganization</td><td>0.061</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testVersion</td><td>0.045</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testPackageInfoDetection</td><td>0.066</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testEmbedDependencyPositiveClauses</td><td>0.123</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testEmbedDependencyNegativeClauses</td><td>0.099</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testEmbedDependencyDuplicateKeys</td><td>0.111</td></tr><tr
class="a"><td><img src="images/icon_succ
 ess_sml.gif" alt="" /></td><td>testEmbedDependencyMissingPositiveKey</td><td>0.117</td></tr><tr
class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testEmbedDependencyMissingNegativeKey</td><td>0.164</td></tr><tr
class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testPropertySanitizing</td><td>0.028</td></tr></table></div><br
/></div><br />
       </div>
     </div>
     <div class="clear">
       <hr/>
     </div>
     <div id="footer">
-      <div class="xright">Copyright &#169;                    2006-2011
+      <div class="xright">Copyright &#169;                    2006-2012
                         <a href="http://www.apache.org/">The Apache Software Foundation</a>.
             All Rights Reserved.      
         

Modified: felix/trunk/bundleplugin/doc/site/team-list.html
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/doc/site/team-list.html?rev=1243125&r1=1243124&r2=1243125&view=diff
==============================================================================
--- felix/trunk/bundleplugin/doc/site/team-list.html (original)
+++ felix/trunk/bundleplugin/doc/site/team-list.html Sat Feb 11 19:16:11 2012
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Nov 28, 2011 -->
+<!-- Generated by Apache Maven Doxia at Feb 11, 2012 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -10,7 +10,7 @@
       @import url("./css/site.css");
     </style>
     <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20111128" />
+    <meta name="Date-Revision-yyyymmdd" content="20120211" />
     <meta http-equiv="Content-Language" content="en" />
         
   </head>
@@ -27,7 +27,7 @@
             
         
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2011-11-28</span>
+        <span id="publishDate">Last Published: 2012-02-11</span>
                   &nbsp;| <span id="projectVersion">Version: 2.4.0-SNAPSHOT</span>
                       </div>
             <div class="xright">        
@@ -122,7 +122,7 @@ window.onLoad = init();
       <hr/>
     </div>
     <div id="footer">
-      <div class="xright">Copyright &#169;                    2006-2011
+      <div class="xright">Copyright &#169;                    2006-2012
                         <a href="http://www.apache.org/">The Apache Software Foundation</a>.
             All Rights Reserved.      
         

Modified: felix/trunk/bundleplugin/doc/site/wrap-mojo.html
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/doc/site/wrap-mojo.html?rev=1243125&r1=1243124&r2=1243125&view=diff
==============================================================================
--- felix/trunk/bundleplugin/doc/site/wrap-mojo.html (original)
+++ felix/trunk/bundleplugin/doc/site/wrap-mojo.html Sat Feb 11 19:16:11 2012
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Nov 28, 2011 -->
+<!-- Generated by Apache Maven Doxia at Feb 11, 2012 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -11,7 +11,7 @@
       @import url("./css/site.css");
     </style>
     <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20111128" />
+    <meta name="Date-Revision-yyyymmdd" content="20120211" />
     <meta http-equiv="Content-Language" content="en" />
         
   </head>
@@ -28,7 +28,7 @@
             
         
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2011-11-28</span>
+        <span id="publishDate">Last Published: 2012-02-11</span>
                   &nbsp;| <span id="projectVersion">Version: 2.4.0-SNAPSHOT</span>
                       </div>
             <div class="xright">        
@@ -313,7 +313,7 @@ memory</div>
       <hr/>
     </div>
     <div id="footer">
-      <div class="xright">Copyright &#169;                    2006-2011
+      <div class="xright">Copyright &#169;                    2006-2012
                         <a href="http://www.apache.org/">The Apache Software Foundation</a>.
             All Rights Reserved.      
         

Modified: felix/trunk/bundleplugin/doc/site/xref-test/allclasses-frame.html
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/doc/site/xref-test/allclasses-frame.html?rev=1243125&r1=1243124&r2=1243125&view=diff
==============================================================================
--- felix/trunk/bundleplugin/doc/site/xref-test/allclasses-frame.html (original)
+++ felix/trunk/bundleplugin/doc/site/xref-test/allclasses-frame.html Sat Feb 11 19:16:11
2012
@@ -15,6 +15,9 @@
 				<a href="org/apache/felix/bundleplugin/AbstractBundlePluginTest.html" target="classFrame">AbstractBundlePluginTest</a>
 			</li>
 						<li>
+				<a href="org/apache/felix/bundleplugin/ArtifactStubFactory.html" target="classFrame">ArtifactStubFactory</a>
+			</li>
+						<li>
 				<a href="org/apache/felix/bundleplugin/BlueprintComponentTest.html" target="classFrame">BlueprintComponentTest</a>
 			</li>
 						<li>

Added: felix/trunk/bundleplugin/doc/site/xref-test/org/apache/felix/bundleplugin/ArtifactStubFactory.html
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/doc/site/xref-test/org/apache/felix/bundleplugin/ArtifactStubFactory.html?rev=1243125&view=auto
==============================================================================
--- felix/trunk/bundleplugin/doc/site/xref-test/org/apache/felix/bundleplugin/ArtifactStubFactory.html
(added)
+++ felix/trunk/bundleplugin/doc/site/xref-test/org/apache/felix/bundleplugin/ArtifactStubFactory.html
Sat Feb 11 19:16:11 2012
@@ -0,0 +1,90 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>ArtifactStubFactory xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <strong class="jxr_keyword">package</strong>
org.apache.felix.bundleplugin;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a>   <em class="jxr_comment"> * Licensed to the
Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a>   <em class="jxr_comment"> * or more contributor
license agreements.  See the NOTICE file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_comment"> * distributed with
this work for additional information</em>
+<a name="7" href="#7">7</a>   <em class="jxr_comment"> * regarding copyright
ownership.  The ASF licenses this file</em>
+<a name="8" href="#8">8</a>   <em class="jxr_comment"> * to you under the
Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a>   <em class="jxr_comment"> * "License"); you
may not use this file except in compliance</em>
+<a name="10" href="#10">10</a>  <em class="jxr_comment"> * with the License.
 You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_comment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0"
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a>  <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_comment"> * Unless required
by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a>  <em class="jxr_comment"> * software distributed
under the License is distributed on an</em>
+<a name="16" href="#16">16</a>  <em class="jxr_comment"> * "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a>  <em class="jxr_comment"> * KIND, either
express or implied.  See the License for the</em>
+<a name="18" href="#18">18</a>  <em class="jxr_comment"> * specific language
governing permissions and limitations</em>
+<a name="19" href="#19">19</a>  <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a>  <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong>
java.io.File;
+<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong>
java.io.IOException;
+<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong>
java.util.LinkedHashSet;
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong>
java.util.Set;
+<a name="26" href="#26">26</a>  
+<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong>
org.apache.maven.artifact.Artifact;
+<a name="28" href="#28">28</a>  
+<a name="29" href="#29">29</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="30" href="#30">30</a>  <em class="jxr_javadoccomment"> * Fixed
version of class that uses stable set ordering for reliable testing.</em>
+<a name="31" href="#31">31</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="32" href="#32">32</a>  @SuppressWarnings( { <span class="jxr_string">"rawtypes"</span>,
<span class="jxr_string">"unchecked"</span> } )
+<a name="33" href="#33">33</a>  <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/felix/bundleplugin/ArtifactStubFactory.html">ArtifactStubFactory</a>
<strong class="jxr_keyword">extends</strong> org.apache.maven.plugin.testing.ArtifactStubFactory
+<a name="34" href="#34">34</a>  {
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>      <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/felix/bundleplugin/ArtifactStubFactory.html">ArtifactStubFactory</a>(
File workingDir, <strong class="jxr_keyword">boolean</strong> createFiles )
+<a name="37" href="#37">37</a>      {
+<a name="38" href="#38">38</a>          <strong class="jxr_keyword">super</strong>(
workingDir, createFiles );
+<a name="39" href="#39">39</a>      }
+<a name="40" href="#40">40</a>  
+<a name="41" href="#41">41</a>      @Override
+<a name="42" href="#42">42</a>      <strong class="jxr_keyword">public</strong>
Set getClassifiedArtifacts() <strong class="jxr_keyword">throws</strong> IOException
+<a name="43" href="#43">43</a>      {
+<a name="44" href="#44">44</a>          Set set = <strong class="jxr_keyword">new</strong>
LinkedHashSet();
+<a name="45" href="#45">45</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"a"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"jar"</span>, <span class="jxr_string">"one"</span>
) );
+<a name="46" href="#46">46</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"b"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"jar"</span>, <span class="jxr_string">"two"</span>
) );
+<a name="47" href="#47">47</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"c"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"jar"</span>, <span class="jxr_string">"three"</span>
) );
+<a name="48" href="#48">48</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"d"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"jar"</span>, <span class="jxr_string">"four"</span>
) );
+<a name="49" href="#49">49</a>          <strong class="jxr_keyword">return</strong>
set;
+<a name="50" href="#50">50</a>      }
+<a name="51" href="#51">51</a>  
+<a name="52" href="#52">52</a>      @Override
+<a name="53" href="#53">53</a>      <strong class="jxr_keyword">public</strong>
Set getScopedArtifacts() <strong class="jxr_keyword">throws</strong> IOException
+<a name="54" href="#54">54</a>      {
+<a name="55" href="#55">55</a>          Set set = <strong class="jxr_keyword">new</strong>
LinkedHashSet();
+<a name="56" href="#56">56</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"compile"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE ) );
+<a name="57" href="#57">57</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"provided"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_PROVIDED ) );
+<a name="58" href="#58">58</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"test"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_TEST ) );
+<a name="59" href="#59">59</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"runtime"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_RUNTIME ) );
+<a name="60" href="#60">60</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"system"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_SYSTEM ) );
+<a name="61" href="#61">61</a>          <strong class="jxr_keyword">return</strong>
set;
+<a name="62" href="#62">62</a>      }
+<a name="63" href="#63">63</a>  
+<a name="64" href="#64">64</a>      @Override
+<a name="65" href="#65">65</a>      <strong class="jxr_keyword">public</strong>
Set getTypedArtifacts() <strong class="jxr_keyword">throws</strong> IOException
+<a name="66" href="#66">66</a>      {
+<a name="67" href="#67">67</a>          Set set = <strong class="jxr_keyword">new</strong>
LinkedHashSet();
+<a name="68" href="#68">68</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"a"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"war"</span>, <strong class="jxr_keyword">null</strong>
) );
+<a name="69" href="#69">69</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"b"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"jar"</span>, <strong class="jxr_keyword">null</strong>
) );
+<a name="70" href="#70">70</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"c"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"sources"</span>, <strong
class="jxr_keyword">null</strong> ) );
+<a name="71" href="#71">71</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"d"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"zip"</span>, <strong class="jxr_keyword">null</strong>
) );
+<a name="72" href="#72">72</a>          set.add( createArtifact( <span class="jxr_string">"g"</span>,
<span class="jxr_string">"e"</span>, <span class="jxr_string">"1.0"</span>,
Artifact.SCOPE_COMPILE, <span class="jxr_string">"rar"</span>, <strong class="jxr_keyword">null</strong>
) );
+<a name="73" href="#73">73</a>          <strong class="jxr_keyword">return</strong>
set;
+<a name="74" href="#74">74</a>      }
+<a name="75" href="#75">75</a>  
+<a name="76" href="#76">76</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Propchange: felix/trunk/bundleplugin/doc/site/xref-test/org/apache/felix/bundleplugin/ArtifactStubFactory.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: felix/trunk/bundleplugin/doc/site/xref-test/org/apache/felix/bundleplugin/ArtifactStubFactory.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message