Permalink
Browse files

update @since

  • Loading branch information...
1 parent 0b55e81 commit d031796437b4fba48418e720296ac2d34a3ce292 @jdillon jdillon committed Feb 27, 2014
Showing with 44 additions and 77 deletions.
  1. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/TestData.java
  2. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/TestIndex.java
  3. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/TestInfo.java
  4. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/TestSupport.java
  5. +3 −3 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/TestTracer.java
  6. +3 −3 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/TestUtil.java
  7. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/group/External.java
  8. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/group/Fork.java
  9. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/group/Perf.java
  10. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/group/Slow.java
  11. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/group/Smoke.java
  12. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/group/Unstable.java
  13. +3 −3 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/BeanMatchers.java
  14. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/ConjunctionMatcher.java
  15. +4 −4 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/DiffMatchers.java
  16. +2 −2 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/DiffUtils.java
  17. +2 −2 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/FileMatchers.java
  18. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/InversionMatcher.java
  19. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/IsNot.java
  20. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/LogFileMatcher.java
  21. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/hamcrest/NegativeMatcher.java
  22. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/inject/InjectedTestSupport.java
  23. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/inject/Names.java
  24. +2 −2 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/junit/JUnitSupport.java
  25. +2 −2 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/junit/TestDataRule.java
  26. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/junit/TestIndexRule.java
  27. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/junit/TestInfoRule.java
  28. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/mock/ImplementsPartialJavaBean.java
  29. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/mock/MockitoRule.java
  30. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/net/SSLUtil.java
  31. +1 −1 testsupport/src/main/java/org/sonatype/sisu/litmus/testsupport/net/TrustingX509TrustManager.java
  32. +0 −2 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/hamcrest/BeanMatchersTest.java
  33. +0 −2 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/hamcrest/ConjunctionMatcherTest.java
  34. +0 −2 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/hamcrest/LogFileMatcherTest.java
  35. +0 −2 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/hamcrest/URLMatchersTest.java
  36. +0 −2 ...upport/src/test/java/org/sonatype/sisu/litmus/testsupport/junit/TestDataRuleParametrizedTest.java
  37. +0 −14 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/junit/TestDataRuleTest.java
  38. +0 −2 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/junit/TestIndexRuleTest.java
  39. +0 −2 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/junit/TestInfoRuleTest.java
  40. +0 −1 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/mock/MockitoRuleConstructorBean.java
  41. +0 −1 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/mock/MockitoRuleFieldBean.java
  42. +0 −1 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/mock/MockitoRulePropertyBean.java
  43. +0 −2 testsupport/src/test/java/org/sonatype/sisu/litmus/testsupport/mock/MockitoRuleTest.java
@@ -18,7 +18,7 @@
/**
* Test data access.
*
- * @since 1.4
+ * @since litmus 1.4
*/
public interface TestData
{
@@ -18,7 +18,7 @@
/**
* Test related directory index.
*
- * @since 1.4
+ * @since litmus 1.4
*/
public interface TestIndex
{
@@ -19,7 +19,7 @@
/**
* Information about the currently executing test.
*
- * @since 1.3
+ * @since litmus 1.3
*/
public interface TestInfo
{
@@ -26,7 +26,7 @@
/**
* Support for tests.
*
- * @since 1.0
+ * @since litmus 1.0
*/
public class TestSupport
{
@@ -28,7 +28,7 @@
/**
* Traces test execution to a {@link Logger}.
*
- * @since 1.0
+ * @since litmus 1.0
*/
public class TestTracer
extends TestWatcher
@@ -55,14 +55,14 @@ public TestTracer withLevel(final Level level) {
}
/**
- * @since 1.3
+ * @since litmus 1.3
*/
protected String prefix(final Description desc) {
return format("TEST %s", desc == null ? UNKNOWN_METHOD_NAME : desc.getMethodName());
}
/**
- * @since 1.3
+ * @since litmus 1.3
*/
protected void log(String message, Object... args) {
level.log(logger, message, args);
@@ -29,7 +29,7 @@
/**
* Test utilities.
*
- * @since 1.0
+ * @since litmus 1.0
*/
public final class TestUtil
{
@@ -168,7 +168,7 @@ public File createTempFile(final String prefix) {
}
/**
- * @since 1.1
+ * @since litmus 1.1
*/
public File createTempFile() {
return createTempFile(UUID.randomUUID().toString());
@@ -186,7 +186,7 @@ public File createTempDir(final String prefix) {
}
/**
- * @since 1.1
+ * @since litmus 1.1
*/
public File createTempDir() {
return createTempDir(UUID.randomUUID().toString());
@@ -25,7 +25,7 @@
* External tests should obviously be avoided and are a sign of code smell. But if you have them, it is useful to at
* least mark them and perhaps run them only on systems which will support the test requirements.
*
- * @since 1.5
+ * @since litmus 1.5
*/
public interface External
{
@@ -19,7 +19,7 @@
* Forking a new JVM to run your test is usually more resource intensive or requires a different set of system
* properties as non-forked tests.
*
- * @since 1.5
+ * @since litmus 1.5
*/
public interface Fork
{
@@ -19,7 +19,7 @@
* Tests measuring performance typically require a specialized environment in which to run to ensure consistent results
* and so should be easily identified.
*
- * @since 1.5
+ * @since litmus 1.5
*/
public interface Perf
{
@@ -20,7 +20,7 @@
* fixtures
* or generally are poorly designed.
*
- * @since 1.5
+ * @since litmus 1.5
*/
public interface Slow
{
@@ -21,7 +21,7 @@
* For unit tests, it is considered best practice to ensure <b>ALL</b> of your unit tests pass as the minimal measure
* by which you judge accepting new code into your project.
*
- * @since 1.5
+ * @since litmus 1.5
*/
public interface Smoke
{
@@ -16,7 +16,7 @@
/**
* Marker interface to categorize a test as unstable.
*
- * @since 1.6.1
+ * @since litmus 1.6.1
*/
public interface Unstable
{
@@ -43,7 +43,7 @@
/**
* Java beans related matchers.
*
- * @since 1.0
+ * @since litmus 1.0
*/
public class BeanMatchers
{
@@ -70,7 +70,7 @@
* those.
*
* @param <T> expected type
- * @since 1.0
+ * @since litmus 1.0
*/
public static class SimilarMatcher<T>
extends BaseMatcher<T>
@@ -109,7 +109,7 @@
* Constructor.
*
* @param expected expected value. Can be null.
- * @since 1.0
+ * @since litmus 1.0
*/
public SimilarMatcher(final T expected) {
this.expected = expected;
@@ -30,7 +30,7 @@
* <p/>
* Similar to {@link org.hamcrest.core.AllOf} as functionality yet, will better handle describeTo/describeMismatch.
*
- * @since 1.4
+ * @since litmus 1.4
*/
public class ConjunctionMatcher<T>
extends TypeSafeMatcher<T>
@@ -21,15 +21,15 @@
/**
* Matchers builder for diff between strings (text file like).
*
- * @since 1.0
+ * @since litmus 1.0
*/
public class DiffMatchers
{
/**
* Diff between two strings.
*
- * @since 1.0
+ * @since litmus 1.0
*/
private static class StringDiffMatcher
extends BaseMatcher<String>
@@ -93,7 +93,7 @@ protected void describeMismatchSafely(String item, Description description) {
/**
* Tests that two strings are equal, displaying a fancy diff if they are not.
*
- * @since 1.0
+ * @since litmus 1.0
*/
@Factory
public static Matcher<String> equalTo(final String string) {
@@ -103,7 +103,7 @@ protected void describeMismatchSafely(String item, Description description) {
/**
* Tests that two strings are equal, displaying only a fancy diff if they are not.
*
- * @since 1.0
+ * @since litmus 1.0
*/
@Factory
public static Matcher<String> equalToOnlyDiffs(final String string) {
@@ -27,7 +27,7 @@
* <p/>
* Thank you!
*
- * @since 1.0
+ * @since litmus 1.0
*/
public class DiffUtils
{
@@ -36,7 +36,7 @@
/**
* Returns a visual diff between two strings (text file like strings).
*
- * @since 1.0
+ * @since litmus 1.0
*/
public static String diffSideBySide(String fromStr, String toStr, boolean onlyDiffs) {
// this is equivalent of running unix diff -y command
@@ -558,7 +558,7 @@ public static String readFully(Reader rdr, int bufferSize)
* fact empty.
*
* @return a matcher that checks if a File (directory) is empty!
- * @since 1.3
+ * @since litmus 1.3
*/
public static Matcher<? super File> isEmptyDirectory() {
return new TypeSafeMatcher<File>()
@@ -601,7 +601,7 @@ else if (this.files == null) {
}
/**
- * @since 1.2
+ * @since litmus 1.2
*/
@Factory
public static Matcher<? super File> matchSha1(File file)
@@ -26,7 +26,7 @@
* Similar to {@link org.hamcrest.core.IsNot} as functionality yet, it delegates the
* {@link Matcher#describeTo(org.hamcrest.Description)} to negated matcher so it better describes the intention.
*
- * @since 1.4
+ * @since litmus 1.4
*/
public class InversionMatcher<T>
extends BaseMatcher<T>
@@ -21,7 +21,7 @@
/**
* Replacement for {@link org.hamcrest.core.IsNot} that delegates mismatch description to wrapped Matcher if set.
*
- * @since 1.0
+ * @since litmus 1.0
* @deprecated Use {@link InversionMatcher} instead (which can better describe the negation)
*/
@Deprecated
@@ -28,7 +28,7 @@
* Log file matcher. Will read every line of a log file and will verify that at least one line is matching. Matching is
* specific to subclasses.
*
- * @since 1.4
+ * @since litmus 1.4
*/
public abstract class LogFileMatcher
extends TypeSafeMatcher<File>
@@ -19,7 +19,7 @@
/**
* A matcher that is able to describe itself when inverted.
*
- * @since 1.4
+ * @since litmus 1.4
*/
public interface NegativeMatcher<T>
extends Matcher<T>
@@ -35,7 +35,7 @@
/**
* Support for injection-based tests.
*
- * @since 1.0
+ * @since litmus 1.0
*/
public class InjectedTestSupport
extends InjectedTest
@@ -16,7 +16,7 @@
/**
* ???
*
- * @since 1.0
+ * @since litmus 1.0
*/
public interface Names
{
@@ -27,7 +27,7 @@
/**
* Generic JUnit support utils.
*
- * @since 1.0
+ * @since litmus 1.0
*/
public class JUnitSupport
{
@@ -49,7 +49,7 @@
* if one or more test classes fail
* @see #logFailures(java.util.List)
* @see {@link JUnitCore#runClasses(Class[])}}
- * @since 1.3
+ * @since litmus 1.3
*/
public void runUnitTests(final boolean assertResults, final Class... testClasses) {
if (checkNotNull(testClasses).length == 0) {
@@ -26,7 +26,7 @@
/**
* JUnit rule for accessing test data
*
- * @since 1.4
+ * @since litmus 1.4
*/
public class TestDataRule
extends TestWatcher
@@ -84,7 +84,7 @@ public File resolveFile(final String path) {
*
* @param clazz class to get the path for
* @return path to class
- * @since 1.0
+ * @since litmus 1.0
*/
//@TestAccessible
static String asPath(final Class<?> clazz) {
@@ -97,7 +97,7 @@
* </code></pre>
* The index file will contain the mappings between the numbered directories (1,2,...) and the test class/method.
*
- * @since 1.4
+ * @since litmus 1.4
*/
public class TestIndexRule
extends TestWatcher
@@ -26,7 +26,7 @@
* A JUnit {@link org.junit.Rule} implementation of {@link TestInfo}, with values derived from {@link Description}
*
* @see Description
- * @since 1.3
+ * @since litmus 1.3
*/
public class TestInfoRule
extends TestWatcher
@@ -24,7 +24,7 @@
/**
* ???
*
- * @since 1.0
+ * @since litmus 1.0
*/
public class ImplementsPartialJavaBean
extends ReturnsMoreEmptyValues
@@ -31,7 +31,7 @@
* validation
* fails then, both {@link Throwable}s are wrapped in a {@link MultipleFailureException}
*
- * @since 1.3
+ * @since litmus 1.3
*/
public class MockitoRule
implements TestRule
@@ -21,7 +21,7 @@
/**
* SSL utility class.
*
- * @since 1.4
+ * @since litmus 1.4
*/
public class SSLUtil
{
@@ -23,7 +23,7 @@
* A very naive TrustManager.
* Trusts every certificate it comes across.
*
- * @since 1.4
+ * @since litmus 1.4
*/
@IgnoreJRERequirement
public class TrustingX509TrustManager
Oops, something went wrong.

0 comments on commit d031796

Please sign in to comment.