Skip to content

Instantly share code, notes, and snippets.

@rsanheim
Created October 14, 2008 19:20
Show Gist options
  • Save rsanheim/16769 to your computer and use it in GitHub Desktop.
Save rsanheim/16769 to your computer and use it in GitHub Desktop.
(in /Users/rsanheim/src/oss/dm-core)
......*...................................................................**........*..................*...................*....*.........................................................................................*............................................................*........................*...............*............................................................*........................*..............................................*..........**.............******...***...*******..............................................................................................................................................................................................................*...................................................*****....*.......................................................................*.............................................F.................................................*................................................................................................................................................................*.......**................................*....................****...........................................................................................F....FFFFFFFFFFFFF..FFFFFFF..............................
Pending:
DataMapper::Associations many to one associations should load without the parent (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/association_spec.rb:317
through-associations In-memory Tag, Post, Tagging should get posts of a tag (DataMapper does not yet support in-memory associations)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/association_through_spec.rb:191
through-associations In-memory Tag, Post, Tagging should get tags of a post (DataMapper does not yet support in-memory associations)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/association_through_spec.rb:197
DataMapper::Associations::ManyToMany::Proxy should be destroyable (cannot destroy a collection yet)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/associations/many_to_many_spec.rb:179
DataMapper::Associations::ManyToMany::Proxy with renamed associations should be destroyable (cannot destroy a collection yet)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/associations/many_to_many_spec.rb:436
OneToMany (saved parent, unsaved child) parent association should return children (DataMapper does not yet support in-memory associations)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/associations/one_to_many_spec.rb:63
OneToMany (unsaved parent, unsaved child) parent association should return children (DataMapper does not yet support in-memory associations)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/associations/one_to_many_spec.rb:100
DataMapper::Collection (loaded) #all with query arguments should return a Collection is empty when passed an offset that is out of range (TODO)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/collection_spec.rb:261
DataMapper::Collection (loaded) #reload should reload lazily initialized fields (Move to unit specs)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/collection_spec.rb:758
DataMapper::Collection (loaded) #update! should update the resources in the collection (TODO)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/collection_spec.rb:972
DataMapper::Collection (not loaded) #all with query arguments should return a Collection is empty when passed an offset that is out of range (TODO)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/collection_spec.rb:261
DataMapper::Collection (not loaded) #reload should reload lazily initialized fields (Move to unit specs)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/collection_spec.rb:758
DataMapper::Collection (not loaded) #update! should update the resources in the collection (TODO)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/collection_spec.rb:972
DataMapper::Query with sqlite3 when linking associated objects should require that all properties in :fields and all :links come from the same repository (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/query_spec.rb:397
DataMapper::Query with sqlite3 when linking associated objects should auto generate the link if a DM::Property from a different resource is in the :fields option (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/query_spec.rb:490
DataMapper::Query with sqlite3 when linking associated objects should create links with composite keys (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/query_spec.rb:492
DataMapper::Resource with sqlite3#eql? should return true if the objects are the same instances (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:52
DataMapper::Resource with sqlite3#eql? should return false if the other object is not an instance of the same model (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:53
DataMapper::Resource with sqlite3#eql? should return false if the other object is a different class (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:54
DataMapper::Resource with sqlite3#eql? should return true if the repositories are the same and the primary key is the same (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:55
DataMapper::Resource with sqlite3#eql? should return true if all the properties are the same (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:56
DataMapper::Resource with sqlite3#eql? should return false if any of the properties are different (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:57
DataMapper::Resource with sqlite3#hash should return a different hash value for different types of objects with the same key (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:87
DataMapper::Resource with sqlite3#id should be awesome (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:91
DataMapper::Resource with sqlite3#inspect should return a string representing the object (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:95
DataMapper::Resource with sqlite3#pretty_print should display a pretty version of inspect (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:126
DataMapper::Resource with sqlite3#save with a new resource should set defaults before create (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:132
DataMapper::Resource with sqlite3#save with a new resource should create when dirty (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:133
DataMapper::Resource with sqlite3#save with a new resource should create when non-dirty, and it has a serial key (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:134
DataMapper::Resource with sqlite3#save with an existing resource should update (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:138
DataMapper::Resource with sqlite3#repository should return the repository associated with the object if there is one (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:144
DataMapper::Resource with sqlite3#repository should return the repository associated with the model if the object doesn't have one (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/integration/resource_spec.rb:145
DataMapper::Associations::OneToMany should work with classes inside modules (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/associations/one_to_many_spec.rb:104
DataMapper::Associations::OneToMany::Proxy when deleting the parent should delete all the children without calling destroy if relationship :dependent is :delete_all (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/associations/one_to_many_spec.rb:383
DataMapper::Associations::OneToMany::Proxy when deleting the parent should destroy all the children if relationship :dependent is :destroy (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/associations/one_to_many_spec.rb:385
DataMapper::Associations::OneToMany::Proxy when deleting the parent should set the parent key for each child to nil if relationship :dependent is :nullify (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/associations/one_to_many_spec.rb:387
DataMapper::Associations::OneToMany::Proxy when deleting the parent should restrict the parent from being deleted if a child remains if relationship :dependent is restrict (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/associations/one_to_many_spec.rb:389
DataMapper::Associations::OneToMany::Proxy when deleting the parent should be restrict by default if relationship :dependent is not specified (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/associations/one_to_many_spec.rb:391
DataMapper::Associations::Relationship should generate child properties with a safe subset of the parent options (TODO)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/associations/relationship_spec.rb:65
DataMapper::IdentityMap should use a second level cache if created with on (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/identity_map_spec.rb:24
DataMapper::Property#field should use repository name if passed in (TODO)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/property_spec.rb:91
DataMapper::Query#update should overwrite the attribute #the operator if condition is the same and operater is changed (:not / :eql) (TODO)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/query_spec.rb:241
DataMapper::Query#update should overwrite the attribute #links with other links unique values (DataMapper::Query::Path not ready)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/query_spec.rb:300
DataMapper::Query#update should overwrite the attribute #includes with other includes unique values (DataMapper::Query::Path not ready)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/query_spec.rb:300
DataMapper::Query inheritance properties#inheritance_property_index should return nil if there is no Discriminator field (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/query_spec.rb:523
DataMapper::Resource#save with a new resource should set defaults before create (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/resource_spec.rb:32
DataMapper::Resource#save with a new resource should create when dirty (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/resource_spec.rb:33
DataMapper::Resource#save with a new resource should create when non-dirty, and it has a serial key (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/resource_spec.rb:34
DataMapper::Resource#save with an existing resource should update (Not Yet Implemented)
Called from /Users/rsanheim/src/oss/dm-core/spec/unit/resource_spec.rb:38
1)
NoMethodError in 'DataMapper::Model#storage_exists? should return whether or not the storage exists'
undefined method `storage_exists?' for nil:NilClass
/Users/rsanheim/src/oss/dm-core/lib/dm-core/model.rb:482:in `storage_exists?'
/Users/rsanheim/src/oss/dm-core/spec/unit/model_spec.rb:173:
2)
Spec::Mocks::MockExpectationError in 'DataMapper::Transaction#commit with a block should rollback if the block raises an exception'
Mock 'DataMapper::Transaction' expected :within with (no args) once, but received it 0 times
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:244:
3)
NameError in 'DataMapper::Transaction#method_missing should delegate calls to [a method we have]_if_[state](adapter) to [a method we have](adapter) if state of adapter is [state]'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:283:
4)
NameError in 'DataMapper::Transaction#method_missing should not delegate calls to [a method we have]_if_[state](adapter) to [a method we have](adapter) if state of adapter is not [state]'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:283:
5)
NameError in 'DataMapper::Transaction#method_missing should delegate calls to [a method we have]_unless_[state](adapter) to [a method we have](adapter) if state of adapter is not [state]'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:283:
6)
NameError in 'DataMapper::Transaction#method_missing should not delegate calls to [a method we have]_unless_[state](adapter) to [a method we have](adapter) if state of adapter is [state]'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:283:
7)
NameError in 'DataMapper::Transaction#method_missing should not delegate calls whose first argument is not a DataMapper::Adapters::AbstractAdapter'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:283:
8)
NameError in 'DataMapper::Transaction#method_missing should not delegate calls that do not look like an if or unless followed by a state'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:283:
9)
NameError in 'DataMapper::Transaction#method_missing should not delegate calls that we can not respond to'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:283:
10)
NameError in 'DataMapper::Transaction#each_adapter should send the first argument to itself once for each adapter'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:329:
11)
NameError in 'DataMapper::Transaction#each_adapter should stop sending if any call raises an exception, then send each element of the second argument to itself with each adapter as argument'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:329:
12)
NameError in 'DataMapper::Transaction#each_adapter should send each element of the second argument to itself with each adapter as argument even if exceptions occur in the process'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:329:
13)
NameError in 'DataMapper::Transaction#do_adapter should raise if there is no connection for the adapter'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:389:
14)
NameError in 'DataMapper::Transaction#do_adapter should raise if the adapter has the wrong state'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:389:
15)
NameError in 'DataMapper::Transaction#do_adapter should delegate to the adapter if the connection exists and we have the right state'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:389:
16)
NameError in 'DataMapper::Transaction the transaction operation methods should only allow adapters in state :none to begin'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:450:
17)
NameError in 'DataMapper::Transaction the transaction operation methods should only allow adapters in state :begin to prepare'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:450:
18)
NameError in 'DataMapper::Transaction the transaction operation methods should only allow adapters in state :prepare to commit'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:450:
19)
NameError in 'DataMapper::Transaction the transaction operation methods should only allow adapters in state :begin to rollback'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:450:
20)
NameError in 'DataMapper::Transaction the transaction operation methods should only allow adapters in state :prepare to rollback_prepared'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:450:
21)
NameError in 'DataMapper::Transaction the transaction operation methods should do delegate properly for rollback_and_close'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:450:
22)
NameError in 'DataMapper::Transaction the transaction operation methods should do delegate properly for rollback_prepared_and_close'
uninitialized constant Spec::Mocks::AnyArgsConstraint
/Users/rsanheim/src/oss/dm-core/spec/unit/transaction_spec.rb:450:
Finished in 13.180466 seconds
1312 examples, 22 failures, 49 pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment