Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add missing test for RELAXED

  • Loading branch information...
commit 962c9c9d615dd229870d6724821914c93a801aa0 1 parent 6697105
schaarsc authored September 01, 2012
4  src/main/java/org/junit/runner/manipulation/Filter.java
@@ -94,7 +94,9 @@ public boolean shouldRun(Description description) {
94 94
 				if (methodName == null) {
95 95
 					return true;
96 96
 				}
97  
-				if (!classNames.contains(className) && mode.equals(FilterMode.STRICT))
  97
+				if (!classNames.contains(className) && mode.equals(FilterMode.RELAXED))
  98
+					return true;
  99
+				else if (!classNames.contains(className) && mode.equals(FilterMode.STRICT))
98 100
 					return false;
99 101
 				else
100 102
 					return desiredDescriptions.contains(description);

0 notes on commit 962c9c9

Please sign in to comment.
Something went wrong with that request. Please try again.