Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
runcon
Plantuml Server
Commits
e8920c23
Commit
e8920c23
authored
Nov 27, 2013
by
Maxime Sinclair
Browse files
[TASK] Test cleanup
parent
7c8f3618
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/index.jsp
View file @
e8920c23
...
...
@@ -73,11 +73,6 @@
</p>
</c:if>
</div>
<!-- This comment is used by the TestProxy class
@startuml
Bob -> Alice : hello
@enduml
-->
<%-- FOOTER --%>
<%@ include
file=
"footer.jspf"
%>
</body>
...
...
src/test/java/net/sourceforge/plantuml/servlet/TestOldProxy.java
View file @
e8920c23
...
...
@@ -15,7 +15,7 @@ public class TestOldProxy extends WebappTestCase {
*/
public
void
testDefaultProxy
()
throws
Exception
{
WebConversation
conversation
=
new
WebConversation
();
WebRequest
request
=
new
GetMethodWebRequest
(
getServerUrl
()
+
"proxy/"
+
getServerUrl
()
+
"
welcome
"
);
WebRequest
request
=
new
GetMethodWebRequest
(
getServerUrl
()
+
"proxy/"
+
getServerUrl
()
+
"
resource/test2diagrams.txt
"
);
WebResponse
response
=
conversation
.
getResource
(
request
);
// Analyze response
// Verifies the Content-Type header
...
...
@@ -38,7 +38,7 @@ public class TestOldProxy extends WebappTestCase {
public
void
testProxyWithFormat
()
throws
Exception
{
WebConversation
conversation
=
new
WebConversation
();
WebRequest
request
=
new
GetMethodWebRequest
(
getServerUrl
()
+
"proxy/svg/"
+
getServerUrl
()
+
"
welcome
"
);
WebRequest
request
=
new
GetMethodWebRequest
(
getServerUrl
()
+
"proxy/svg/"
+
getServerUrl
()
+
"
resource/test2diagrams.txt
"
);
WebResponse
response
=
conversation
.
getResource
(
request
);
// Analyze response
// Verifies the Content-Type header
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment