Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.wst.xml.xpath2.processor.tests/coverageReport/_files/1d86.html')
-rw-r--r--tests/org.eclipse.wst.xml.xpath2.processor.tests/coverageReport/_files/1d86.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/org.eclipse.wst.xml.xpath2.processor.tests/coverageReport/_files/1d86.html b/tests/org.eclipse.wst.xml.xpath2.processor.tests/coverageReport/_files/1d86.html
deleted file mode 100644
index e9fb84ea..00000000
--- a/tests/org.eclipse.wst.xml.xpath2.processor.tests/coverageReport/_files/1d86.html
+++ /dev/null
@@ -1 +0,0 @@
-<HTML><HEAD><META CONTENT="text/html; charset=UTF-8" HTTP-EQUIV="Content-Type"/><TITLE>EMMA Coverage Report</TITLE><STYLE TYPE="text/css"> TABLE,TD,TH {border-style:solid; border-color:black;} TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} TD {border-width:0 1px 0 0;} TH {border-width:1px 1px 1px 0;} TR TD.h {color:red;} TABLE {border-spacing:0; border-collapse:collapse;border-width:0 0 1px 1px;} P,H1,H2,H3,TH {font-family:verdana,arial,sans-serif;font-size:10pt;} TD {font-family:courier,monospace;font-size:10pt;} TABLE.hdft {border-spacing:0;border-collapse:collapse;border-style:none;} TABLE.hdft TH,TABLE.hdft TD {border-style:none;line-height:normal;} TABLE.hdft TH.tl,TABLE.hdft TD.tl {background:#6699CC;color:white;} TABLE.hdft TD.nv {background:#6633DD;color:white;} .nv A:link {color:white;} .nv A:visited {color:white;} .nv A:active {color:yellow;} TABLE.hdft A:link {color:white;} TABLE.hdft A:visited {color:white;} TABLE.hdft A:active {color:yellow;} .in {color:#356085;} TABLE.s TD {padding-left:0.25em;padding-right:0.25em;} TABLE.s TD.l {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} TABLE.s TR.z TD {background:#FF9999;} TABLE.s TR.p TD {background:#FFFF88;} TABLE.s TR.c TD {background:#CCFFCC;} A:link {color:#0000EE;text-decoration:none;} A:visited {color:#0000EE;text-decoration:none;} A:hover {color:#0000EE;text-decoration:underline;} TABLE.cn {border-width:0 0 1px 0;} TABLE.s {border-width:1px 0 1px 1px;} TD.h {color:red;border-width:0 1px 0 0;} TD.f {border-width:0 1px 0 1px;} TD.hf {color:red;border-width:0 1px 0 1px;} TH.f {border-width:1px 1px 1px 1px;} TR.cis TD {background:#F0F0F0;} TR.cis TD {border-width:1px 1px 1px 0;} TR.cis TD.h {color:red;border-width:1px 1px 1px 0;} TR.cis TD.f {border-width:1px 1px 1px 1px;} TR.cis TD.hf {color:red;border-width:1px 1px 1px 1px;} TD.b {border-style:none;background:transparent;line-height:50%;} TD.bt {border-width:1px 0 0 0;background:transparent;line-height:50%;} TR.o TD {background:#F0F0F0;}TABLE.it {border-style:none;}TABLE.it TD,TABLE.it TH {border-style:none;}</STYLE></HEAD><BODY><TABLE CLASS="hdft" CELLSPACING="0" WIDTH="100%"><TR><TH CLASS="tl"><A HREF="http://www.eclemma.org/">EMMA</A> Coverage Report (generated Tue Jun 09 19:59:05 GMT 2009)</TH></TR><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f5.html">org.w3c.domts.level1.core</A>]</TD></TR></TABLE><H2>COVERAGE SUMMARY FOR SOURCE FILE [<SPAN CLASS="in">textsplittextfour.java</SPAN>]</H2><TABLE CELLSPACING="0" WIDTH="100%"><TR><TH>name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD>textsplittextfour.java</TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/62)</TD><TD CLASS="h">0%   (0/15)</TD></TR></TABLE><H3>COVERAGE BREAKDOWN BY CLASS AND METHOD</H3><TABLE CLASS="cn" CELLSPACING="0" WIDTH="100%"><TR><TH CLASS="f">name</TH><TH>class, %</TH><TH>method, %</TH><TH>block, %</TH><TH>line, %</TH></TR><TR><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD><TD CLASS="b"> </TD></TR><TR CLASS="cis"><TD CLASS="f">class <A HREF="#0">textsplittextfour</A></TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/4)</TD><TD CLASS="h">0%   (0/62)</TD><TD CLASS="h">0%   (0/15)</TD></TR><TR><TD CLASS="f"><A HREF="#1">getTargetURI (): String</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/2)</TD><TD CLASS="h">0%   (0/1)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#2">main (String []): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/18)</TD><TD CLASS="h">0%   (0/2)</TD></TR><TR><TD CLASS="f"><A HREF="#3">runTest (): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/30)</TD><TD CLASS="h">0%   (0/8)</TD></TR><TR CLASS="o"><TD CLASS="f"><A HREF="#0">textsplittextfour (DOMTestDocumentBuilderFactory): void</A></TD><TD> </TD><TD CLASS="h">0%   (0/1)</TD><TD CLASS="h">0%   (0/12)</TD><TD CLASS="h">0%   (0/4)</TD></TR></TABLE><P></P><TABLE CLASS="s" CELLSPACING="0" WIDTH="100%"><TR><TD CLASS="l">1</TD><TD> </TD></TR><TR><TD CLASS="l">2</TD><TD>/*</TD></TR><TR><TD CLASS="l">3</TD><TD>This Java source file was generated by test-to-java.xsl</TD></TR><TR><TD CLASS="l">4</TD><TD>and is a derived work from the source document.</TD></TR><TR><TD CLASS="l">5</TD><TD>The source document contained the following notice:</TD></TR><TR><TD CLASS="l">6</TD><TD> </TD></TR><TR><TD CLASS="l">7</TD><TD> </TD></TR><TR><TD CLASS="l">8</TD><TD>Copyright (c) 2001 World Wide Web Consortium,</TD></TR><TR><TD CLASS="l">9</TD><TD>(Massachusetts Institute of Technology, Institut National de</TD></TR><TR><TD CLASS="l">10</TD><TD>Recherche en Informatique et en Automatique, Keio University). All</TD></TR><TR><TD CLASS="l">11</TD><TD>Rights Reserved. This program is distributed under the W3C's Software</TD></TR><TR><TD CLASS="l">12</TD><TD>Intellectual Property License. This program is distributed in the</TD></TR><TR><TD CLASS="l">13</TD><TD>hope that it will be useful, but WITHOUT ANY WARRANTY; without even</TD></TR><TR><TD CLASS="l">14</TD><TD>the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</TD></TR><TR><TD CLASS="l">15</TD><TD>PURPOSE.</TD></TR><TR><TD CLASS="l">16</TD><TD>See W3C License http://www.w3.org/Consortium/Legal/ for more details.</TD></TR><TR><TD CLASS="l">17</TD><TD> </TD></TR><TR><TD CLASS="l">18</TD><TD>*/</TD></TR><TR><TD CLASS="l">19</TD><TD> </TD></TR><TR><TD CLASS="l">20</TD><TD>package org.w3c.domts.level1.core;</TD></TR><TR><TD CLASS="l">21</TD><TD> </TD></TR><TR><TD CLASS="l">22</TD><TD>import org.w3c.dom.*;</TD></TR><TR><TD CLASS="l">23</TD><TD> </TD></TR><TR><TD CLASS="l">24</TD><TD> </TD></TR><TR><TD CLASS="l">25</TD><TD>import org.w3c.domts.DOMTestCase;</TD></TR><TR><TD CLASS="l">26</TD><TD>import org.w3c.domts.DOMTestDocumentBuilderFactory;</TD></TR><TR><TD CLASS="l">27</TD><TD> </TD></TR><TR><TD CLASS="l">28</TD><TD> </TD></TR><TR><TD CLASS="l">29</TD><TD> </TD></TR><TR><TD CLASS="l">30</TD><TD>/**</TD></TR><TR><TD CLASS="l">31</TD><TD> *     The &#34;splitText(offset)&#34; method returns the new Text node.</TD></TR><TR><TD CLASS="l">32</TD><TD> *     </TD></TR><TR><TD CLASS="l">33</TD><TD> *     Retrieve the textual data from the last child of the </TD></TR><TR><TD CLASS="l">34</TD><TD> *     first employee and invoke the &#34;splitText(offset)&#34; method.</TD></TR><TR><TD CLASS="l">35</TD><TD> *     The method should return the new Text node.   The offset</TD></TR><TR><TD CLASS="l">36</TD><TD> *     value used for this test is 30.   The &#34;getNodeValue()&#34;</TD></TR><TR><TD CLASS="l">37</TD><TD> *     method is called to check that the new node now contains</TD></TR><TR><TD CLASS="l">38</TD><TD> *     the characters at and after position 30.</TD></TR><TR><TD CLASS="l">39</TD><TD> *     (Starting count at 0)</TD></TR><TR><TD CLASS="l">40</TD><TD>* @author NIST</TD></TR><TR><TD CLASS="l">41</TD><TD>* @author Mary Brady</TD></TR><TR><TD CLASS="l">42</TD><TD>* @see &lt;a href=&#34;http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-38853C1D&#34;&gt;http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-38853C1D&lt;/a&gt;</TD></TR><TR><TD CLASS="l">43</TD><TD>*/</TD></TR><TR><TD CLASS="l">44</TD><TD>public final class textsplittextfour extends DOMTestCase {</TD></TR><TR><TD CLASS="l">45</TD><TD> </TD></TR><TR><TD CLASS="l">46</TD><TD>   /**</TD></TR><TR><TD CLASS="l">47</TD><TD>    * Constructor.</TD></TR><TR><TD CLASS="l"><A NAME="0">48</A></TD><TD>    * @param factory document factory, may not be null</TD></TR><TR><TD CLASS="l">49</TD><TD>    * @throws org.w3c.domts.DOMTestIncompatibleException Thrown if test is not compatible with parser configuration</TD></TR><TR><TD CLASS="l">50</TD><TD>    */</TD></TR><TR><TD CLASS="l">51</TD><TD>   public textsplittextfour(final DOMTestDocumentBuilderFactory factory)  throws org.w3c.domts.DOMTestIncompatibleException {</TD></TR><TR CLASS="z"><TD CLASS="l">52</TD><TD>      super(factory);</TD></TR><TR><TD CLASS="l">53</TD><TD> </TD></TR><TR><TD CLASS="l">54</TD><TD>    //</TD></TR><TR><TD CLASS="l">55</TD><TD>    //   check if loaded documents are supported for content type</TD></TR><TR><TD CLASS="l">56</TD><TD>    //</TD></TR><TR CLASS="z"><TD CLASS="l">57</TD><TD>    String contentType = getContentType();</TD></TR><TR CLASS="z"><TD CLASS="l">58</TD><TD>    preload(contentType, &#34;staff&#34;, true);</TD></TR><TR CLASS="z"><TD CLASS="l">59</TD><TD>    }</TD></TR><TR><TD CLASS="l">60</TD><TD> </TD></TR><TR><TD CLASS="l">61</TD><TD>   /**</TD></TR><TR><TD CLASS="l">62</TD><TD>    * Runs the test case.</TD></TR><TR><TD CLASS="l">63</TD><TD>    * @throws Throwable Any uncaught exception causes test to fail</TD></TR><TR><TD CLASS="l">64</TD><TD>    */</TD></TR><TR><TD CLASS="l">65</TD><TD>   public void runTest() throws Throwable {</TD></TR><TR><TD CLASS="l">66</TD><TD>      Document doc;</TD></TR><TR><TD CLASS="l">67</TD><TD>      NodeList elementList;</TD></TR><TR><TD CLASS="l"><A NAME="3">68</A></TD><TD>      Node addressNode;</TD></TR><TR><TD CLASS="l">69</TD><TD>      Text textNode;</TD></TR><TR><TD CLASS="l">70</TD><TD>      Text splitNode;</TD></TR><TR><TD CLASS="l">71</TD><TD>      String value;</TD></TR><TR CLASS="z"><TD CLASS="l">72</TD><TD>      doc = (Document) load(&#34;staff&#34;, true);</TD></TR><TR CLASS="z"><TD CLASS="l">73</TD><TD>      elementList = doc.getElementsByTagName(&#34;address&#34;);</TD></TR><TR CLASS="z"><TD CLASS="l">74</TD><TD>      addressNode = elementList.item(0);</TD></TR><TR CLASS="z"><TD CLASS="l">75</TD><TD>      textNode = (Text) addressNode.getFirstChild();</TD></TR><TR CLASS="z"><TD CLASS="l">76</TD><TD>      splitNode = textNode.splitText(30);</TD></TR><TR CLASS="z"><TD CLASS="l">77</TD><TD>      value = splitNode.getNodeValue();</TD></TR><TR CLASS="z"><TD CLASS="l">78</TD><TD>      assertEquals(&#34;textSplitTextFourAssert&#34;, &#34;98551&#34;, value);</TD></TR><TR CLASS="z"><TD CLASS="l">79</TD><TD>      }</TD></TR><TR><TD CLASS="l">80</TD><TD>   /**</TD></TR><TR><TD CLASS="l"><A NAME="1">81</A></TD><TD>    *  Gets URI that identifies the test.</TD></TR><TR><TD CLASS="l">82</TD><TD>    *  @return uri identifier of test</TD></TR><TR><TD CLASS="l">83</TD><TD>    */</TD></TR><TR><TD CLASS="l">84</TD><TD>   public String getTargetURI() {</TD></TR><TR CLASS="z"><TD CLASS="l">85</TD><TD>      return &#34;http://www.w3.org/2001/DOM-Test-Suite/level1/core/textsplittextfour&#34;;</TD></TR><TR><TD CLASS="l">86</TD><TD>   }</TD></TR><TR><TD CLASS="l">87</TD><TD>   /**</TD></TR><TR><TD CLASS="l"><A NAME="2">88</A></TD><TD>    * Runs this test from the command line.</TD></TR><TR><TD CLASS="l">89</TD><TD>    * @param args command line arguments</TD></TR><TR><TD CLASS="l">90</TD><TD>    */</TD></TR><TR><TD CLASS="l">91</TD><TD>   public static void main(final String[] args) {</TD></TR><TR CLASS="z"><TD CLASS="l">92</TD><TD>        DOMTestCase.doMain(textsplittextfour.class, args);</TD></TR><TR CLASS="z"><TD CLASS="l">93</TD><TD>   }</TD></TR><TR><TD CLASS="l">94</TD><TD>}</TD></TR><TR><TD CLASS="l">95</TD><TD> </TD></TR></TABLE><P></P><TABLE CLASS="hdft" CELLSPACING="0" WIDTH="100%"><TR><TD CLASS="nv">[<A HREF="../xslUnitTestCoverage.html">all classes</A>][<A HREF="2f5.html">org.w3c.domts.level1.core</A>]</TD></TR><TR><TD CLASS="tl"><A HREF="http://www.eclemma.org/support.html">EMMA 2.0.5312 EclEmma Fix 1</A> (C) Vladimir Roubtsov</TD></TR></TABLE></BODY></HTML> \ No newline at end of file

Back to the top