1/4 of the changes of RegressionTestException (#8100)
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
This commit is contained in:
committed by
GitHub
parent
5432c7c6d8
commit
b41df5b0f2
@@ -53,7 +53,7 @@ namespace QuantConnect.Algorithm.CSharp
|
||||
{
|
||||
if (config.Resolution != Resolution.Minute)
|
||||
{
|
||||
throw new Exception("Expected resolution to be set to Minute");
|
||||
throw new RegressionTestException("Expected resolution to be set to Minute");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -73,7 +73,7 @@ namespace QuantConnect.Algorithm.CSharp
|
||||
if (mappingEvent.NewSymbol != "NWSA"
|
||||
|| mappingEvent.OldSymbol != "FOXA")
|
||||
{
|
||||
throw new Exception($"Unexpected mapping event {mappingEvent}");
|
||||
throw new RegressionTestException($"Unexpected mapping event {mappingEvent}");
|
||||
}
|
||||
_initialMapping = true;
|
||||
}
|
||||
@@ -82,7 +82,7 @@ namespace QuantConnect.Algorithm.CSharp
|
||||
if (mappingEvent.NewSymbol != "FOXA"
|
||||
|| mappingEvent.OldSymbol != "NWSA")
|
||||
{
|
||||
throw new Exception($"Unexpected mapping event {mappingEvent}");
|
||||
throw new RegressionTestException($"Unexpected mapping event {mappingEvent}");
|
||||
}
|
||||
|
||||
_executionMapping = true;
|
||||
@@ -98,11 +98,11 @@ namespace QuantConnect.Algorithm.CSharp
|
||||
{
|
||||
if (_initialMapping)
|
||||
{
|
||||
throw new Exception("The ticker generated the initial rename event");
|
||||
throw new RegressionTestException("The ticker generated the initial rename event");
|
||||
}
|
||||
if (!_executionMapping)
|
||||
{
|
||||
throw new Exception("The ticker did not rename throughout the course of its life even though it should have");
|
||||
throw new RegressionTestException("The ticker did not rename throughout the course of its life even though it should have");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user