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
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/sqlite3-1.7.3-arm64-darwin/test/test_sqlite3.rb
sqlite3-1.7.3 test/test_sqlite3.rb
sqlite3-1.7.3-x86_64-linux test/test_sqlite3.rb
sqlite3-1.7.3-x86_64-darwin test/test_sqlite3.rb
sqlite3-1.7.3-x86-linux test/test_sqlite3.rb
sqlite3-1.7.3-x64-mingw32 test/test_sqlite3.rb
sqlite3-1.7.3-x64-mingw-ucrt test/test_sqlite3.rb
sqlite3-1.7.3-arm64-darwin test/test_sqlite3.rb
sqlite3-1.7.3-arm-linux test/test_sqlite3.rb
sqlite3-1.7.3-aarch64-linux test/test_sqlite3.rb
sqlite3-1.7.2 test/test_sqlite3.rb
sqlite3-1.7.2-x86_64-linux test/test_sqlite3.rb
sqlite3-1.7.2-x86_64-darwin test/test_sqlite3.rb
sqlite3-1.7.2-x86-linux test/test_sqlite3.rb
sqlite3-1.7.2-x64-mingw32 test/test_sqlite3.rb
sqlite3-1.7.2-x64-mingw-ucrt test/test_sqlite3.rb
sqlite3-1.7.2-arm64-darwin test/test_sqlite3.rb
sqlite3-1.7.2-arm-linux test/test_sqlite3.rb
sqlite3-1.7.2-aarch64-linux test/test_sqlite3.rb
sqlite3-1.7.1 test/test_sqlite3.rb