Skip to content

Commit

Permalink
Fix documentation reference to CategoryType
Browse files Browse the repository at this point in the history
  • Loading branch information
David Saff committed Dec 8, 2009
1 parent 7d8f2b7 commit ea80d1a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<property name="src" value="src/main/java" />
<property name="target" location="target" />
<property name="bin" location="${target}/main" />
<property name="version-base" value="4.8" />
<property name="version-base" value="4.8.1" />
<property name="version-status" value="" />
<property name="version" value="${version-base}${version-status}" />
<property name="dist" value="junit${version}" />
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/junit/runner/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ private Version() {
}

public static String id() {
return "4.8";
return "4.8.1";
}

public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
* Example:
*
* <pre>
* public interface FastTests extends CategoryType {
* public interface FastTests {
* }
*
* public interface SlowTests extends CategoryType {
*
* public interface SlowTests {
* }
*
* public static class A {
Expand Down
7 changes: 3 additions & 4 deletions src/main/java/org/junit/experimental/categories/Category.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@

/**
* Marks a test class or test method as belonging to one or more categories of tests.
* The value is an array of interface classes that extend the {@link CategoryType}
* superinterface.
* The value is an array of arbitrary classes.
*
* This annotation is only interpreted by the Categories runner (at present).
*
* For example:
<pre>
public interface FastTests extends CategoryType {}
public interface SlowTests extends CategoryType {}
public interface FastTests {}
public interface SlowTests {}
public static class A {
@Test
Expand Down

0 comments on commit ea80d1a

Please sign in to comment.