From: Choy R. <ch...@us...> - 2005-02-12 08:54:06
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework.Tests/Data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12378/DotNetMock.Framework.Tests/Data Modified Files: MockDataParameterTests.cs MockTransactionTests.cs Log Message: Get rid of some warnings from VS.NET build. Index: MockTransactionTests.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework.Tests/Data/MockTransactionTests.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MockTransactionTests.cs 9 Oct 2004 21:14:12 -0000 1.5 --- MockTransactionTests.cs 12 Feb 2005 08:53:57 -0000 1.6 *************** *** 46,50 **** Assertion.Fail( "Should throw exception "); } ! catch ( InvalidOperationException invalidOp ) { --- 46,50 ---- Assertion.Fail( "Should throw exception "); } ! catch ( InvalidOperationException ) { *************** *** 62,66 **** Assertion.Fail( "Should throw an exception." ); } ! catch ( AssertionException assertionEx ) { --- 62,66 ---- Assertion.Fail( "Should throw an exception." ); } ! catch ( AssertionException ) { *************** *** 86,90 **** Assertion.Fail( "Should throw an exception" ); } ! catch ( InvalidOperationException invalidOp ) { --- 86,90 ---- Assertion.Fail( "Should throw an exception" ); } ! catch ( InvalidOperationException ) { *************** *** 103,107 **** Assertion.Fail( "SHould throw an exception" ); } ! catch ( InvalidOperationException invalidOp ) { --- 103,107 ---- Assertion.Fail( "SHould throw an exception" ); } ! catch ( InvalidOperationException ) { *************** *** 120,124 **** Assertion.Fail( "Should throw an exception" ); } ! catch ( AssertionException exception ) { --- 120,124 ---- Assertion.Fail( "Should throw an exception" ); } ! catch ( AssertionException ) { Index: MockDataParameterTests.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework.Tests/Data/MockDataParameterTests.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** MockDataParameterTests.cs 9 Oct 2004 21:14:12 -0000 1.9 --- MockDataParameterTests.cs 12 Feb 2005 08:53:57 -0000 1.10 *************** *** 103,107 **** Assertion.Fail("Should have thrown an exception."); } ! catch (AssertionException ex) { } --- 103,107 ---- Assertion.Fail("Should have thrown an exception."); } ! catch (AssertionException) { } *************** *** 113,117 **** Assertion.Fail("Should have thrown an exception."); } ! catch (AssertionException ex) { --- 113,117 ---- Assertion.Fail("Should have thrown an exception."); } ! catch (AssertionException) { |