#NEWLINE# def test_create_update_build_xml_update( self ) : #NEWLINE# #INDENT# ( build_environment , manifest , buildxml_filename ) = self . _create_update_build_xml_setup ( ) #NEWLINE# os . path . exists = ( lambda unused_filename : True ) #NEWLINE# os . path . getmtime = ( lambda filename : { #NEWLINE# #INDENT# manifest . path : 10 , #NEWLINE# buildxml_filename : 5 , #NEWLINE# #UNINDENT# } [ filename ] ) #NEWLINE# run_command_mock = common_test . RunCommandMock ( self ) #NEWLINE# run_command_mock . expect ( [ os . path . join ( 'sdk_path' , 'tools' , 'android' ) , 'update' , 'project' , '--path' , build_environment . get_project_directory ( ) , '--target' , 10 , '--name' , 'libfplutil_test' ] ) #NEWLINE# build_environment . run_subprocess = run_command_mock #NEWLINE# build_environment . ndk_home = 'ndk_path' #NEWLINE# build_environment . sdk_home = 'sdk_path' #NEWLINE# buildxml = build_environment . create_update_build_xml ( manifest ) #NEWLINE# self . assertEqual ( 'libfplutil_test' , self . project_name )