Sha256: fe5de7726e27693394bde6a44c9da817149a79694294ed323a79d5a81b81165e
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 Bytes
Contents
require 'test_helper' require "test/unit" require 'semantic' require 'socialcrawler' class CrawlewrTest < Test::Unit::TestCase def test_version s = SocialCrawler::VERSION v = Semantic::Version.new(s) assert_equal v.to_s, s end def test_1 File.delete('/tmp/test_out.txt') if File.exists?('/tmp/test_out.txt') File.delete('/tmp/test_status.txt') if File.exists?('/tmp/test_status.txt') sc = SocialCrawler::SocialCrawler.new sc.crawl('test/test_url.txt', '/tmp/test_out.txt', '/tmp/test_status.txt') sc = SocialCrawler::SocialCrawler.new sc.crawl('test/test_url.txt', '/tmp/test_out.txt', '/tmp/test_status.txt') sc = SocialCrawler::SocialCrawler.new sc.crawl('test/test_url.txt', '/tmp/test_out.txt', 'test_status.txt') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
socialcrawler-0.0.4 | test/test_crawler.rb |
socialcrawler-0.0.3 | test/test_crawler.rb |