Commit 33b4eac2 authored by Michael Hamann's avatar Michael Hamann
Browse files

XRENDERING-630: The annotated HTML5 renderer doesn't render all metadata for macros

* Transform metadata1 test into a specific test following 612437f2
parent 57319bb3
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.xwiki.rendering.internal.html5;
import org.xwiki.rendering.test.integration.junit5.RenderingTests;
/**
* Run all specific tests found in {@code *.test} files located in the classpath. These {@code *.test} files must follow
* the conventions described in {@link org.xwiki.rendering.test.integration.TestDataParser}.
*
* @version $Id$
*/
@RenderingTests.Scope(value = "annotatedhtml50.specific")
public class AnnotatedHTML5SpecificTest implements RenderingTests
{
}
<div data-xwiki-syntax="xwiki/2.0" class="xwiki-metadata-container"><div><p>Heading</p></div></div>
\ No newline at end of file
.#-----------------------------------------------------
.input|xhtml/1.0
.# Verify that metadata is kept in the output.
.#-----------------------------------------------------
<div data-xwiki-syntax="xwiki/2.0" class="xwiki-metadata-container"><div><p>Heading</p></div></div>
.#-----------------------------------------------------
.expect|annotatedhtml/5.0
.#-----------------------------------------------------
<div data-xwiki-syntax="xwiki/2.0" class="xwiki-metadata-container"><div><p>Heading</p></div></div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment