Author: gbayon
Date: Mon Aug 29 00:20:10 2005
New Revision: 264093
URL: http://svn.apache.org/viewcvs?rev=264093&view=rev
Log:
- Updated nunit SQL script
Modified:
ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs
ibatis/trunk/cs/mapper/IBatisNet.Common.Test/Scripts/MSSQL/account-init.sql
Modified:
ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs
URL:
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs?rev=264093&r1=264092&r2=264093&view=diff
==============================================================================
---
ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs
(original)
+++
ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Transaction/BaseTest.cs
Mon Aug 29 00:20:10 2005
@@ -17,7 +17,7 @@
using IBatisNet.Common.Test.Domain;
-[assembly:log4net.Config.DOMConfigurator(Watch=true)]
+[assembly:log4net.Config.XmlConfigurator(Watch=true)]
namespace IBatisNet.Common.Test.NUnit.CommonTests.Transaction
{
Modified:
ibatis/trunk/cs/mapper/IBatisNet.Common.Test/Scripts/MSSQL/account-init.sql
URL:
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common.Test/Scripts/MSSQL/account-init.sql?rev=264093&r1=264092&r2=264093&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common.Test/Scripts/MSSQL/account-init.sql
(original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common.Test/Scripts/MSSQL/account-init.sql
Mon Aug 29 00:20:10 2005
@@ -14,7 +14,9 @@
[Account_ID] [int] NOT NULL ,
[Account_FirstName] [varchar] (32) NOT NULL ,
[Account_LastName] [varchar] (32) NOT NULL ,
- [Account_Email] [varchar] (128) NULL
+ [Account_Email] [varchar] (128) NULL,
+ [Account_Banner_Option] [varchar] (255),
+ [Account_Cart_Option] [int]
) ON [PRIMARY]
ALTER TABLE [dbo].[Accounts] WITH NOCHECK ADD
@@ -25,18 +27,19 @@
-- Creating Test Data
-INSERT INTO [dbo].[Accounts] VALUES(1,'Joe', 'Dalton', '[EMAIL PROTECTED]');
-INSERT INTO [dbo].[Accounts] VALUES(2,'Averel', 'Dalton', '[EMAIL PROTECTED]');
-INSERT INTO [dbo].[Accounts] VALUES(3,'William', 'Dalton', null);
-INSERT INTO [dbo].[Accounts] VALUES(4,'Jack', 'Dalton', '[EMAIL PROTECTED]');
-INSERT INTO [dbo].[Accounts] VALUES(5,'Gilles', 'Bayon', null);
+INSERT INTO [dbo].[Accounts] VALUES(1,'Joe', 'Dalton', '[EMAIL PROTECTED]',
'Oui', 200);
+INSERT INTO [dbo].[Accounts] VALUES(2,'Averel', 'Dalton', '[EMAIL PROTECTED]',
'Oui', 200);
+INSERT INTO [dbo].[Accounts] VALUES(3,'William', 'Dalton', null, 'Non', 100);
+INSERT INTO [dbo].[Accounts] VALUES(4,'Jack', 'Dalton', '[EMAIL PROTECTED]',
'Non', 100);
+INSERT INTO [dbo].[Accounts] VALUES(5,'Gilles', 'Bayon', null, 'Oui', 100);
-- Store procedure
-if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[sp_InsertAccount]') and OBJECTPROPERTY(id, N'IsProcedure') =
1)
-drop procedure [dbo].[sp_InsertAccount]
-
-if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[ps_swap_email_address]') and OBJECTPROPERTY(id,
N'IsProcedure') = 1)
-drop procedure [dbo].[ps_swap_email_address]
+if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[ps_InsertAccount]') and OBJECTPROPERTY(id, N'IsProcedure') =
1)
+drop procedure [dbo].[ps_InsertAccount]
+if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[ps_SelectAccount]') and OBJECTPROPERTY(id, N'IsProcedure') =
1)
+drop procedure [dbo].[ps_SelectAccount]
+if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[ps_swap_email_address]') and OBJECTPROPERTY(id,
N'IsProcedure') = 1)
+drop procedure [dbo].[ps_swap_email_address]
\ No newline at end of file