Remove the remote tests, mosts of which fail now.
+++ /dev/null
-#
-# Copyright Michael Orlitzky
-#
-# http://michael.orlitzky.com/
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# http://www.fsf.org/licensing/licenses/gpl.html
-#
-
-require 'test/unit'
-require 'src/websites/fuckedtube'
-
-
-class FuckedtubeRemoteTest < Test::Unit::TestCase
-
- def test_get_video_filename_works_on_good_urls
- ft = Fuckedtube.new('http://www.fuckedtube.com/video/161/Pumped-Pussy/')
- expected_filename = 'br_pumpedpussy.flv'
- actual_filename = ft.get_video_filename()
- assert_equal(expected_filename, actual_filename)
- end
-
-end
+++ /dev/null
-#
-# Copyright Michael Orlitzky
-#
-# http://michael.orlitzky.com/
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# http://www.fsf.org/licensing/licenses/gpl.html
-#
-
-require 'test/unit'
-require 'src/websites/infoq'
-
-# Remote Infoq tests. Actually hit their website
-# and attempt to parse the data returned.
-
-class InfoqRemoteTest < Test::Unit::TestCase
-
- def test_get_page_data
- iq = Infoq.new('http://www.infoq.com/interviews/jim-weirich-discusses-rake')
- expected_result = 'http://flv.thruhere.net/interviews/JimWeirich.flv'
- actual_result = iq.get_video_url()
- assert_equal(expected_result, actual_result)
- end
-
-
- def test_superclass_get_filename_works
- iq = Infoq.new('http://www.infoq.com/interviews/jim-weirich-discusses-rake')
- expected_result = 'JimWeirich.flv'
- actual_result = iq.get_video_filename()
- assert_equal(expected_result, actual_result)
- end
-
-end
+++ /dev/null
-#
-# Copyright Michael Orlitzky
-#
-# http://michael.orlitzky.com/
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# http://www.fsf.org/licensing/licenses/gpl.html
-#
-
-require 'test/unit'
-require 'src/websites/redtube'
-
-
-class RedtubeRemoteTest < Test::Unit::TestCase
-
- # This is a remote test because the default get_video_filename()
- # relies on the video URL. Of course, we don't know the video URL
- # unless we download and parse the page.
- def test_get_video_filename
- rt = Redtube.new('http://www.redtube.com/6807')
- expected_result = 'X57OBH08G.flv'
- actual_result = rt.get_video_filename()
- assert_equal(expected_result, actual_result)
- end
-
-end
+++ /dev/null
-#
-# Copyright Michael Orlitzky
-#
-# http://michael.orlitzky.com/
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# http://www.fsf.org/licensing/licenses/gpl.html
-#
-
-require 'test/fuckedtube_remote_test'
-require 'test/infoq_remote_test'
-require 'test/redtube_remote_test'
-require 'test/uri_utilities_remote_test'
-require 'test/youporn_remote_test'
+++ /dev/null
-#
-# Copyright Michael Orlitzky
-#
-# http://michael.orlitzky.com/
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# http://www.fsf.org/licensing/licenses/gpl.html
-#
-
-require 'bin/configuration'
-require 'test/bliptv_test'
-require 'test/dailymotion_test'
-require 'test/efukt_test'
-require 'test/fuckedtube_test'
-require 'test/howcast_test'
-require 'test/infoq_test'
-require 'test/megaporn_test'
-require 'test/motherless_test'
-require 'test/redtube_test'
-require 'test/tnaflix_test'
-require 'test/uri_utilities_test'
-require 'test/veoh_test'
-require 'test/vimeo_test'
-require 'test/website_test'
-require 'test/yikers_test'
-require 'test/youporn_test'
-require 'test/youtube_test'
-
-# Vendor tests
-require 'vendor/ruby-progressbar/test'
+++ /dev/null
-#
-# Copyright Michael Orlitzky
-#
-# http://michael.orlitzky.com/
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# http://www.fsf.org/licensing/licenses/gpl.html
-#
-
-require 'test/unit'
-require 'src/uri_utilities.rb'
-
-class UriUtilitiesTest < Test::Unit::TestCase
-
- # Test that we get a 404 error for a nonexistent page.
- def test_404_on_nonexistent_page
- uu = UriUtilities.new()
-
- # *Hopefully* this connection is refused.
- example_uri = 'http://www.example.com/test-nonexistent-page.html'
- uri = URI.parse(example_uri)
-
- assert_raise OpenURI::HTTPError do
- uu.download_with_progress_bar(uri, 'dummy.tmp')
- end
-
- # This should be gone since there was an HTTP error.
- assert(!File.exists?('dummy.tmp'))
- end
-
-end
+++ /dev/null
-#
-# Copyright Michael Orlitzky
-#
-# http://michael.orlitzky.com/
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# http://www.fsf.org/licensing/licenses/gpl.html
-#
-
-require 'test/unit'
-require 'src/websites/youporn'
-
-# Remote Youporn tests. Actually hit their website
-# and attempt to parse the data returned.
-
-class YoupornRemoteTest < Test::Unit::TestCase
-
- def test_get_page_data
- yp = Youporn.new('http://www.youporn.com/watch/65778')
- expected_result = 'http://download.youporn.com/download/112911/flv/65778_moaning_mom_fucked_at_night.flv'
- actual_result = yp.get_video_url()
- assert_equal(expected_result, actual_result)
- end
-
-end