Skip to content

Use @BeforeClass for ContentSettingsManagerTest.beforeClass#5204

Merged
Stypox merged 1 commit intoTeamNewPipe:devfrom
XiangRongLin:fix_before_all
Dec 19, 2020
Merged

Use @BeforeClass for ContentSettingsManagerTest.beforeClass#5204
Stypox merged 1 commit intoTeamNewPipe:devfrom
XiangRongLin:fix_before_all

Conversation

@XiangRongLin
Copy link
Collaborator

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Make initialization of Files in ContentSettingsManagerTest.ExportTest only run once per class and not before each test. They are only read from.

Fixes the following issue(s)

Due diligence

@Stypox
Copy link
Member

Stypox commented Dec 19, 2020

The test runs correctly and code looks good, thanks and sorry for not noticing before merging #5059 ;-)

@Stypox Stypox merged commit 2880280 into TeamNewPipe:dev Dec 19, 2020
This was referenced Dec 21, 2020
@XiangRongLin XiangRongLin deleted the fix_before_all branch January 16, 2021 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants