Unit test of the proxy feature.

This commit is contained in:
Maxime Sinclair
2011-03-18 16:35:45 +01:00
parent b924e99360
commit 225ef45c37
3 changed files with 57 additions and 6 deletions

View File

@@ -14,11 +14,6 @@ if (encodedAttribute != null) {
}
}
Object decodedAttribute = request.getAttribute("net.sourceforge.plantuml.servlet.decoded");
/*if (decodedAttribute == null) {
umltext = "Bob -> Alice : hello";
imgurl = host + contextRoot + "/img/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000";
} else { */
if (decodedAttribute != null) {
umltext = decodedAttribute.toString();
}
@@ -70,7 +65,11 @@ if (decodedAttribute != null) {
</p>
<% } //endif %>
</div>
<!-- This comment is used by the TestProxy class
@startuml
Bob -> Alice : hello
@enduml
-->
<%-- FOOTER
<%@ include file="util/footer.jspf" %> --%>
</body>