Sha256: fc799dc0a0a2628e4e4ed8c3e9d81fb904b2d8c5e2854159850264f916e5684a

Contents?: true

Size: 1.11 KB

Versions: 6

Compression:

Stored size: 1.11 KB

Contents

#--
# Copyright (C) 2008 David Kellum
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
# may not use this file except in compliance with the License.  You
# may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.  See the License for the specific language governing
# permissions and limitations under the License.
#++

require 'jetty'

module Jetty
 
  # Loads testservlets jar.
  module TestServlets
    require File.join( Jetty::JETTY_DIR, "gravitext-testservlets-1.0.jar" )
    import 'com.gravitext.testservlets.SnoopServlet'
    import 'com.gravitext.testservlets.PerfTestServlet'

    # Webapps directory containing "test/" expanded webapp and "test.war"
    WEBAPPS_DIR = File.join( Jetty::JETTY_DIR, '..', '..', 'webapps' )

    WEBAPP_TEST_EXPANDED = File.join( WEBAPPS_DIR, 'test' )
    WEBAPP_TEST_WAR      = File.join( WEBAPPS_DIR, 'test.war' )
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jetty-6.1.11.1 lib/jetty/test-servlets.rb
jetty-6.1.12.1 lib/jetty/test-servlets.rb
jetty-6.1.14.1 lib/jetty/test-servlets.rb
jetty-6.1.16.1 lib/jetty/test-servlets.rb
jetty-6.1.17.1 lib/jetty/test-servlets.rb
jetty-6.1.18.1 lib/jetty/test-servlets.rb