-#!/usr/bin/env ruby
-# Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
-
-require "common"
-
-class TestBDB < Test::Unit::TestCase
- def test_bdb
- @config = CHISE::Config.instance
- @dir = @config.db_dir
- assert_match(%r|/chise/char-db\Z|, @dir)
- file = @dir+"/=jis-x0208/system-char-id"
- db = BDB::Hash.open(file, nil, 0)
- end
-
- def test_db
-# @cdb = CHISE::CharDB.instance
-# @sdb = CHISE::CodesysDB.instance
- end
-
- def test_codesys
- @db = CHISE::CodesysDB.instance
- end
-end