Skip to content

fix!: Delete dead code and public APIs. - #11510

Merged
Youssef1313 merged 4 commits into
unoplatform:feature/breaking-changesfrom
Youssef1313:delete-dead-code
Mar 3, 2023
Merged

Youssef1313 merged 4 commits into
unoplatform:feature/breaking-changesfrom
Youssef1313:delete-dead-code

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Feb 27, 2023 •

Copy link
Copy Markdown
Member

BREAKING CHANGE: Deleted dead code and some public APIs.

GitHub Issue (If applicable): #8339

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

BREAKING CHANGE: Deleted dead code and some public APIs.
@jeromelaban

Copy link
Copy Markdown
Member

We can remove that as well, since it uses IResourceRegistry:

#if !IS_UNO
private Uno.Patterns.IoC.Container _container;
[TestInitialize]
public void Init()
{
_container = new Uno.Patterns.IoC.Container();
_container.Register<IResourceRegistry>(new Mock<IResourceRegistry>().Object);
ServiceLocator.SetLocatorProvider(() => _container);
LogManager
.Repository
.Loggers
.OfType<DebuggerLogger>()
.FirstOrDefault()
.SelectOrDefault(l =>
{
l.LogLevel = LogLevel.Debug;
l.RequiresAttachedDebugger = false;
return l;
});
LogManager.RefreshLogLevel();
}
#endif

@github-actions github-actions Bot added area/automation Categorizes an issue or PR as relevant to project automation platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform labels Feb 28, 2023
@github-actions github-actions Bot added the area/build Categorizes an issue or PR as relevant to build infrastructure label Mar 3, 2023
@Youssef1313
Youssef1313 merged commit ce9150e into unoplatform:feature/breaking-changes Mar 3, 2023
@Youssef1313
Youssef1313 deleted the delete-dead-code branch March 3, 2023 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants