Home | History | Annotate | Download | only in tests

Lines Matching refs:format

28     print "copy {}Fragment to {}SupportFragment".format(w, w)
30 file = open('src/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r')
31 outfile = open('src/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'w')
33 outfile.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format(w))
37 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w))
47 print "copy {}FrgamentTest to {}SupportFragmentTest".format(w, w)
49 file = open('src/android/support/v17/leanback/app/{}FragmentTest.java'.format(w), 'r')
50 outfile = open('src/android/support/v17/leanback/app/{}SupportFragmentTest.java'.format(w), 'w')
52 outfile.write("/* This file is auto-generated from {}FrgamentTest.java. DO NOT MODIFY. */\n\n".format(w))
56 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w))
58 line = line.replace('{}FragmentTest'.format(w), '{}SupportFragmentTest'.format(w))
59 line = line.replace('{}FragmentTestActivity'.format(w), '{}SupportFragmentTestActivity'.format(w))
60 line = line.replace('{}TestFragment'.format(w), '{}TestSupportFragment'.format(w))