• Home
  • Raw
  • Download

Lines Matching refs:programs

90 def assert_info (programs, filename, arg, value):  argument
91 output = programs.meta_get (False, "%s %s" % (arg, filename))
99 def test_empty_fail (programs): argument
101 output = programs.meta_set (True, "--bext-description Alpha sine.wav")
104 def test_copy (programs): argument
106 output = programs.meta_set (False, "--bext-description \"First Try\" sine.wav output.wav")
107 assert_info (programs, "output.wav", "--bext-description", "First Try")
110 def test_update (programs, tests): argument
113 output = programs.meta_set (False, "%s \"%s\" output.wav" % (arg, value))
114 assert_info (programs, "output.wav", arg, value)
117 def test_post_mod (programs, tests): argument
120 assert_info (programs, "output.wav", arg, value)
123 def test_auto_date (programs): argument
125 output = programs.meta_set (False, "--bext-auto-time-date sine.wav date-time.wav")
127 assert_info (programs, "date-time.wav", "--bext-orig-date", target)
133 def test_coding_history (programs): argument
135 output = programs.meta_set (False, "--bext-coding-hist \"alpha beta\" output.wav")
136 output = programs.meta_get (False, "--bext-coding-hist output.wav")
141 def test_rewrite (programs): argument
143 … output = programs.meta_set (False, "--bext-originator \"Really, really long string\" output.wav")
144 output = programs.meta_set (False, "--bext-originator \"Short\" output.wav")
145 output = programs.meta_get (False, "--bext-originator output.wav")
165 programs = Programs (needs_exe) variable
167 programs.check_executables ()
169 programs.make_sine ()
174 test_empty_fail (programs)
175 test_copy (programs)
183 test_auto_date (programs)
184 test_update (programs, tests)
185 test_post_mod (programs, tests)
187 test_update (programs, [ ("--str-artist", "Fox") ])
192 test_rewrite (programs)