org.scalatest.package.scala Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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.
*/
package org
/**
* ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.
*/
package object scalatest {
// SKIP-SCALATESTJS,NATIVE-START
private val defaultShell = ShellImpl()
/**
* Returns a copy of this Shell
with colorPassed
configuration parameter set to true
.
*/
lazy val color: Shell = defaultShell.color
/**
* Returns a copy of this Shell
with durationsPassed
configuration parameter set to true
.
*/
lazy val durations: Shell = defaultShell.durations
/**
* Returns a copy of this Shell
with shortStacksPassed
configuration parameter set to true
.
*/
lazy val shortstacks: Shell = defaultShell.shortstacks
/**
* Returns a copy of this Shell
with fullStacksPassed
configuration parameter set to true
.
*/
lazy val fullstacks: Shell = defaultShell.fullstacks
/**
* Returns a copy of this Shell
with statsPassed
configuration parameter set to true
.
*/
lazy val stats: Shell = defaultShell.stats
/**
* Returns a copy of this Shell
with colorPassed
configuration parameter set to false
.
*/
lazy val nocolor: Shell = defaultShell.nocolor
/**
* Returns a copy of this Shell
with durationsPassed
configuration parameter set to false
.
*/
lazy val nodurations: Shell = defaultShell.nodurations
/**
* Returns a copy of this Shell
with shortStacksPassed
configuration parameter set to false
.
*/
lazy val nostacks: Shell = defaultShell.nostacks
/**
* Returns a copy of this Shell
with statsPassed
configuration parameter set to false
.
*/
lazy val nostats: Shell = defaultShell.nostats
// SKIP-SCALATESTJS,NATIVE-END
/**
* The version number of ScalaTest.
*
* @return the ScalaTest version number.
*/
val ScalaTestVersion: String = ScalaTestVersions.ScalaTestVersion
private[scalatest] type Expectation = Fact
/**
* Marker trait that serves as the result type of assert
, assume
, and pending
methods of
* trait Assertions
, which return its only instance, the Succeeded
singleton, or throw
* an exception that indicates a failed, canceled, or pending test.
*/
type Assertion = compatible.Assertion
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy