blob: 627cbe83c08152aa8584de5ad5baa91f4b963302 [file] [log] [blame]
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.9.2 from org.apache.rat:apache-rat-plugin:0.13:rat at 20 September 2021
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
<title>Fulcrum JSON Component Service &#x2013; Rat (Release Audit Tool) results</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
<script src="./js/apache-maven-fluido-1.9.min.js"></script>
</head>
<body class="topBarDisabled">
<div class="container-fluid">
<header>
<div id="banner">
<div class="pull-left"><a href="https://turbine.apache.org/" id="bannerLeft" title="Apache Turbine"><img src="https://turbine.apache.org/images/turbine-project.png" alt="Apache Turbine"/></a></div>
<div class="pull-right"></div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="publishDate">Last Published: 20 September 2021<span class="divider">|</span>
</li>
<li id="projectVersion">Version: 2.0.2-SNAPSHOT</li>
<li class="pull-right"><span class="divider">|</span>
<a href="https://turbine.apache.org/fulcrum/" class="externalLink" title="Fulcrum">Fulcrum</a></li>
<li class="pull-right"><span class="divider">|</span>
<a href="https://turbine.apache.org/" class="externalLink" title="Turbine">Turbine</a></li>
<li class="pull-right"><a href="https://www.apache.org" class="externalLink" title="Apache">Apache</a></li>
</ul>
</div>
</header>
<div class="row-fluid">
<header id="leftColumn" class="span2">
<nav class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Overview</li>
<li><a href="index.html" title="Main"><span class="none"></span>Main</a></li>
<li class="nav-header">Modules</li>
<li><a href="fulcrum-json-api/index.html" title="Fulcrum JSON API"><span class="none"></span>Fulcrum JSON API</a></li>
<li><a href="fulcrum-json-gson/index.html" title="Fulcrum JSON GSON Impl"><span class="none"></span>Fulcrum JSON GSON Impl</a></li>
<li><a href="fulcrum-json-jackson2/index.html" title="Fulcrum JSON Jackson 2.x Impl"><span class="none"></span>Fulcrum JSON Jackson 2.x Impl</a></li>
<li><a href="fulcrum-json-dist/index.html" title="Fulcrum JSON Jar Distribution"><span class="none"></span>Fulcrum JSON Jar Distribution</a></li>
<li class="nav-header">Project Documentation</li>
<li><a href="project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li>
<li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-down"></span>Project Reports</a>
<ul class="nav nav-list">
<li><a href="changes-report.html" title="Changes"><span class="none"></span>Changes</a></li>
<li><a href="apidocs/index.html" title="Javadoc"><span class="none"></span>Javadoc</a></li>
<li><a href="xref/index.html" title="Source Xref"><span class="none"></span>Source Xref</a></li>
<li><a href="surefire-report.html" title="Surefire Report"><span class="none"></span>Surefire Report</a></li>
<li><a href="jacoco-aggregate/index.html" title="JaCoCo Aggregate"><span class="none"></span>JaCoCo Aggregate</a></li>
<li class="active"><a href="#"><span class="none"></span>Rat Report</a></li>
</ul></li>
<li class="nav-header">Apache</li>
<li><a href="https://www.apache.org/" class="externalLink" title="Apache Website"><span class="none"></span>Apache Website</a></li>
<li><a href="https://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li>
<li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works"><span class="none"></span>How the ASF works</a></li>
<li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"><span class="none"></span>Sponsorship</a></li>
<li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li>
<li><a href="https://www.apache.org/security/" class="externalLink" title="Security"><span class="none"></span>Security</a></li>
</ul>
</nav>
<div class="well sidebar-nav">
<hr />
<div id="poweredBy">
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
</div>
</div>
</header>
<main id="bodyColumn" class="span10" >
<section>
<h2><a name="Rat_.28Release_Audit_Tool.29_results"></a>Rat (Release Audit Tool) results</h2>
<p>The following document contains the results of <a class="externalLink" href="https://creadur.apache.org/rat/apache-rat-plugin/">Rat (Release Audit Tool)</a>.</p>
<p></p>
<div class="source"><pre class="prettyprint">
*****************************************************
Summary
-------
Generated at: 2021-09-20T17:04:41+02:00
Notes: 3
Binaries: 0
Archives: 0
Standards: 21
Apache Licensed: 20
Generated Documents: 0
JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.
1 Unknown Licenses
*****************************************************
Files with unapproved licenses:
jackson/src/test/org/apache/fulcrum/json/jackson/DefaultServiceTest.java
*****************************************************
*****************************************************
Files with Apache License headers will be marked AL
Binary files (which do not require any license headers) will be marked B
Compressed archives will be marked A
Notices, licenses etc. will be marked N
AL .asf.yaml
AL jackson/pom.xml
AL jackson/src/java/org/apache/fulcrum/json/jackson/CustomIntrospector.java
AL jackson/src/java/org/apache/fulcrum/json/jackson/JacksonMapperService.java
AL jackson/src/site/site.xml
AL jackson/src/test/org/apache/fulcrum/json/jackson/Bean.java
AL jackson/src/test/org/apache/fulcrum/json/jackson/BeanMixin.java
!????? jackson/src/test/org/apache/fulcrum/json/jackson/DefaultServiceTest.java
AL jackson/src/test/org/apache/fulcrum/json/jackson/JacksonMapperTest.java
AL jackson/src/test/org/apache/fulcrum/json/jackson/Mixin.java
AL jackson/src/test/org/apache/fulcrum/json/jackson/Rectangle.java
AL jackson/src/test/org/apache/fulcrum/json/Rectangle.java
AL jackson/src/test/org/apache/fulcrum/json/TestClass.java
AL jackson/src/test/TestComponentConfig.xml
AL jackson/src/test/TestRoleConfig.xml
AL jackson/xdocs/index.xml
N LICENSE
N NOTICE
AL pom.xml
N README
AL src/assembly/project.xml
AL src/changes/changes.xml
AL src/site/site.xml
AL xdocs/index.xml
*****************************************************
Printing headers for text files without a valid license header...
=====================================================
== File: jackson/src/test/org/apache/fulcrum/json/jackson/DefaultServiceTest.java
=====================================================
package org.apache.fulcrum.json.jackson;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.apache.fulcrum.json.JsonService;
import org.apache.fulcrum.json.TestClass;
import org.apache.fulcrum.testcontainer.BaseUnit5Test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.runner.RunWith;
/**
* Jackson 2 JSON Test
*
* @author gk
* @version $Id$
*/
@RunWith(JUnitPlatform.class)
public class DefaultServiceTest extends BaseUnit5Test {
private JsonService sc = null;
private final String preDefinedOutput =
&quot;{\&quot;container\&quot;:{\&quot;cf\&quot;:\&quot;Config.xml\&quot;},\&quot;configurationName\&quot;:\&quot;Config.xml\&quot;,\&quot;name\&quot;:\&quot;mytest\&quot;}&quot;;
@BeforeEach
public void setUp() throws Exception {
sc = (JsonService) this.lookup(JsonService.ROLE);
}
@Test
public void testSerialize() throws Exception {
String serJson = sc.ser(new TestClass(&quot;mytest&quot;));
assertEquals(preDefinedOutput, serJson,
&quot;Serialization of preDefinedOutput failed &quot;);
}
}
</pre></div></section>
</main>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p>&#169; 2011&#x2013;2021
<a href="https://www.apache.org/">The Apache Software Foundation</a>
</p>
</div>
</div>
</footer>
</body>
</html>