case class PortNumber(value: Int) extends Product with Serializable

Wraps a port number of a provided TestServer so that it can be made available as an implicit without making an Int implicit.

An implicit PortNumber is made available by traits that provide a play.api.test.TestServer: MixedFixtures, OneBrowserPerSuite, OneBrowserPerTest, GuiceOneServerPerSuite, and OneServerPerTest.

The implicit PortNumber is taken by the methods of WsScalaTestClient.

Source
PortNumber.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PortNumber
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PortNumber(value: Int)

Value Members

  1. def productElementNames: Iterator[String]
    Definition Classes
    Product
  2. val value: Int