( self )
| 566 | self.assertTrue( m.isEmpty() ) |
| 567 | |
| 568 | def testIsEmpty( self ) : |
| 569 | |
| 570 | m = IECore.PathMatcher( [] ) |
| 571 | self.assertTrue( m.isEmpty() ) |
| 572 | |
| 573 | m.addPath( "/a" ) |
| 574 | self.assertFalse( m.isEmpty() ) |
| 575 | |
| 576 | m.removePath( "/a" ) |
| 577 | self.assertTrue( m.isEmpty() ) |
| 578 | |
| 579 | m.addPath( "/..." ) |
| 580 | self.assertFalse( m.isEmpty() ) |
| 581 | |
| 582 | m.removePath( "/..." ) |
| 583 | self.assertTrue( m.isEmpty() ) |
| 584 | |
| 585 | m.addPath( "/" ) |
| 586 | self.assertFalse( m.isEmpty() ) |
| 587 | |
| 588 | m.removePath( "/" ) |
| 589 | self.assertTrue( m.isEmpty() ) |
| 590 | |
| 591 | def testAddPaths( self ) : |
| 592 |
nothing calls this directly
no test coverage detected