@@ -24,7 +24,7 @@ public class ClassBridgeTest : SearchTestCase
24
24
{
25
25
protected override IEnumerable < string > Mappings
26
26
{
27
- get { return new string [ ] { "Bridge.Department.hbm.xml" , "Bridge.Departments.hbm.xml" } ; }
27
+ get { return new string [ ] { "Bridge.Department.hbm.xml" , "Bridge.Departments.hbm.xml" } ; }
28
28
}
29
29
30
30
#region Tests
@@ -210,7 +210,7 @@ public void ClassBridgesWithProjection()
210
210
// Note: This assertion fails when run with other tests because the id is assigned by the database, and previous tests have already used this value
211
211
//Assert.AreEqual(1, ((Departments)projection[0]).Id, "id incorrect");
212
212
Assert . IsTrue ( projection [ 1 ] is Document , "DOCUMENT incorrect" ) ;
213
- Assert . AreEqual ( 8 , ( ( Document ) projection [ 1 ] ) . Fields . Count , "DOCUMENT size incorrect" ) ;
213
+ Assert . AreEqual ( 8 , ( ( Document ) projection [ 1 ] ) . Fields . Count , "DOCUMENT size incorrect" ) ;
214
214
Assert . IsNotNull ( ( ( Document ) projection [ 1 ] ) . GetField ( "equiptype" ) , "equiptype is null" ) ;
215
215
Assert . AreEqual (
216
216
"Cisco" , ( ( Document ) projection [ 1 ] ) . GetField ( "equiptype" ) . GetStringValue ( ) , "equiptype incorrect" ) ;
@@ -227,7 +227,7 @@ public void ClassBridgesWithProjection()
227
227
// NB This assertion causes the test to break when run with other tests - some leakage?
228
228
//Assert.AreEqual(4, ((Departments)projection[0]).Id, "id incorrect");
229
229
Assert . IsTrue ( projection [ 1 ] is Document , "DOCUMENT incorrect" ) ;
230
- Assert . AreEqual ( 8 , ( ( Document ) projection [ 1 ] ) . Fields . Count , "DOCUMENT size incorrect" ) ;
230
+ Assert . AreEqual ( 8 , ( ( Document ) projection [ 1 ] ) . Fields . Count , "DOCUMENT size incorrect" ) ;
231
231
Assert . IsNotNull ( ( ( Document ) projection [ 1 ] ) . GetField ( "equiptype" ) , "equiptype is null" ) ;
232
232
Assert . AreEqual (
233
233
"Cisco" , ( ( Document ) projection [ 1 ] ) . GetField ( "equiptype" ) . GetStringValue ( ) , "equiptype incorrect" ) ;
0 commit comments