Sha256: 642fc7cd1b4c8efcf5b2e052d4bff839f0c711fe990ab18f117538fefef18d6d
Contents?: true
Size: 422 Bytes
Versions: 3
Compression:
Stored size: 422 Bytes
Contents
require File.expand_path('../test_helper.rb', File.dirname(__FILE__)) describe Tracker::SparqlCursor do describe "#get_string" do it "returns just the string value" do conn = Tracker::SparqlConnection.get_direct nil cursor = conn.query "SELECT ?url WHERE { ?x a nie:InformationElement; nie:url ?url. }", nil cursor.next nil assert_instance_of String, cursor.get_string(0) end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
gir_ffi-tracker-0.1.0 | test/unit/tracker_sparql_cursor_test.rb |
ffi-tracker-0.0.2 | test/unit/tracker_sparql_cursor_test.rb |
ffi-tracker-0.0.1 | test/unit/tracker_sparql_cursor_test.rb |