]> git.parisson.com Git - telemeta.git/commitdiff
cleanup
authoryomguy <yomguy@parisson.com>
Mon, 28 Feb 2011 17:23:47 +0000 (18:23 +0100)
committeryomguy <yomguy@parisson.com>
Mon, 28 Feb 2011 17:23:47 +0000 (18:23 +0100)
tests/export_test.py [deleted file]
tests/samples/wav/sweep.wav [deleted file]
tests/vamp_test.py [deleted file]

diff --git a/tests/export_test.py b/tests/export_test.py
deleted file mode 100644 (file)
index 53e48c4..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2007 Parisson SARL
-# Copyright (c) 2006-2007 Guillaume Pellerin <pellerin@parisson.com>
-# All rights reserved.
-#
-# This software is licensed as described in the file COPYING, which
-# you should have received as part of this distribution. The terms
-# are also available at http://svn.parisson.org/telemeta/TelemetaLicense.
-#
-# Author: Guillaume Pellerin <pellerin@parisson.com>
-
-import os
-
-from telemeta.export import *
-from telemeta.core import *
-from telemeta.core import ComponentManager
-
-cache_dir = 'cache/'
-source = 'samples/wav/sweep.wav'
-item_id = '10'
-metadata = {'identifier': 'Test',  #collection
-         'title': 'Sweep',
-         'creator': 'YomGuy',
-         'type': 'Techno',
-         'date': '2008',
-         'publisher': 'Parisson',
-         }
-options = {'verbose': '1'}
-
-class ExportTest(Component):
-    
-    exporters = ExtensionPoint(IExporter)
-
-    def run(self):
-        for exporter in self.exporters:
-            format = exporter.get_format()
-            if options['verbose'] != '0':
-                print "\n+------------------------------------------"
-                print '| Testing exporter format: ' + format
-                print "+------------------------------------------"
-            exporter.set_cache_dir(cache_dir)
-            stream = exporter.process(item_id,source,metadata,options)
-
-            for chunk in stream:
-                pass
-                #print chunk
-            
-compmgr = ComponentManager()
-test = ExportTest(compmgr)
-test.run()
-
diff --git a/tests/samples/wav/sweep.wav b/tests/samples/wav/sweep.wav
deleted file mode 100644 (file)
index 9c2febe..0000000
Binary files a/tests/samples/wav/sweep.wav and /dev/null differ
diff --git a/tests/vamp_test.py b/tests/vamp_test.py
deleted file mode 100644 (file)
index c997425..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-from telemeta.analysis.vamp.core import *
-a = VampCoreAnalyzer()
-print a.get_plugins_list()
-print a.render(['qm-vamp-plugins', 'qm-tempotracker', 'beats'],'/home/momo/dev/telemeta/telemeta/tests/samples/wav/Cellar-ShowMe-02.wav')
-