Exemplo n.º 1
0
 private void AssertCorrectProcessing(
     Dictionary <string, string> testParams
     )
 {
     AssertHelper.AssertAllElementsEqual(
         testParams, BackgroundService.GetDataFromWorker());
 }
Exemplo n.º 2
0
        public void ManipulateInMediumDecayWidthVariables()
        {
            BackgroundService.SetWorker(WorkerLoader.CreateInstance("InMediumDecayWidth"));
            BackgroundService.TransferDataToWorker(ParameterSamples.InMediumDecayWidthSamples);

            AssertHelper.AssertAllElementsEqual(
                ParameterSamples.InMediumDecayWidthSamples, BackgroundService.GetDataFromWorker());
        }
Exemplo n.º 3
0
        public void ManipulateQQonFireVariables()
        {
            BackgroundService.SetWorker(WorkerLoader.CreateInstance("QQonFire"));
            BackgroundService.TransferDataToWorker(ParameterSamples.QQonFireSamples);

            AssertHelper.AssertAllElementsEqual(
                ParameterSamples.QQonFireSamples, BackgroundService.GetDataFromWorker());
        }
Exemplo n.º 4
0
        public void ManipulateSingleQQPanelControls()
        {
            SingleQQPanel = new SingleQQPanel();
            SingleQQPanel.Initialize(BackgroundService);
            SingleQQPanel.ControlsValues = ParameterSamples.SingleQQSamples;

            AssertHelper.AssertAllElementsEqual(
                ParameterSamples.SingleQQSamples, SingleQQPanel.ControlsValues);
        }
        public void ManipulateElectromagnetismPanelControls()
        {
            ElectromagnetismPanel = new ElectromagnetismPanel();
            ElectromagnetismPanel.Initialize(BackgroundService);
            ElectromagnetismPanel.ControlsValues = ParameterSamples.ElectromagnetismSamples;

            AssertHelper.AssertAllElementsEqual(
                ParameterSamples.ElectromagnetismSamples, ElectromagnetismPanel.ControlsValues);
        }
Exemplo n.º 6
0
        public void ManipulateInMediumDecayWidthPanelControls()
        {
            InMediumDecayWidthPanel = new InMediumDecayWidthPanel();
            InMediumDecayWidthPanel.Initialize(BackgroundService);
            InMediumDecayWidthPanel.ControlsValues = ParameterSamples.InMediumDecayWidthSamples;

            AssertHelper.AssertAllElementsEqual(
                ParameterSamples.InMediumDecayWidthSamples, InMediumDecayWidthPanel.ControlsValues);
        }
Exemplo n.º 7
0
        public void ManipulateQQonFirePanelControls()
        {
            QQonFirePanel = new QQonFirePanel();
            QQonFirePanel.Initialize(BackgroundService);
            QQonFirePanel.ControlsValues = ParameterSamples.QQonFireSamples;

            AssertHelper.AssertAllElementsEqual(
                ParameterSamples.QQonFireSamples, QQonFirePanel.ControlsValues);
        }