@@ -296,7 +296,7 @@ public void Compare()
296
296
differences . Tables [ 0 ] . Source . Indexes [ 0 ] . Columns [ 0 ] . Position . Should ( ) . Be ( 1 ) ;
297
297
differences . Tables [ 0 ] . Source . Indexes [ 0 ] . Columns [ 1 ] . Name . Should ( ) . Be ( "Type" ) ;
298
298
differences . Tables [ 0 ] . Source . Indexes [ 0 ] . Columns [ 1 ] . Position . Should ( ) . Be ( 2 ) ;
299
- differences . Tables [ 0 ] . Source . Indexes [ 0 ] . Filter . Should ( ) . BeNull ( ) ;
299
+ differences . Tables [ 0 ] . Source . Indexes [ 0 ] . Filter . Should ( ) . Be ( "([Type]=(1234))" ) ;
300
300
differences . Tables [ 0 ] . Source . Indexes [ 0 ] . IncludedColumns . Should ( ) . HaveCount ( 0 ) ;
301
301
differences . Tables [ 0 ] . Source . Indexes [ 0 ] . IsUnique . Should ( ) . BeFalse ( ) ;
302
302
differences . Tables [ 0 ] . Source . Indexes [ 0 ] . Name . Should ( ) . Be ( "IndexDifference" ) ;
@@ -318,7 +318,7 @@ public void Compare()
318
318
differences . Tables [ 0 ] . Target . Indexes [ 0 ] . Columns [ 0 ] . Position . Should ( ) . Be ( 1 ) ;
319
319
differences . Tables [ 0 ] . Target . Indexes [ 0 ] . Columns [ 1 ] . Name . Should ( ) . Be ( "ForeignKeyId" ) ;
320
320
differences . Tables [ 0 ] . Target . Indexes [ 0 ] . Columns [ 1 ] . Position . Should ( ) . Be ( 2 ) ;
321
- differences . Tables [ 0 ] . Target . Indexes [ 0 ] . Filter . Should ( ) . BeNull ( ) ;
321
+ differences . Tables [ 0 ] . Target . Indexes [ 0 ] . Filter . Should ( ) . Be ( "([Type]='Target')" ) ;
322
322
differences . Tables [ 0 ] . Target . Indexes [ 0 ] . IncludedColumns . Should ( ) . HaveCount ( 0 ) ;
323
323
differences . Tables [ 0 ] . Target . Indexes [ 0 ] . IsUnique . Should ( ) . BeFalse ( ) ;
324
324
differences . Tables [ 0 ] . Target . Indexes [ 0 ] . Name . Should ( ) . Be ( "IndexDifference" ) ;
@@ -336,7 +336,10 @@ public void Compare()
336
336
337
337
differences . Tables [ 0 ] . Indexes . Should ( ) . HaveCount ( 2 ) ;
338
338
339
- differences . Tables [ 0 ] . Indexes [ 0 ] . Properties . Should ( ) . HaveCount ( 0 ) ;
339
+ differences . Tables [ 0 ] . Indexes [ 0 ] . Properties . Should ( ) . HaveCount ( 1 ) ;
340
+ differences . Tables [ 0 ] . Indexes [ 0 ] . Properties [ 0 ] . Name . Should ( ) . Be ( "Filter" ) ;
341
+ differences . Tables [ 0 ] . Indexes [ 0 ] . Properties [ 0 ] . Source . Should ( ) . Be ( "([Type]=(1234))" ) ;
342
+ differences . Tables [ 0 ] . Indexes [ 0 ] . Properties [ 0 ] . Target . Should ( ) . Be ( "([Type]='Target')" ) ;
340
343
differences . Tables [ 0 ] . Indexes [ 0 ] . Source . Should ( ) . BeSameAs ( differences . Tables [ 0 ] . Source . Indexes [ 0 ] ) ;
341
344
differences . Tables [ 0 ] . Indexes [ 0 ] . Target . Should ( ) . BeSameAs ( differences . Tables [ 0 ] . Target . Indexes [ 0 ] ) ;
342
345
differences . Tables [ 0 ] . Indexes [ 0 ] . Type . Should ( ) . Be ( SqlObjectDifferenceType . Different ) ;
@@ -460,7 +463,7 @@ public void Compare()
460
463
differences . Tables [ 1 ] . Target . Indexes [ 0 ] . Columns . Should ( ) . HaveCount ( 1 ) ;
461
464
differences . Tables [ 1 ] . Target . Indexes [ 0 ] . Columns [ 0 ] . Name . Should ( ) . Be ( "TargetName" ) ;
462
465
differences . Tables [ 1 ] . Target . Indexes [ 0 ] . Columns [ 0 ] . Position . Should ( ) . Be ( 1 ) ;
463
- differences . Tables [ 1 ] . Target . Indexes [ 0 ] . Filter . Should ( ) . BeNull ( ) ;
466
+ differences . Tables [ 1 ] . Target . Indexes [ 0 ] . Filter . Should ( ) . Be ( "([TargetName]='')" ) ;
464
467
differences . Tables [ 1 ] . Target . Indexes [ 0 ] . IncludedColumns . Should ( ) . HaveCount ( 0 ) ;
465
468
differences . Tables [ 1 ] . Target . Indexes [ 0 ] . IsUnique . Should ( ) . BeFalse ( ) ;
466
469
differences . Tables [ 1 ] . Target . Indexes [ 0 ] . Name . Should ( ) . Be ( "IndexTarget" ) ;
@@ -510,7 +513,7 @@ public void Compare()
510
513
differences . Tables [ 2 ] . Source . Indexes [ 0 ] . Columns . Should ( ) . HaveCount ( 1 ) ;
511
514
differences . Tables [ 2 ] . Source . Indexes [ 0 ] . Columns [ 0 ] . Name . Should ( ) . Be ( "SourceName" ) ;
512
515
differences . Tables [ 2 ] . Source . Indexes [ 0 ] . Columns [ 0 ] . Position . Should ( ) . Be ( 1 ) ;
513
- differences . Tables [ 2 ] . Source . Indexes [ 0 ] . Filter . Should ( ) . BeNull ( ) ;
516
+ differences . Tables [ 2 ] . Source . Indexes [ 0 ] . Filter . Should ( ) . Be ( "([SourceName]='')" ) ;
514
517
differences . Tables [ 2 ] . Source . Indexes [ 0 ] . IncludedColumns . Should ( ) . HaveCount ( 0 ) ;
515
518
differences . Tables [ 2 ] . Source . Indexes [ 0 ] . IsUnique . Should ( ) . BeFalse ( ) ;
516
519
differences . Tables [ 2 ] . Source . Indexes [ 0 ] . Name . Should ( ) . Be ( "IndexSource" ) ;
0 commit comments