From e5faaeca4a0c8f3343d409fe6de33ebb0ff856b7 Mon Sep 17 00:00:00 2001 From: RobertTheGrey Date: Sat, 29 Jan 2011 12:46:08 +0000 Subject: [PATCH] Fixed unit tests broken by adding BatchCompilerException --- src/Spark.Tests/Compiler/CSharpViewCompilerTester.cs | 2 +- src/Spark.Tests/Compiler/VisualBasicViewCompilerTester.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Spark.Tests/Compiler/CSharpViewCompilerTester.cs b/src/Spark.Tests/Compiler/CSharpViewCompilerTester.cs index 4b9e99d0..d298bd04 100644 --- a/src/Spark.Tests/Compiler/CSharpViewCompilerTester.cs +++ b/src/Spark.Tests/Compiler/CSharpViewCompilerTester.cs @@ -148,7 +148,7 @@ public void TargetNamespace() } - [Test, ExpectedException(typeof(CompilerException))] + [Test, ExpectedException(typeof(BatchCompilerException))] public void ProvideFullException() { var compiler = new CSharpViewCompiler { BaseClass = "Spark.SparkViewBase" }; diff --git a/src/Spark.Tests/Compiler/VisualBasicViewCompilerTester.cs b/src/Spark.Tests/Compiler/VisualBasicViewCompilerTester.cs index 3f367f3b..f16ae0dd 100644 --- a/src/Spark.Tests/Compiler/VisualBasicViewCompilerTester.cs +++ b/src/Spark.Tests/Compiler/VisualBasicViewCompilerTester.cs @@ -237,7 +237,7 @@ public void TargetNamespace() } - [Test, ExpectedException(typeof(CompilerException))] + [Test, ExpectedException(typeof(BatchCompilerException))] public void ProvideFullException() { var compiler = new VisualBasicViewCompiler { BaseClass = "Spark.AbstractSparkView" };