* morituri/image/cue.py:

* morituri/image/image.py:
	* morituri/image/table.py:
	* morituri/image/toc.py:
	* morituri/program/cdrdao.py:
	* morituri/test/test_image_cue.py:
	* morituri/test/test_image_table.py:
	  Rename ITTrack to Track.
This commit is contained in:
Thomas Vander Stichele
2009-05-16 09:29:01 +00:00
parent df2182724d
commit 09fe46ee99
8 changed files with 26 additions and 15 deletions

View File

@@ -57,11 +57,11 @@ class WriteCueFileTestCase(unittest.TestCase):
it = table.IndexTable()
t = table.ITTrack(1)
t = table.Track(1)
t.index(1, path='track01.wav', relative=0, counter=1)
it.tracks.append(t)
t = table.ITTrack(2)
t = table.Track(2)
t.index(0, path='track01.wav', relative=1000, counter=1)
t.index(1, path='track02.wav', relative=0, counter=2)
it.tracks.append(t)

View File

@@ -21,8 +21,8 @@ class LadyhawkeTestCase(unittest.TestCase):
self.table = table.IndexTable()
for i in range(12):
self.table.tracks.append(table.ITTrack(i + 1, audio=True))
self.table.tracks.append(table.ITTrack(13, audio=False))
self.table.tracks.append(table.Track(i + 1, audio=True))
self.table.tracks.append(table.Track(13, audio=False))
offsets = [0, 15537, 31691, 50866, 66466, 81202, 99409,
115920, 133093, 149847, 161560, 177682, 207106]
@@ -56,7 +56,7 @@ class MusicBrainzTestCase(unittest.TestCase):
self.table = table.IndexTable()
for i in range(6):
self.table.tracks.append(table.ITTrack(i + 1, audio=True))
self.table.tracks.append(table.Track(i + 1, audio=True))
offsets = [0, 15213, 32164, 46442, 63264, 80339]
t = self.table.tracks