Skip to content

Commit

Permalink
Fixes for javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Aug 28, 2024
1 parent d802262 commit b60a758
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* The Solution:
* <ul>
* <li>Use the standard-methods like {@link TitleProvider#setTitleKey(String)} as usual</li>
* <li>The {@link jakarta.faces.render.Renderer must call {@link TitleProvider#resolveAndStoreTitle()}</li>
* <li>Finally the {@link jakarta.faces.render.Renderer} must call {@link #writeTitleToParent()}</li>
* <li>The {@link jakarta.faces.render.Renderer} must call {@link TitleProvider#resolveAndStoreTitle()}</li>
* <li>Finally, the {@link jakarta.faces.render.Renderer} must call {@link #writeTitleToParent()}</li>
* </ul>
* See {@link BaseCuiCommandButton} for usage
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,19 @@
import de.cuioss.test.jsf.producer.JsfObjectsProducer;

/**
* Using this annotations at type-level of a junit 5 test defines the basic
* Using this annotation at type-level of a junit 5 test defines the basic
* infrastructure for creating unit-tests in the cui-jsf-components contexts. It
* is a meta-annotation consisting of:
*
* <ul>
* <li>{@link EnableAutoWeld}</li>
* <li>{@link EnableJsfEnvironment}</li>
* </ul>
* <p>
* <ul>
* <li>{@link ProjectStageProducerMock}</li>
* <li>{@link JsfObjectsProducer}</li>
* </ul>
* It explicitly activates the Scopes:
* </p>
* <ul>
* <li>{@link RequestScoped}</li>
* <li>{@link SessionScoped}</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@

/**
* Helper class for accessing Metadata of Composite components.
* <p>
* Inspired by
* <a href="<a">href="http://weblogs.java.net/blog/edburns/archive/2009/09/02/jsf2-</a>composite">...</a>
* -component-metadata
* </p>
*
* @author e0571
*/
Expand All @@ -56,7 +51,7 @@ public final class CompositeComponentTag extends UINamingContainer {
private BeanInfo metadata;

/**
* Storage for the metadata object. not to be serialized.
* Storage for the metadata object. Not to be serialized.
*/
private ComponentPropertiesWrapper componentPropertiesWrapper = new ComponentPropertiesWrapper();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,36 @@
*/
package de.cuioss.jsf.test;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import de.cuioss.test.jsf.junit5.EnableJsfEnvironment;
import de.cuioss.test.jsf.producer.JsfObjectsProducer;
import jakarta.enterprise.context.RequestScoped;
import jakarta.enterprise.context.SessionScoped;
import jakarta.faces.view.ViewScoped;

import org.jboss.weld.junit5.auto.ActivateScopes;
import org.jboss.weld.junit5.auto.AddBeanClasses;
import org.jboss.weld.junit5.auto.EnableAutoWeld;

import de.cuioss.test.jsf.junit5.EnableJsfEnvironment;
import de.cuioss.test.jsf.producer.JsfObjectsProducer;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
* Using this annotations at type-level of a junit 5 test defines the basic
* Using this annotation at type-level of a junit 5 test defines the basic
* infrastructure for creating unit-tests in the cui-jsf-components contexts. It
* is a meta-annotation consisting of:
*
* <ul>
* <li>{@link EnableAutoWeld}</li>
* <li>{@link EnableJsfEnvironment}</li>
* </ul>
* <p>
* <ul>
* <li>{@link ProjectStageProducerMock}</li>
* <li>{@link JsfObjectsProducer}</li>
* </ul>
* It explicitly activates the Scopes:
* </p>
* <ul>
* <li>{@link RequestScoped}</li>
* <li>{@link SessionScoped}</li>
Expand All @@ -62,7 +58,7 @@
@Target(TYPE)
@EnableAutoWeld
@EnableJsfEnvironment
@ActivateScopes({ RequestScoped.class, SessionScoped.class, ViewScoped.class })
@AddBeanClasses({ ProjectStageProducerMock.class, JsfObjectsProducer.class })
@ActivateScopes({RequestScoped.class, SessionScoped.class, ViewScoped.class})
@AddBeanClasses({ProjectStageProducerMock.class, JsfObjectsProducer.class})
public @interface EnableJSFCDIEnvironment {
}

0 comments on commit b60a758

Please sign in to comment.