diff options
author | Justin Clarke Casey | 2009-02-20 14:36:53 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-20 14:36:53 +0000 |
commit | acf112ac40602fa1852f49a99fdafef5dfef0b78 (patch) | |
tree | df6503eb5ca6f466de23034c506a906409be9b7f /OpenSim/Data/NHibernate/Tests | |
parent | * Consistently lock part.TaskInventory as pointed out in http://opensimulator... (diff) | |
download | opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.zip opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.gz opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.bz2 opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.xz |
* Apply http://opensimulator.org/mantis/view.php?id=3195
* Access NHibernate Manager as read-only property rather than public field
* Thanks Tommil
Diffstat (limited to 'OpenSim/Data/NHibernate/Tests')
24 files changed, 24 insertions, 24 deletions
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlAssetTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlAssetTest.cs index 8296556..ace7e44 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlAssetTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlAssetTest.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
51 | 51 | ||
52 | db = new NHibernateAssetData(); | 52 | db = new NHibernateAssetData(); |
53 | db.Initialise(connect); | 53 | db.Initialise(connect); |
54 | database = ((NHibernateAssetData)db).manager; | 54 | database = ((NHibernateAssetData)db).Manager; |
55 | } | 55 | } |
56 | catch (Exception e) | 56 | catch (Exception e) |
57 | { | 57 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlEstateTest.cs index ac7343b..a44936b 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlEstateTest.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
51 | 51 | ||
52 | db = new NHibernateEstateData(); | 52 | db = new NHibernateEstateData(); |
53 | db.Initialise(connect); | 53 | db.Initialise(connect); |
54 | database = ((NHibernateEstateData)db).manager; | 54 | database = ((NHibernateEstateData)db).Manager; |
55 | } | 55 | } |
56 | catch (Exception e) | 56 | catch (Exception e) |
57 | { | 57 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlGridTest.cs index 9aa1ba8..bb62b6f 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlGridTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlGridTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateGridData(); | 51 | db = new NHibernateGridData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateGridData)db).manager; | 53 | database = ((NHibernateGridData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlInventoryTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlInventoryTest.cs index c3c2c93..6fc8abf 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlInventoryTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlInventoryTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateInventoryData(); | 51 | db = new NHibernateInventoryData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateInventoryData)db).manager; | 53 | database = ((NHibernateInventoryData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs index 5cf0a5b..4d0e64d 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlRegionTest.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
51 | { | 51 | { |
52 | db = new NHibernateRegionData(); | 52 | db = new NHibernateRegionData(); |
53 | db.Initialise(connect); | 53 | db.Initialise(connect); |
54 | database = ((NHibernateRegionData)db).manager; | 54 | database = ((NHibernateRegionData)db).Manager; |
55 | } | 55 | } |
56 | catch (Exception e) | 56 | catch (Exception e) |
57 | { | 57 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlUserTest.cs index 2b0da74..19fd248 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlUserTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMsSqlUserTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateUserData(); | 51 | db = new NHibernateUserData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateUserData)db).manager; | 53 | database = ((NHibernateUserData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLAssetTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLAssetTest.cs index 96194c6..8bec0d3 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLAssetTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLAssetTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateAssetData(); | 51 | db = new NHibernateAssetData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateAssetData)db).manager; | 53 | database = ((NHibernateAssetData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs index 60b197c..4c966f5 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLGridTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateGridData(); | 51 | db = new NHibernateGridData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateGridData)db).manager; | 53 | database = ((NHibernateGridData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLInventoryTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLInventoryTest.cs index 8415fdf..7f2ee4a 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLInventoryTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLInventoryTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateInventoryData(); | 51 | db = new NHibernateInventoryData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateInventoryData)db).manager; | 53 | database = ((NHibernateInventoryData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLRegionTest.cs index 89ab928..fa484a3 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLRegionTest.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
51 | { | 51 | { |
52 | db = new NHibernateRegionData(); | 52 | db = new NHibernateRegionData(); |
53 | db.Initialise(connect); | 53 | db.Initialise(connect); |
54 | database = ((NHibernateRegionData)db).manager; | 54 | database = ((NHibernateRegionData)db).Manager; |
55 | } | 55 | } |
56 | catch (Exception e) | 56 | catch (Exception e) |
57 | { | 57 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLUserTest.cs index a50df9b..c316bd4 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySQLUserTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySQLUserTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateUserData(); | 51 | db = new NHibernateUserData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateUserData)db).manager; | 53 | database = ((NHibernateUserData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateMySqlEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateMySqlEstateTest.cs index 7e199c7..939f1e9 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateMySqlEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateMySqlEstateTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateEstateData(); | 51 | db = new NHibernateEstateData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateEstateData)db).manager; | 53 | database = ((NHibernateEstateData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLAssetTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLAssetTest.cs index 33a36e6..6f86b0f 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLAssetTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLAssetTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateAssetData(); | 51 | db = new NHibernateAssetData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateAssetData)db).manager; | 53 | database = ((NHibernateAssetData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLEstateTest.cs index 6458c98..c0a76e7 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLEstateTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateEstateData(); | 51 | db = new NHibernateEstateData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateEstateData)db).manager; | 53 | database = ((NHibernateEstateData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLGridTest.cs index 93f1ee1..084de85 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLGridTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLGridTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateGridData(); | 51 | db = new NHibernateGridData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateGridData)db).manager; | 53 | database = ((NHibernateGridData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLInventoryTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLInventoryTest.cs index afad336..869d24f 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLInventoryTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLInventoryTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateInventoryData(); | 51 | db = new NHibernateInventoryData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateInventoryData)db).manager; | 53 | database = ((NHibernateInventoryData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLRegionTest.cs index 9967af7..0e4fc82 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLRegionTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateRegionData(); | 51 | db = new NHibernateRegionData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateRegionData)db).manager; | 53 | database = ((NHibernateRegionData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLUserTest.cs index 0edfdcb..ffcb176 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLUserTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernatePostgreSQLUserTest.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
50 | { | 50 | { |
51 | db = new NHibernateUserData(); | 51 | db = new NHibernateUserData(); |
52 | db.Initialise(connect); | 52 | db.Initialise(connect); |
53 | database = ((NHibernateUserData)db).manager; | 53 | database = ((NHibernateUserData)db).Manager; |
54 | } | 54 | } |
55 | catch (Exception e) | 55 | catch (Exception e) |
56 | { | 56 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteAssetTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteAssetTest.cs index cc4915b..1f98949 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteAssetTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteAssetTest.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
52 | 52 | ||
53 | db = new NHibernateAssetData(); | 53 | db = new NHibernateAssetData(); |
54 | db.Initialise(connect); | 54 | db.Initialise(connect); |
55 | database = ((NHibernateAssetData)db).manager; | 55 | database = ((NHibernateAssetData)db).Manager; |
56 | } | 56 | } |
57 | catch (Exception e) | 57 | catch (Exception e) |
58 | { | 58 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs index 88f85b0..b51bff2 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteEstateTest.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
52 | 52 | ||
53 | db = new NHibernateEstateData(); | 53 | db = new NHibernateEstateData(); |
54 | db.Initialise(connect); | 54 | db.Initialise(connect); |
55 | database = ((NHibernateEstateData)db).manager; | 55 | database = ((NHibernateEstateData)db).Manager; |
56 | } | 56 | } |
57 | catch (Exception e) | 57 | catch (Exception e) |
58 | { | 58 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs index a358b27..b9fe8b9 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteGridTest.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
51 | { | 51 | { |
52 | db = new NHibernateGridData(); | 52 | db = new NHibernateGridData(); |
53 | db.Initialise(connect); | 53 | db.Initialise(connect); |
54 | database = ((NHibernateGridData)db).manager; | 54 | database = ((NHibernateGridData)db).Manager; |
55 | } | 55 | } |
56 | catch (Exception e) | 56 | catch (Exception e) |
57 | { | 57 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteInventoryTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteInventoryTest.cs index 297a661..f31fc5b 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteInventoryTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteInventoryTest.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
52 | 52 | ||
53 | db = new NHibernateInventoryData(); | 53 | db = new NHibernateInventoryData(); |
54 | db.Initialise(connect); | 54 | db.Initialise(connect); |
55 | database = ((NHibernateInventoryData)db).manager; | 55 | database = ((NHibernateInventoryData)db).Manager; |
56 | } | 56 | } |
57 | catch (Exception e) | 57 | catch (Exception e) |
58 | { | 58 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteRegionTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteRegionTest.cs index f188736..d902dfd 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteRegionTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteRegionTest.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
52 | 52 | ||
53 | db = new NHibernateRegionData(); | 53 | db = new NHibernateRegionData(); |
54 | db.Initialise(connect); | 54 | db.Initialise(connect); |
55 | database = ((NHibernateRegionData)db).manager; | 55 | database = ((NHibernateRegionData)db).Manager; |
56 | } | 56 | } |
57 | catch (Exception e) | 57 | catch (Exception e) |
58 | { | 58 | { |
diff --git a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs index d94dac0..78ab00f 100644 --- a/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs +++ b/OpenSim/Data/NHibernate/Tests/NHibernateSQLiteUserTest.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Data.NHibernate.Tests | |||
52 | 52 | ||
53 | db = new NHibernateUserData(); | 53 | db = new NHibernateUserData(); |
54 | db.Initialise(connect); | 54 | db.Initialise(connect); |
55 | database = ((NHibernateUserData)db).manager; | 55 | database = ((NHibernateUserData)db).Manager; |
56 | } | 56 | } |
57 | catch (Exception e) | 57 | catch (Exception e) |
58 | { | 58 | { |