harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r407750 - in /incubator/harmony/standard/site: docs/subcomponents/classlibrary/testing.html xdocs/subcomponents/classlibrary/testing.xml
Date Fri, 19 May 2006 08:50:20 GMT
Author: mloenko
Date: Fri May 19 01:50:20 2006
New Revision: 407750

URL: http://svn.apache.org/viewvc?rev=407750&view=rev
Log:
Updated according to latest discussion results on the harmony-dev

Modified:
    incubator/harmony/standard/site/docs/subcomponents/classlibrary/testing.html
    incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/testing.xml

Modified: incubator/harmony/standard/site/docs/subcomponents/classlibrary/testing.html
URL: http://svn.apache.org/viewvc/incubator/harmony/standard/site/docs/subcomponents/classlibrary/testing.html?rev=407750&r1=407749&r2=407750&view=diff
==============================================================================
--- incubator/harmony/standard/site/docs/subcomponents/classlibrary/testing.html (original)
+++ incubator/harmony/standard/site/docs/subcomponents/classlibrary/testing.html Fri May 19
01:50:20 2006
@@ -240,6 +240,14 @@
                 Tests are not separated by functionality under test, e.g. tests against <code>clone()</code>
                 methods are <b>not</b> separated from tests against <code>equals()</code>
methods.
 
+                Classpath tests are separated from bootclasspath tests on a directory level:
+			<blockquote>
+				<code>&lt;modulename&gt;/src/tests/api/<b>java</b></code>
- Classpath tests<br />
+				<code>&lt;modulename&gt;/src/tests/api/<b>java.injected</b></code>
- Bootclasspath tests<br />
+			</blockquote>
+                More details below.<br /><br /><br />
+
+
                 Some modules might have platform specific tests that are in the case separated
on a directory 
                 level:
 			<blockquote>
@@ -255,7 +263,7 @@
                                                     <table border="0" cellspacing="0"
cellpadding="2" width="100%">
       <tr><td bgcolor="#828DA6">
         <font color="#ffffff" face="arial,helvetica,sanserif">
-          <a name="Package names for different types of the tests"><strong>Package
names for different types of the tests</strong></a>
+          <a name="Package and class names for different types of the tests"><strong>Package
and class names for different types of the tests</strong></a>
         </font>
       </td></tr>
       <tr><td>
@@ -291,6 +299,18 @@
 				<code>org.apache.harmony.luni.internal.net.www.protocol</code> - package
under test<br />
 				<code>org.apache.harmony.luni.tests.internal.net.www.protocol</code> - package
for the test
 			</blockquote>
+
+
+	</p>
+                                                <p>
+                To avoid collision of test results for various type of tests, test type might
be reflected in test name
+                for example, to separate impl test results from api test results impl test
names end with 
+                <code>_ImplTest</code>
+			<blockquote>
+				<code>javax.crypto.<b>CipherTest</b></code> - Implementation
independent bootclasspath test for <code>javax.crypto.Cipher</code><br />
+				<code>javax.crypto.<b>Cipher_ImplTest</b></code> - Implementation
specific bootclasspath test for <code>javax.crypto.Cipher</code><br />
+			</blockquote>
+
 	</p>
                             </blockquote>
       </td></tr>

Modified: incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/testing.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/testing.xml?rev=407750&r1=407749&r2=407750&view=diff
==============================================================================
--- incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/testing.xml (original)
+++ incubator/harmony/standard/site/xdocs/subcomponents/classlibrary/testing.xml Fri May 19
01:50:20 2006
@@ -61,6 +61,14 @@
                 Tests are not separated by functionality under test, e.g. tests against <code>clone()</code>
                 methods are <b>not</b> separated from tests against <code>equals()</code>
methods.
 
+                Classpath tests are separated from bootclasspath tests on a directory level:
+			<blockquote>
+				<code>&lt;modulename&gt;/src/tests/api/<b>java</b></code>
- Classpath tests<br/>
+				<code>&lt;modulename&gt;/src/tests/api/<b>java.injected</b></code>
- Bootclasspath tests<br/>
+			</blockquote>
+                More details below.<br/><br/>
+
+
                 Some modules might have platform specific tests that are in the case separated
on a directory 
                 level:
 			<blockquote>
@@ -71,7 +79,7 @@
 	</p>
 </subsection>
 
-<subsection name="Package names for different types of the tests">
+<subsection name="Package and class names for different types of the tests">
 	<p>
 		If the test is designed to be run from bootclasspath then its package is the same
                 as the package of the class under test
@@ -103,6 +111,18 @@
 				<code>org.apache.harmony.luni.internal.net.www.protocol</code> - package
under test<br/>
 				<code>org.apache.harmony.luni.tests.internal.net.www.protocol</code> - package
for the test
 			</blockquote>
+
+
+	</p>
+	<p>
+                To avoid collision of test results for various type of tests, test type might
be reflected in test name
+                for example, to separate impl test results from api test results impl test
names end with 
+                <code>_ImplTest</code>
+			<blockquote>
+				<code>javax.crypto.<b>CipherTest</b></code> - Implementation
independent bootclasspath test for <code>javax.crypto.Cipher</code><br/>
+				<code>javax.crypto.<b>Cipher_ImplTest</b></code> - Implementation
specific bootclasspath test for <code>javax.crypto.Cipher</code><br/>
+			</blockquote>
+
 	</p>
 </subsection>
 </section>



Mime
View raw message