Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openmole
gate
Commits
3e139947
Commit
3e139947
authored
10 years ago
by
Mathieu leclaire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up
parent
590683f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
16 deletions
+1
-16
ScalatraBootstrap.scala
server/src/main/scala/ScalatraBootstrap.scala
+1
-0
MyScalatraServletSpec.scala
.../src/test/scala/fr/iscpif/app/MyScalatraServletSpec.scala
+0
-16
No files found.
server/src/main/scala/ScalatraBootstrap.scala
View file @
3e139947
...
@@ -8,6 +8,7 @@ class ScalatraBootstrap extends LifeCycle {
...
@@ -8,6 +8,7 @@ class ScalatraBootstrap extends LifeCycle {
override
def
init
(
context
:
ServletContext
)
{
override
def
init
(
context
:
ServletContext
)
{
//val serv = new MyScalatraServlet
//val serv = new MyScalatraServlet
// pluginROutes.foreach{serv.addRoute}
// pluginROutes.foreach{serv.addRoute}
context
.
mount
(
new
Servlet
,
"/*"
)
context
.
mount
(
new
Servlet
,
"/*"
)
}
}
}
}
This diff is collapsed.
Click to expand it.
server/src/test/scala/fr/iscpif/app/MyScalatraServletSpec.scala
deleted
100644 → 0
View file @
590683f4
package
fr.iscpif.app
import
org.scalatra.test.specs2._
// For more on Specs2, see http://etorreborre.github.com/specs2/guide/org.specs2.guide.QuickStart.html
class
MyScalatraServletSpec
extends
ScalatraSpec
{
def
is
=
"GET / on MyScalatraServlet"
^
"should return status 200"
!
root200
^
end
addServlet
(
classOf
[
MyScalatraServlet
],
"/*"
)
def
root200
=
get
(
"/"
)
{
status
must_==
200
}
}
This diff is collapsed.
Click to expand it.
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