Update of /cvsroot/jcframework/Nunit/Interfaces
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6561/Nunit/Interfaces
Modified Files:
EmployeeInterfaceTests.vb ManyToManyTests.vb TimestampTests.vb
Log Message:
Add support for standard classes super classes.
Add new NUnit test to test standard classes super classes.
Index: EmployeeInterfaceTests.vb
===================================================================
RCS file: /cvsroot/jcframework/Nunit/Interfaces/EmployeeInterfaceTests.vb,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- EmployeeInterfaceTests.vb 6 Apr 2005 06:32:47 -0000 1.7
+++ EmployeeInterfaceTests.vb 10 Jul 2005 11:35:38 -0000 1.8
@@ -4,7 +4,7 @@
Namespace Interfaces
<TestFixture()> Public Class EmployeeInterfaceTests
- Private pbroker As CPersistenceBroker
+ Private pbroker As PersistenceBroker
Private emp As IEmployee
Private eventcount As Integer = 0
@@ -23,7 +23,7 @@
End Try
End While
System.IO.File.Copy(".\original db1.mdb", ".\db1.mdb")
- pbroker = New CPersistenceBroker
+ pbroker = New PersistenceBroker
pbroker.init()
End Sub
Index: ManyToManyTests.vb
===================================================================
RCS file: /cvsroot/jcframework/Nunit/Interfaces/ManyToManyTests.vb,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ManyToManyTests.vb 1 Apr 2005 00:00:10 -0000 1.3
+++ ManyToManyTests.vb 10 Jul 2005 11:35:38 -0000 1.4
@@ -4,7 +4,7 @@
Namespace Interfaces
<TestFixture()> Public Class ManyToManyTests
- Private pbroker As CPersistenceBroker
+ Private pbroker As PersistenceBroker
Private A As iM2MA
Private B As iM2MB
@@ -24,7 +24,7 @@
End Try
End While
System.IO.File.Copy(".\original db1.mdb", ".\db1.mdb")
- pbroker = New CPersistenceBroker
+ pbroker = New PersistenceBroker
pbroker.init()
End Sub
@@ -141,7 +141,7 @@
A.GUIDValue = Guid.NewGuid.ToString("N")
pbroker.PersistChanges(A)
s = "select * from ManyToManyAB where AGuidValue = """ & gvalA & """ and BGuidValue = """ & gvalB & """"
- Dim c As CCursor = pbroker.ProcessPureSQL(s, pbroker.getClassMap(GetType(NunitTests.Interfaces.iM2MA)).RelationalDatabase.getConnection(Nothing))
+ Dim c As ResultCursor = pbroker.ProcessPureSql(s, pbroker.GetClassMap(GetType(NunitTests.Interfaces.iM2MA)).RelationalDatabase.GetConnection())
Assert.AreEqual(0, c.ResultSet.ResultSet.Tables(0).Rows.Count)
End Sub
Index: TimestampTests.vb
===================================================================
RCS file: /cvsroot/jcframework/Nunit/Interfaces/TimestampTests.vb,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TimestampTests.vb 1 Apr 2005 00:00:10 -0000 1.1
+++ TimestampTests.vb 10 Jul 2005 11:35:38 -0000 1.2
@@ -4,7 +4,7 @@
Namespace Interfaces
<TestFixture()> Public Class TimestampTests
- Private pbroker As CPersistenceBroker
+ Private pbroker As PersistenceBroker
Private opt As IOptimistic
<TestFixtureSetUp()> Public Sub Init()
@@ -22,7 +22,7 @@
End Try
End While
System.IO.File.Copy(".\original db1.mdb", ".\db1.mdb")
- pbroker = New CPersistenceBroker
+ pbroker = New PersistenceBroker
pbroker.init()
End Sub
|