protected function getOptions()
    {
        $options = [];

        $allExtensionOption = [
            'class' => 'alltests',
            'value' => \Tx_Phpunit_Testable::ALL_EXTENSIONS,
        ];
        if ($this->isOptionSelected(\Tx_Phpunit_Testable::ALL_EXTENSIONS)) {
            $allExtensionOption['selected'] = 'selected';
        }
        $options[] = $allExtensionOption;

        /** @var \Tx_Phpunit_Testable $testable */
        foreach ($this->testFinder->getTestablesForEverything() as $testable) {
            $extensionOption = [
                'style' => $this->createIconStyle($testable->getKey()),
                'value' => $testable->getKey(),
            ];
            if ($this->isOptionSelected($testable->getKey())) {
                $extensionOption['selected'] = 'selected';
            }

            $options[] = $extensionOption;
        }

        return $options;
    }