Skip to content

Commit

Permalink
Rename MethodTestDescriptorTests
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Nov 9, 2015
1 parent 9c9f478 commit 72a1139
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -27,7 +27,7 @@
import org.junit.gen5.engine.TestTag;

/**
* Unit tests for {@link MethodTestDescriptor}.
* Unit tests for {@link ClassTestDescriptor} and {@link MethodTestDescriptor}.
*
* @author Sam Brannen
* @author Stefan Bechtold
Expand All @@ -36,7 +36,7 @@
@Tag("classTag1")
@Tag("classTag2")
@Name("custom class name")
public class MethodTestDescriptorTests {
public class JUnit5TestDescriptorTests {

@org.junit.Test
public void constructFromMethod() throws Exception {
Expand Down Expand Up @@ -64,10 +64,9 @@ public void constructFromMethodWithAnnotations() throws Exception {
assertTrue(tags.contains("methodTag1"));
assertTrue(tags.contains("methodTag2"));

//Methods "inherit" tags from their test class
// Methods "inherit" tags from their test class
assertTrue(tags.contains("classTag1"));
assertTrue(tags.contains("classTag2"));

}

@org.junit.Test
Expand All @@ -81,7 +80,6 @@ public void constructClassDescriptorWithAnnotations() throws Exception {
assertEquals(2, descriptor.getTags().size());
assertTrue(tags.contains("classTag1"));
assertTrue(tags.contains("classTag2"));

}

@org.junit.Test
Expand Down

0 comments on commit 72a1139

Please sign in to comment.