if (!_isMachineLeanringTrainSupported)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "MachineLearning Train feature is not supported.");
+ Assert.Pass("MachineLearning Train feature is not supported.");
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
Assert.Pass(e.ToString());
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
-
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
-
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
layer.Dispose();
if (!_isMachineLeanringTrainSupported)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "MachineLearning Train feature is not supported.");
+ Assert.Pass("MachineLearning Train feature is not supported.");
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
-
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
Assert.Pass(e.ToString());
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
Assert.Pass(e.ToString());
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.ERROR, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.ERROR, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch(Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
Assert.Pass(e.ToString());
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
Assert.Pass(e.ToString());
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- model.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ model.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else if (e is ArgumentException)
+ if (e is ArgumentException)
{
LogUtils.Write(LogUtils.DEBUG, TAG, "ArgumentException occurs");
model.Dispose();
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- saveModel.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ saveModel.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- saveModel.Dispose();
- loadModel.Dispose();
- Assert.Fail(e.ToString());
- }
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ saveModel.Dispose();
+ loadModel.Dispose();
+ Assert.Fail(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- saveModel.Dispose();
- Assert.Pass(e.ToString());
- }
- Assert.Fail("Should be occured exception");
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ saveModel.Dispose();
+ Assert.Pass(e.ToString());
}
}
}
catch (Exception e)
{
- if (e is NotSupportedException)
- {
- LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
- Assert.IsTrue(_isMachineLeanringTrainSupported == false, "Invalid NotSupportedException");
- }
- else
- {
- LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
- saveModel.Dispose();
- loadModel.Dispose();
- Assert.Pass(e.ToString());
- }
- Assert.Fail("Should be occured exception");
+ LogUtils.Write(LogUtils.DEBUG, TAG, "Exception occurs");
+ saveModel.Dispose();
+ loadModel.Dispose();
+ Assert.Pass(e.ToString());
}
}
}