Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-12-02 19:19:52 +0000
committerJoakim Erdfelt2015-12-02 19:19:52 +0000
commitbae11382115bca0ef8bcfcaf03eb95586e085488 (patch)
tree09a6d85f5f062de3c89a4de7dcaf950dfa467949 /jetty-servlet/src
parentc83bf80702734b2f4a4450cad1adbeb24642945b (diff)
downloadorg.eclipse.jetty.project-bae11382115bca0ef8bcfcaf03eb95586e085488.tar.gz
org.eclipse.jetty.project-bae11382115bca0ef8bcfcaf03eb95586e085488.tar.xz
org.eclipse.jetty.project-bae11382115bca0ef8bcfcaf03eb95586e085488.zip
Fixing test expectations on Decorator counts
Diffstat (limited to 'jetty-servlet/src')
-rw-r--r--jetty-servlet/src/test/java/org/eclipse/jetty/servlet/ServletContextHandlerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/ServletContextHandlerTest.java b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/ServletContextHandlerTest.java
index 2a312a423c..89478bdec3 100644
--- a/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/ServletContextHandlerTest.java
+++ b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/ServletContextHandlerTest.java
@@ -387,7 +387,7 @@ public class ServletContextHandlerTest
String expected = String.format("Attribute[%s] = %s", DecoratedObjectFactory.ATTR, DecoratedObjectFactory.class.getName());
assertThat("Has context attribute", response, containsString(expected));
- assertThat("Decorators size", response, containsString("Decorators.size = [1]"));
+ assertThat("Decorators size", response, containsString("Decorators.size = [2]"));
expected = String.format("decorator[] = %s", DummyLegacyDecorator.class.getName());
assertThat("Specific Legacy Decorator", response, containsString(expected));
@@ -414,7 +414,7 @@ public class ServletContextHandlerTest
String expected = String.format("Attribute[%s] = %s", DecoratedObjectFactory.ATTR, DecoratedObjectFactory.class.getName());
assertThat("Has context attribute", response, containsString(expected));
- assertThat("Decorators size", response, containsString("Decorators.size = [1]"));
+ assertThat("Decorators size", response, containsString("Decorators.size = [2]"));
expected = String.format("decorator[] = %s", DummyUtilDecorator.class.getName());
assertThat("Specific Legacy Decorator", response, containsString(expected));

Back to the top