Sha256: aaa15d7736de990b3dd8ca04126c354fd82c6b8b3216596f0b28b83f53779c1a

Contents?: true

Size: 393 Bytes

Versions: 57

Compression:

Stored size: 393 Bytes

Contents

require 'test_helper'

class CassandraObject::Identity::UuidKeyFactoryTest < CassandraObject::TestCase
  test 'parse' do
    assert_not_nil key_factory.parse('95b2cf70-c318-11e0-962b-0800200c9a66')
    assert_nil key_factory.parse('xyz')
    assert_nil key_factory.parse(nil)
  end

  private
    def key_factory
      @key_factory ||= CassandraObject::Identity::UUIDKeyFactory.new
    end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
gotime-cassandra_object-2.11.9 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.8 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.7 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.6 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.5 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.4 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.3 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.2 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.1 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.11.0 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.11 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.10 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.9 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.8 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.7 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.6 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.5 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.4 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.3 test/unit/identity/uuid_key_factory_test.rb
gotime-cassandra_object-2.10.2 test/unit/identity/uuid_key_factory_test.rb