[testng] 58/355: Fixed TOC anchor collisions in documentation-main.html

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:19:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 33ac8cbb811d1d0fe6562dc4f756606a53d3875c
Author: The Main Function (Bryan) <bryan at themainfunction.com>
Date:   Fri Mar 21 21:08:12 2014 -0500

    Fixed TOC anchor collisions in documentation-main.html
    
    The table of contents' section links are generated from
    anchors of class 'section. There were two collisions of
    the anchor names, where two sections shared the same
    anchor name:
    
    Sections 'Test methods' and 'Test groups' both used the
    	anchor name 'test-groups'
    Sections 'Parallel suites' and 'Parallel tests, methods,
    	and groups' used the anchor name 'parallel-tests'
    
    Now, these are fixed, with anchor names that match the
    section names, and the TOC links work properly.
    
    The anchors for the table of contents are specified by the
    name attribute.
---
 doc/documentation-main.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/documentation-main.html b/doc/documentation-main.html
index 4473eb5..d78cd67 100644
--- a/doc/documentation-main.html
+++ b/doc/documentation-main.html
@@ -820,7 +820,7 @@ The <a href="ant.html">ant task</a> and <a href="#testng-xml">testng.xml</a> all
 
 <h3><a class="section" name="methods">Test methods, Test classes and Test groups</a></h3>
 
-<h4><a class="section" indent=".." name="test-groups">Test methods</a></h4>
+<h4><a class="section" indent=".." name="test-methods">Test methods</a></h4>
 
 Test methods are annotated with <tt>@Test</tt>. Methods annotated with <tt>@Test</tt> that happen to return a value will be ignored, unless you set <tt>allow-return-values</tt> to <tt>true</tt> in your <tt>testng.xml</tt>:
 
@@ -1599,7 +1599,7 @@ will make both <tt>test1()</tt> and <tt>test2()</tt> test methods but on top of
 
 You can  instruct TestNG to run your tests in separate threads in various ways.
 
-<h5><a class="section" indent="..." name="parallel-tests">Parallel suites</a></h5>
+<h5><a class="section" indent="..." name="parallel-suites">Parallel suites</a></h5>
 
 This is useful if you are running several suite files (e.g. "<tt>java org.testng.TestNG testng1.xml testng2.xml"</tt>) and you want each of these suites to be run in a separate thread. You can use the following command line flag to specify the size of a thread pool:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list