From ffa3d0413804ba3950f1f5fb46654667dc8ecee3 Mon Sep 17 00:00:00 2001 From: Albert Meltzer <7529386+kitbellew@users.noreply.github.com> Date: Tue, 1 Oct 2024 08:31:43 -0700 Subject: [PATCH] CommunitySuite: add versions of playframework --- .../other/CommunityPlayFrameworkSuite.scala | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scalafmt-tests-community/other/src/test/scala/org/scalafmt/community/other/CommunityPlayFrameworkSuite.scala diff --git a/scalafmt-tests-community/other/src/test/scala/org/scalafmt/community/other/CommunityPlayFrameworkSuite.scala b/scalafmt-tests-community/other/src/test/scala/org/scalafmt/community/other/CommunityPlayFrameworkSuite.scala new file mode 100644 index 000000000..cb733e628 --- /dev/null +++ b/scalafmt-tests-community/other/src/test/scala/org/scalafmt/community/other/CommunityPlayFrameworkSuite.scala @@ -0,0 +1,25 @@ +package org.scalafmt.community.other + +import org.scalafmt.community.common.CommunityRepoSuite + +import scala.meta._ + +abstract class CommunityPlayFrameworkSuite(name: String) + extends CommunityRepoSuite( + "https://github.com/playframework/playframework.git", + name, + ) + +class CommunityPlayFramework_2_9_Suite + extends CommunityPlayFrameworkSuite("playframework-2.9") { + + override protected def builds = Seq(getBuild("2.9.5", dialects.Scala213, 454)) + +} + +class CommunityPlayFramework_3_0_Suite + extends CommunityPlayFrameworkSuite("playframework-3.0") { + + override protected def builds = Seq(getBuild("3.0.5", dialects.Scala213, 454)) + +}