Permalink
Browse files

shortened some lines that were too long

  • Loading branch information...
Petter Måhlén
Petter Måhlén committed Aug 13, 2012
1 parent 09f3e35 commit b564894980310e40f4c21006ff0c2346c4fc71f6
Showing with 6 additions and 5 deletions.
  1. +6 −5 src/test/java/org/junit/tests/experimental/max/DescriptionTest.java
@@ -43,7 +43,8 @@ public void parseClassAndMethodNoAnnotations() throws Exception {
@Test
public void parseClassAndMethodWithAnnotations() throws Exception {
- Annotation[] annotations = DescriptionTest.class.getMethod("parseClassAndMethodWithAnnotations").getDeclaredAnnotations();
+ Annotation[] annotations =
+ DescriptionTest.class.getMethod("parseClassAndMethodWithAnnotations").getDeclaredAnnotations();
Description description = Description.createTestDescription(Description.class, "aTestMethod", annotations);
@@ -54,16 +55,16 @@ public void parseClassAndMethodWithAnnotations() throws Exception {
@Test
public void parseClassNameAndMethodUniqueId() throws Exception {
- Description description = Description.createTestDescription("something that's not a class name", "aTestMethod", 123);
+ Description description = Description.createTestDescription("not a class name", "aTestMethod", 123);
- assertThat(description.getClassName(), equalTo("something that's not a class name"));
+ assertThat(description.getClassName(), equalTo("not a class name"));
assertThat(description.getMethodName(), equalTo("aTestMethod"));
assertThat(description.getAnnotations().size(), equalTo(0));
}
@Test
public void sameNamesButDifferentUniqueIdAreNotEqual() throws Exception {
- assertThat(Description.createTestDescription("something that's not a class name", "aTestMethod", 1),
- not(equalTo(Description.createTestDescription("something that's not a class name", "aTestMethod", 2))));
+ assertThat(Description.createTestDescription("not a class name", "aTestMethod", 1),
+ not(equalTo(Description.createTestDescription("not a class name", "aTestMethod", 2))));
}
}

0 comments on commit b564894

Please sign in to comment.