Skip to content

Commit 05969e7

Browse files
committed
Merge remote-tracking branch 'origin/feature-go-back-to-old-stylenames' into feature-deprecate-test-registration-traits
2 parents d19179a + 4be6231 commit 05969e7

32 files changed

+115
-115
lines changed

scalatest-test/src/test/scala/org/scalatest/StyleNameSpec.scala

Lines changed: 84 additions & 84 deletions
Large diffs are not rendered by default.

scalatest/src/main/scala/org/scalatest/FixtureSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ trait FixtureSuite extends org.scalatest.Suite { thisSuite =>
342342
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
343343
*/
344344
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
345-
override val styleName: String = "org.scalatest.FixtureSuite"
345+
override val styleName: String = "org.scalatest.fixture.Suite"
346346
}
347347

348348
/*

scalatest/src/main/scala/org/scalatest/featurespec/AnyFeatureSpecLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ trait AnyFeatureSpecLike extends TestSuite with TestRegistration with Informing
400400
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
401401
*/
402402
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
403-
final override val styleName: String = "org.scalatest.featurespec.AnyFeatureSpec"
403+
final override val styleName: String = "org.scalatest.FeatureSpec"
404404

405405
override def testDataFor(testName: String, theConfigMap: ConfigMap = ConfigMap.empty): TestData = createTestDataFor(testName, theConfigMap, this)
406406
}

scalatest/src/main/scala/org/scalatest/featurespec/AsyncFeatureSpecLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ trait AsyncFeatureSpecLike extends AsyncTestSuite with AsyncTestRegistration wit
382382
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
383383
*/
384384
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
385-
final override val styleName: String = "org.scalatest.featurespec.AsyncFeatureSpec"
385+
final override val styleName: String = "org.scalatest.FeatureSpec"
386386

387387
override def testDataFor(testName: String, theConfigMap: ConfigMap = ConfigMap.empty): TestData = createTestDataFor(testName, theConfigMap, this)
388388
}

scalatest/src/main/scala/org/scalatest/featurespec/FixtureAnyFeatureSpecLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ trait FixtureAnyFeatureSpecLike extends org.scalatest.FixtureTestSuite with org.
433433
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
434434
*/
435435
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
436-
final override val styleName: String = "org.scalatest.featurespec.FixtureAnyFeatureSpec"
436+
final override val styleName: String = "org.scalatest.fixture.FeatureSpec"
437437

438438
override def testDataFor(testName: String, theConfigMap: ConfigMap = ConfigMap.empty): TestData = createTestDataFor(testName, theConfigMap, this)
439439
}

scalatest/src/main/scala/org/scalatest/featurespec/FixtureAsyncFeatureSpecLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ trait FixtureAsyncFeatureSpecLike extends org.scalatest.FixtureAsyncTestSuite wi
399399
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
400400
*/
401401
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
402-
final override val styleName: String = "org.scalatest.featurespec.FixtureAsyncFeatureSpec"
402+
final override val styleName: String = "org.scalatest.fixture.FeatureSpec"
403403

404404
override def testDataFor(testName: String, theConfigMap: ConfigMap = ConfigMap.empty): TestData = createTestDataFor(testName, theConfigMap, this)
405405
}

scalatest/src/main/scala/org/scalatest/flatspec/AnyFlatSpecLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ import resultOfStringPassedToVerb.verb
18221822
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
18231823
*/
18241824
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
1825-
final override val styleName: String = "org.scalatest.flatspec.AnyFlatSpec"
1825+
final override val styleName: String = "org.scalatest.FlatSpec"
18261826

18271827
override def testDataFor(testName: String, theConfigMap: ConfigMap = ConfigMap.empty): TestData = createTestDataFor(testName, theConfigMap, this)
18281828
}

scalatest/src/main/scala/org/scalatest/flatspec/AsyncFlatSpecLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ import resultOfStringPassedToVerb.verb
18381838
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
18391839
*/
18401840
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
1841-
final override val styleName: String = "org.scalatest.flatspec.AsyncFlatSpec"
1841+
final override val styleName: String = "org.scalatest.FlatSpec"
18421842

18431843
override def testDataFor(testName: String, theConfigMap: ConfigMap = ConfigMap.empty): TestData = createTestDataFor(testName, theConfigMap, this)
18441844
}

scalatest/src/main/scala/org/scalatest/flatspec/FixtureAnyFlatSpecLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2229,7 +2229,7 @@ import resultOfStringPassedToVerb.verb
22292229
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
22302230
*/
22312231
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
2232-
final override val styleName: String = "org.scalatest.flatspec.FixtureAnyFlatSpec"
2232+
final override val styleName: String = "org.scalatest.fixture.FlatSpec"
22332233

22342234
override def testDataFor(testName: String, theConfigMap: ConfigMap = ConfigMap.empty): TestData = createTestDataFor(testName, theConfigMap, this)
22352235
}

scalatest/src/main/scala/org/scalatest/flatspec/FixtureAsyncFlatSpecLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,7 @@ import resultOfStringPassedToVerb.verb
22042204
* will replace chosen styles as the tool to encourage consistency across a project. We do not plan a replacement for <code>styleName</code>.</p>
22052205
*/
22062206
@deprecated("The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.", "3.1.0")
2207-
final override val styleName: String = "org.scalatest.flatspec.FixtureAsyncFlatSpec"
2207+
final override val styleName: String = "org.scalatest.fixture.FlatSpec"
22082208

22092209
override def testDataFor(testName: String, theConfigMap: ConfigMap = ConfigMap.empty): TestData = createTestDataFor(testName, theConfigMap, this)
22102210
}

0 commit comments

Comments
 (0)