<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/unitils-cdi/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/unitils-cdi/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 24 Sep 2015 11:20:24 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/unitils-cdi/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/unitils-cdi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="unitils-cdi-module"&gt;Unitils CDI module&lt;/h1&gt;
&lt;p&gt;This module does the configuration for CDI.&lt;/p&gt;
&lt;h3 id="cdi-module-load-artifact-maven"&gt;CDI Module load artifact (maven)&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;org.unitils.cdi&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;unitils-cdi&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;1.0.0-SNAPSHOT&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;h3 id="cdi-module-project-config"&gt;CDI Module project config&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;unitils.modules= cdi

unitils.module.cdi.className=org.unitils.cdi.CdiModule
unitils.module.cdi.runAfter=
unitils.module.cdi.enabled=true
&lt;/pre&gt;&lt;/div&gt;


&lt;h3 id="example"&gt;Example&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;@RunWith(UnitilsJUnit4TestClassRunner.class)
public class HelloWithUnitilsTest {

    @CdiInjection
    private Hello hello;

    @Test
    public void test() {
        Assert.assertNotNull(hello);
        assertEquals("should say Hello World !!!", "Hello World !!!", hello.sayHelloWorld());
    }

    @Test
    public void testCheckIfASeccondTestStillWorks() {
        Assert.assertNotNull(hello);
        assertEquals("should say Hello World !!!", "Hello World !!!", hello.sayHelloWorld());
    }

}
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Willemijn Wouters</dc:creator><pubDate>Thu, 24 Sep 2015 11:20:24 -0000</pubDate><guid>https://sourceforge.netf2f698c64f6bf51902453a7e374eba50bfd431c6</guid></item><item><title>Home modified by Willemijn Wouters</title><link>https://sourceforge.net/p/unitils-cdi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/unitils-cdi/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/willemijnw/"&gt;Willemijn Wouters&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;&lt;br/&gt;
&lt;p&gt;&lt;span class="download-button-5603bc4081b24b56e4cd1fee" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Willemijn Wouters</dc:creator><pubDate>Thu, 24 Sep 2015 09:02:56 -0000</pubDate><guid>https://sourceforge.net5536d5fd05443bf83bccbca0f6bbc40dd36d6c01</guid></item></channel></rss>