@disabled('ResourceFile is not available anymore')
def test_ip_hosting_resource_file():
 rf_list = [IronPython.Hosting.ResourceFile('name0', 'file0'), IronPython.Hosting.ResourceFile('name1', 'file1', False)]
 rf_list[0].PublicResource = False
 for i in xrange(len(rf_list)):
  AreEqual(rf_list[i].Name, ('name' + str(i)))
  rf_list[i].Name = 'name'
  AreEqual(rf_list[i].Name, 'name')
  AreEqual(rf_list[i].File, ('file' + str(i)))
  rf_list[i].File = 'file'
  AreEqual(rf_list[i].File, 'file')
  AreEqual(rf_list[i].PublicResource, False)
  rf_list[i].PublicResource = True
  AreEqual(rf_list[i].PublicResource, True)

@ disabled ( 'ResourceFile is not available anymore' ) def test_ip_hosting_resource_file ( ) : rf_list = [ IronPython . Hosting . ResourceFile ( 'name0' , 'file0' ) , IronPython . Hosting . ResourceFile ( 'name1' , 'file1' , False ) ] rf_list [ 0 ] . PublicResource = False for i in xrange ( len ( rf_list ) ) : AreEqual ( rf_list [ i ] . Name , ( 'name' + str ( i ) ) ) rf_list [ i ] . Name = 'name' AreEqual ( rf_list [ i ] . Name , 'name' ) AreEqual ( rf_list [ i ] . File , ( 'file' + str ( i ) ) ) rf_list [ i ] . File = 'file' AreEqual ( rf_list [ i ] . File , 'file' ) AreEqual ( rf_list [ i ] . PublicResource , False ) rf_list [ i ] . PublicResource = True AreEqual ( rf_list [ i ] . PublicResource , True )
test to hit ironpython .