<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Annotations - Tag - My Notes</title><link>https://blog.emecas.net/tags/annotations/</link><description>Annotations - Tag - My Notes</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 25 Jun 2021 17:37:06 -0400</lastBuildDate><atom:link href="https://blog.emecas.net/tags/annotations/" rel="self" type="application/rss+xml"/><item><title>git commit -m "Order Test Execution JUnit5 [blogpost] [junit5] [annotations] [testing]"</title><link>https://blog.emecas.net/posts/2021-06-25-git-commit-m-order-test-execution-junit5-blogpost-junit5-ann/</link><pubDate>Fri, 25 Jun 2021 17:37:06 -0400</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2021-06-25-git-commit-m-order-test-execution-junit5-blogpost-junit5-ann/</guid><description><![CDATA[<p>Order Test Execution in JUnit5 Jupiter<br>
<a href="https://medium.com/pareture/order-test-execution-in-junit5-jupiter-e3d61ab15f26" target="_blank" rel="noopener noreffer ">https://medium.com/pareture/order-test-execution-in-junit5-jupiter-e3d61ab15f26</a></p>
<p>import org.junit.jupiter.api.MethodOrderer.OrderAnnotation;<br>
import org.junit.jupiter.api.Order;</p>
<p>@TestMethodOrder(OrderAnnotation.class)<br>
public class TestSuite1<br>
{<br>
@Test<br>
@Order(1)<br>
public void test1() throws InterruptedException<br>
{<br>
&hellip;<br>
@Test<br>
@Order(2)<br>
public void test2() throws InterruptedException<br>
{<br>
&hellip;<br>
&hellip;</p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/3741e5e23d4fdf2a70197b6b05e08b2e554fc80b" target="_blank" rel="noopener noreffer "><code>3741e5e</code></a> in My-Notes.</em></p>]]></description></item><item><title>meedan/check</title><link>https://blog.emecas.net/posts/2020-10-03-meedan-check/</link><pubDate>Sat, 03 Oct 2020 11:28:26 +0000</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2020-10-03-meedan-check/</guid><description><![CDATA[<p>meedan/check<br>
Development environment for Meedan Check, a collaborative media annotation platform<br>
Shell repository by meedan, created in 2016, with 131 stars and 53 forks. License: MIT. Starred on 2020-10-03.<br>
Homepage: <a href="https://meedan.com/check" target="_blank" rel="noopener noreffer ">https://meedan.com/check</a><br>
<a href="https://github.com/meedan/check" target="_blank" rel="noopener noreffer ">https://github.com/meedan/check</a></p>
<hr>
<p><em>Source: starred on GitHub on 2020-10-03: <a href="https://github.com/meedan/check" target="_blank" rel="noopener noreffer ">meedan/check</a>.</em></p>]]></description></item><item><title>JUnit 5 vs. Spock</title><link>https://blog.emecas.net/posts/2020-03-12-junit-5-vs-spock/</link><pubDate>Thu, 12 Mar 2020 08:45:57 -0400</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2020-03-12-junit-5-vs-spock/</guid><description><![CDATA[<p>JUnit 5 vs. Spock feature showdown<br>
<a href="https://bmuschko.com/blog/junit5-vs-spock-showdown/" target="_blank" rel="noopener noreffer ">https://bmuschko.com/blog/junit5-vs-spock-showdown/</a><br>
January 1, 2018</p>
<p>For a quick reference, you can directly jump to a specific test framework feature:<br>
Test execution<br>
Fixture set up and tear down<br>
Descriptive test names<br>
Disabling tests<br>
Expecting thrown exceptions<br>
Repeating test execution<br>
Declaring test execution timeouts<br>
Conditional test execution<br>
Data-driven tests<br>
Mocking<br>
Labeling and filtering test execution<br>
Extending the test framework</p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/76d3a6ae17b0921e876b10adb93de4f8b0a1b88d" target="_blank" rel="noopener noreffer "><code>76d3a6a</code></a> in My-Notes.</em></p>]]></description></item><item><title>Project Lombok - Never write another getter or equals method again</title><link>https://blog.emecas.net/posts/2018-01-02-project-lombok-never-write-another-getter-or-equals-method-a/</link><pubDate>Tue, 02 Jan 2018 13:10:43 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2018-01-02-project-lombok-never-write-another-getter-or-equals-method-a/</guid><description><![CDATA[<p>Project Lombok<br>
<a href="https://projectlombok.org/" target="_blank" rel="noopener noreffer ">https://projectlombok.org/</a><br>
Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.<br>
Never write another getter or equals method again. Early access to future java features such as val, and much more.<br>
repo: <a href="https://github.com/rzwitserloot/lombok" target="_blank" rel="noopener noreffer ">https://github.com/rzwitserloot/lombok</a></p>
<p>Compilers<br>
Javac<br>
ECJ<br>
Build tools<br>
maven<br>
gradle<br>
ant<br>
kobalt<br>
IDEs<br>
Eclipse<br>
IntelliJ IDEA<br>
Netbeans<br>
MyEclipse<br>
Spring Tool Suite<br>
JBoss Developer Studio<br>
Platforms<br>
Android<br>
GWT</p>]]></description></item><item><title>args4j Java command line arguments parser</title><link>https://blog.emecas.net/posts/2017-12-11-args4j-java-command-line-arguments-parser/</link><pubDate>Mon, 11 Dec 2017 14:14:43 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2017-12-11-args4j-java-command-line-arguments-parser/</guid><description><![CDATA[<p>args4j<br>
args4j : Java command line arguments parser<br>
<a href="http://args4j.kohsuke.org/" target="_blank" rel="noopener noreffer ">http://args4j.kohsuke.org/</a><br>
args4j is a small Java class library that makes it easy to parse command line options/arguments in your CUI application.<br>
<a href="https://github.com/kohsuke/args4j" target="_blank" rel="noopener noreffer ">https://github.com/kohsuke/args4j</a></p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/cb23420cf8e9b65e1bdfff0262743fc4ab3edef7" target="_blank" rel="noopener noreffer "><code>cb23420</code></a> in My-Notes.</em></p>]]></description></item><item><title>More about marshalling to XML/JSON</title><link>https://blog.emecas.net/posts/2013-11-21-more-about-marshalling-to-xml-json/</link><pubDate>Thu, 21 Nov 2013 13:59:55 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2013-11-21-more-about-marshalling-to-xml-json/</guid><description><![CDATA[<p>Related S.O.answers:<br>
Is it possible using Jersey/JAX-RS annotations to skip a class member when marshalling to XML/JSON?<br>
<a href="http://stackoverflow.com/questions/13069729/is-it-possible-using-jersey-jax-rs-annotations-to-skip-a-class-member-when-marsh" target="_blank" rel="noopener noreffer ">http://stackoverflow.com/questions/13069729/is-it-possible-using-jersey-jax-rs-annotations-to-skip-a-class-member-when-marsh</a></p>
<p>Jersey on Jetty on Android throws ContainerException: The ResourceConfig instance does not contain any root resource classes<br>
<a href="http://stackoverflow.com/questions/11210734/jersey-on-jetty-on-android-throws-containerexception-the-resourceconfig-instanc" target="_blank" rel="noopener noreffer ">http://stackoverflow.com/questions/11210734/jersey-on-jetty-on-android-throws-containerexception-the-resourceconfig-instanc</a></p>
<p>javax.xml.bind.JAXBException: Class *** nor any of its super class is known to this context<br>
<a href="http://stackoverflow.com/questions/14057932/javax-xml-bind-jaxbexception-class-nor-any-of-its-super-class-is-known-to-t" target="_blank" rel="noopener noreffer ">http://stackoverflow.com/questions/14057932/javax-xml-bind-jaxbexception-class-nor-any-of-its-super-class-is-known-to-t</a></p>
<p>Ref related: Java XML and JSON Binding<br>
<a href="http://blog.bdoughan.com/" target="_blank" rel="noopener noreffer ">http://blog.bdoughan.com/</a><br>
Blog entry:<br>
<a href="http://blog.bdoughan.com/2012/07/jaxb-and-root-elements.html" target="_blank" rel="noopener noreffer ">http://blog.bdoughan.com/2012/07/jaxb-and-root-elements.html</a></p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/d42ff3f66cdb72c60ec460dd18fed6f016949c7b" target="_blank" rel="noopener noreffer "><code>d42ff3f</code></a> in My-Notes.</em></p>]]></description></item><item><title>Adding Classes to the Runtime Marshaller</title><link>https://blog.emecas.net/posts/2013-11-21-adding-classes-to-the-runtime-marshaller/</link><pubDate>Thu, 21 Nov 2013 11:03:15 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2013-11-21-adding-classes-to-the-runtime-marshaller/</guid><description><![CDATA[<p>Adding Classes to the Runtime Marshaller</p>
<p>import javax.xml.bind.annotation.XmlSeeAlso;<br>
@WebService()<br>
@XmlSeeAlso({Class1.class,<br>
Class2.class,</p>
<p><a href="http://fusesource.com/docs/esb/4.2/jaxws/JAXWSDataMappingOverMoreClasses.html" target="_blank" rel="noopener noreffer ">http://fusesource.com/docs/esb/4.2/jaxws/JAXWSDataMappingOverMoreClasses.html</a></p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/d6aad1729ef2fa48290c2c707cc05606e8dd574c" target="_blank" rel="noopener noreffer "><code>d6aad17</code></a> in My-Notes.</em></p>]]></description></item></channel></rss>