Sha256: e6a5148971fecc8136594080b434d15afa340eeede959609be44dcd6041b238a

Contents?: true

Size: 714 Bytes

Versions: 247

Compression:

Stored size: 714 Bytes

Contents

require 'helper'

module SQLite3
  class TestSQLite3 < SQLite3::TestCase
    def test_libversion
      assert_not_nil SQLite3.libversion
    end

    def test_threadsafe
      assert_not_nil SQLite3.threadsafe
    end

    def test_threadsafe?
      if SQLite3.threadsafe > 0
        assert SQLite3.threadsafe?
      else
        refute SQLite3.threadsafe?
      end
    end

    def test_version_strings
      skip if SQLite3::VERSION.include?("test") # see set-version-to-timestamp rake task
      assert_equal(SQLite3::VERSION, SQLite3::VersionProxy::STRING)
    end

    def test_compiled_version_and_loaded_version
      assert_equal(SQLite3::SQLITE_VERSION, SQLite3::SQLITE_LOADED_VERSION)
    end
  end
end

Version data entries

247 entries across 228 versions & 4 rubygems

Version Path
sqlite3-1.6.7-x64-mingw-ucrt test/test_sqlite3.rb
sqlite3-1.6.7-arm64-darwin test/test_sqlite3.rb
sqlite3-1.6.7-arm-linux test/test_sqlite3.rb
sqlite3-1.6.7-aarch64-linux test/test_sqlite3.rb
sqlite3-1.6.6 test/test_sqlite3.rb
sqlite3-1.6.6-x86_64-linux test/test_sqlite3.rb
sqlite3-1.6.6-x86_64-darwin test/test_sqlite3.rb
sqlite3-1.6.6-x86-linux test/test_sqlite3.rb
sqlite3-1.6.6-x64-mingw32 test/test_sqlite3.rb
sqlite3-1.6.6-x64-mingw-ucrt test/test_sqlite3.rb
sqlite3-1.6.6-arm64-darwin test/test_sqlite3.rb
sqlite3-1.6.6-arm-linux test/test_sqlite3.rb
sqlite3-1.6.6-aarch64-linux test/test_sqlite3.rb
sqlite3-1.6.5 test/test_sqlite3.rb
sqlite3-1.6.5-x86_64-linux test/test_sqlite3.rb
sqlite3-1.6.5-x86_64-darwin test/test_sqlite3.rb
sqlite3-1.6.5-x86-linux test/test_sqlite3.rb
sqlite3-1.6.5-x64-mingw32 test/test_sqlite3.rb
sqlite3-1.6.5-x64-mingw-ucrt test/test_sqlite3.rb
sqlite3-1.6.5-arm64-darwin test/test_sqlite3.rb