From 33f29ed1744ff5a7cf40b4f8ce4fba7811a410a6 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 14 Jul 2012 16:20:31 +0200 Subject: [PATCH] [Form] '@group benchmark' for form performance tests --- .../Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php | 2 ++ .../Component/Form/Tests/CompoundFormPerformanceTest.php | 2 ++ .../Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php index 94102159d6..ea068c24f3 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php @@ -93,6 +93,8 @@ class EntityTypePerformanceTest extends FormPerformanceTestCase /** * This test case is realistic in collection forms where each * row contains the same entity field. + * + * @group benchmark */ public function testCollapsedEntityField() { diff --git a/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php b/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php index 4da8afbbe3..b0191c5369 100644 --- a/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php +++ b/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php @@ -18,6 +18,8 @@ class CompoundFormPerformanceTest extends FormPerformanceTestCase { /** * Create a compound form multiple times, as happens in a collection form + * + * @group benchmark */ public function testArrayBasedForm() { diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php index a9574bd2b2..dbb3e0f997 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php @@ -21,6 +21,8 @@ class ChoiceTypePerformanceTest extends FormPerformanceTestCase /** * This test case is realistic in collection forms where each * row contains the same choice field. + * + * @group benchmark */ public function testSameChoiceFieldCreatedMultipleTimes() {