Rat (Release Audit Tool) results

The following document contains the results of Rat (Release Audit Tool).

*****************************************************
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 = 
            "{\"container\":{\"cf\":\"Config.xml\"},\"configurationName\":\"Config.xml\",\"name\":\"mytest\"}";

    @BeforeEach
    public void setUp() throws Exception {
        sc = (JsonService) this.lookup(JsonService.ROLE);
    }
    @Test
    public void testSerialize() throws Exception {
        String serJson = sc.ser(new TestClass("mytest"));
        assertEquals(preDefinedOutput, serJson,
                "Serialization of preDefinedOutput failed ");
    }
   
}