mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Added Tests and Refactored code (#2129)
* Added Tests and Refactored code * removed un-used file * delete test files when test completes * removed extra build configs * added clean-up method * removed unused variable * re-added removed attributtion * added error handling and move strings to string resource * added error handling to file explorer view model * moved varible assignment to if statement block * removed savin of settings file from the UI * re-added open source notice * added missing controls for powerrename and fancy zones * removed dead coded * remove un-used configuration * added error handling for file saving and updated powerreanme constructor * removed added configurations * added settings state
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using Microsoft.PowerToys.Settings.UI.Lib;
|
||||
using Microsoft.PowerToys.Settings.UI.ViewModels;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Newtonsoft.Json.Schema;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.PowerToys.Settings.UnitTest.ViewModelTests
|
||||
{
|
||||
[TestClass]
|
||||
public class GeneralSettingsViewModelTest
|
||||
{
|
||||
[TestMethod]
|
||||
[DebuggerStepThrough]
|
||||
public void Packaged_ShouldSendConfigsWithUpdatedPackageValue_WhenSuccessful()
|
||||
{
|
||||
//GeneralViewModel viewModel = new GeneralViewModel();
|
||||
//viewModel.Packaged = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user