Fix unit tests.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-04 01:51:23 -03:00
parent aed1c0afcb
commit c86bd15382
3 changed files with 20 additions and 20 deletions

View File

@ -206,7 +206,7 @@ public class FreemindExporter
final StringBuilder htmlContent = new StringBuilder("<html><head></head><body>"); final StringBuilder htmlContent = new StringBuilder("<html><head></head><body>");
for (String line : text.split("\n")) { for (String line : text.split("\n")) {
line = StringEscapeUtils.escapeXml(line); line = StringEscapeUtils.escapeXml(line);
htmlContent.append("<p>").append(line).append("</p>"); htmlContent.append("<p>").append(line.trim()).append("</p>");
} }
htmlContent.append("</body></html>"); htmlContent.append("</body></html>");

View File

@ -25,7 +25,7 @@
<head/> <head/>
<body> <body>
<p>Firm's turnover from (new to firm)</p> <p>Firm's turnover from (new to firm)</p>
<p> product innovation (as a pecentage of total turnover)</p> <p>product innovation (as a pecentage of total turnover)</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -37,7 +37,7 @@
<head/> <head/>
<body> <body>
<p>Increase in the probability to innovate linked to ICT use</p> <p>Increase in the probability to innovate linked to ICT use</p>
<p> (in product innovation, process innovation, organisational innovaton, marketing innovation)</p> <p>(in product innovation, process innovation, organisational innovaton, marketing innovation)</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -48,7 +48,7 @@
<head/> <head/>
<body> <body>
<p>Scientific articles by type of collaboration (per capita)</p> <p>Scientific articles by type of collaboration (per capita)</p>
<p> (international co-authoriship, domestic co-authoriship, single author)</p> <p>(international co-authoriship, domestic co-authoriship, single author)</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -78,7 +78,7 @@
<head/> <head/>
<body> <body>
<p>Increase in th number of firms with</p> <p>Increase in th number of firms with</p>
<p> international/national collaboration on innovation</p> <p>international/national collaboration on innovation</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -261,8 +261,8 @@
<html> <html>
<head/> <head/>
<body> <body>
<p> Share of high-technology export in the total volume</p> <p>Share of high-technology export in the total volume</p>
<p> of production of goods, works and services</p> <p>of production of goods, works and services</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -309,7 +309,7 @@
<head/> <head/>
<body> <body>
<p>Number of joint projects conducted by the local comapnies</p> <p>Number of joint projects conducted by the local comapnies</p>
<p> and local consulting/intermediary agencies</p> <p>and local consulting/intermediary agencies</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -338,7 +338,7 @@
<head/> <head/>
<body> <body>
<p>Investments in ICT by asset (IT equipment,</p> <p>Investments in ICT by asset (IT equipment,</p>
<p> communication equipment, software)</p> <p>communication equipment, software)</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -392,7 +392,7 @@
<head/> <head/>
<body> <body>
<p>Amount of domestically protected intellectual</p> <p>Amount of domestically protected intellectual</p>
<p> property per 1 mln. population</p> <p>property per 1 mln. population</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -425,7 +425,7 @@
<head/> <head/>
<body> <body>
<p>Number of advanced ICT introduced in the budgetary organizations</p> <p>Number of advanced ICT introduced in the budgetary organizations</p>
<p>(regional power, municipal bodies, social and educational organizations) </p> <p>(regional power, municipal bodies, social and educational organizations)</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -437,7 +437,7 @@
<head/> <head/>
<body> <body>
<p>Number of management innovations introduced in the budgetary organizations</p> <p>Number of management innovations introduced in the budgetary organizations</p>
<p> (regional power, municipal bodies, social and educational organizations) </p> <p>(regional power, municipal bodies, social and educational organizations)</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -475,7 +475,7 @@
<head/> <head/>
<body> <body>
<p>Publications: Academic articles in international peer-reviewed</p> <p>Publications: Academic articles in international peer-reviewed</p>
<p> journals per 1,000 researchers [articles/1,000 researchers].</p> <p>journals per 1,000 researchers [articles/1,000 researchers].</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -494,7 +494,7 @@
<head/> <head/>
<body> <body>
<p>Academic licenses: Number of licenses</p> <p>Academic licenses: Number of licenses</p>
<p>per 1,000 researchers.[licenses/researcher] </p> <p>per 1,000 researchers.[licenses/researcher]</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -577,7 +577,7 @@
<body> <body>
<p>Gazelle tenant: Share of tenants with</p> <p>Gazelle tenant: Share of tenants with</p>
<p>annual revenue growth of more than 20%</p> <p>annual revenue growth of more than 20%</p>
<p> for each of the past four years or since formation [%]</p> <p>for each of the past four years or since formation [%]</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -608,7 +608,7 @@
<head/> <head/>
<body> <body>
<p>Perception (opinion poll) of business managers</p> <p>Perception (opinion poll) of business managers</p>
<p> regarding public support programmes</p> <p>regarding public support programmes</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -621,7 +621,7 @@
<head/> <head/>
<body> <body>
<p>Perception of business managers in terms</p> <p>Perception of business managers in terms</p>
<p> of level of transparency of support measures in the region</p> <p>of level of transparency of support measures in the region</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -731,7 +731,7 @@
<head/> <head/>
<body> <body>
<p>Growth of the volume of production in the cluster companies</p> <p>Growth of the volume of production in the cluster companies</p>
<p> to the volume of state support for the cluster</p> <p>to the volume of state support for the cluster</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>
@ -766,7 +766,7 @@
<head/> <head/>
<body> <body>
<p>FASIE projects: Number of projects supported</p> <p>FASIE projects: Number of projects supported</p>
<p>by the FASIE per 1,000 workers [awards/worker] </p> <p>by the FASIE per 1,000 workers [awards/worker]</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>

View File

@ -15,7 +15,7 @@
<p>scaled from the individuals on whom measurements are</p> <p>scaled from the individuals on whom measurements are</p>
<p>made to the community or ecosystem levels at which infer-</p> <p>made to the community or ecosystem levels at which infer-</p>
<p>ences are drawn (Swenson etal. 2006,2007,Reich,Wright</p> <p>ences are drawn (Swenson etal. 2006,2007,Reich,Wright</p>
<p>&amp; Lusk 2007;Kraft,Valencia &amp; Ackerly 2008). </p> <p>&amp; Lusk 2007;Kraft,Valencia &amp; Ackerly 2008).</p>
</body> </body>
</html> </html>
</richcontent> </richcontent>