Skip to content

Commit 856aa5e

Browse files
committed
MQE-783: removing comments and whitespace
1 parent 78bc144 commit 856aa5e

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/Magento/FunctionalTestingFramework/Allure/Adapter/MagentoAllureAdapter.php

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
namespace Magento\FunctionalTestingFramework\Allure\Adapter;
77

88
use Yandex\Allure\Adapter\AllureAdapter;
9-
use Yandex\Allure\Adapter\Annotation;
10-
use Yandex\Allure\Adapter\Event\TestSuiteEvent;
11-
use Yandex\Allure\Adapter\Event\TestSuiteStartedEvent;
129
use Codeception\Event\SuiteEvent;
1310

1411
/**
@@ -21,8 +18,6 @@
2118

2219
class MagentoAllureAdapter extends AllureAdapter
2320
{
24-
private $uuid;
25-
2621
/**
2722
* Variable name used for extracting group argument to codecept run commaned
2823
*
@@ -72,8 +67,6 @@ public function suiteBefore(SuiteEvent $suiteEvent)
7267
$suite = $suiteEvent->getSuite();
7368
$group = implode(".", $this->groups);
7469
$suiteName = ($suite->getName())."-{$group}";
75-
//cant access protected property of suiteEvent
76-
//$suiteEvent->suite['name'] = $suiteName;
7770

7871
call_user_func(\Closure::bind(
7972
function () use ($suite, $suiteName) {
@@ -92,30 +85,6 @@ function () use ($suite, $suiteName) {
9285

9386
// call parent function
9487
parent::suiteBefore($changeSuiteEvent);
95-
//
96-
// $event = new TestSuiteStartedEvent($suiteName);
97-
// if (class_exists($suiteName, false)) {
98-
// $annotationManager = new Annotation\AnnotationManager(
99-
// Annotation\AnnotationProvider::getClassAnnotations($suiteName)
100-
// );
101-
// $annotationManager->updateTestSuiteEvent($event);
102-
// }
103-
//
104-
//// $uuid = "";
105-
// $uuid = call_user_func(\Closure::bind(
106-
// function () use ($uuid, $event) {
107-
// return $this->uuid;
108-
// },
109-
// null,
110-
// $this
111-
// ));
112-
//// $this->uuid = $uuid;
113-
//
114-
// $this->uuid = $event->getUuid();
115-
//
116-
//
117-
// $this->getLifecycle()->fire($event);
118-
// // unset($event);
11988
}
12089

12190

0 commit comments

Comments
 (0)