# File lightmediascanner-unittest.rb, line 37
                def test_scanner_gooddata()
                        dbPath = '/'
                        timeout = 60000
                        commitInterval = 1000

                        lms = nil
                        assert_nothing_raised(){ lms = Scanner.new(dbPath) }
                        assert_equal(dbPath, lms.db_path)

                        lms.timeout=timeout
                        assert_equal(lms.timeout, timeout)

                        assert(!lms.processing?)

                        lms.commit_interval = commitInterval
                        assert_equal(lms.commit_interval, commitInterval)

                        assert_raise(RuntimeError){ lms.process('/') }
                        assert_raise(RuntimeError){ lms.check('/') }
                        assert_nothing_raised(){ lms.add_charset('ISO-8859-1') }
                        assert_nothing_raised(){ lms.remove_charset('ISO-8859-1') }
                        assert_raise(RuntimeError){ Parser.new(lms, 'blah') }
                end