Re: [hibernate-dev] OGM-270 [MongoDB] Expose the WriteConcern settings to the configuration

2013-02-22 Thread Guillaume SCHEIBEL
That's what I thought thanks 2013/2/22 Davide D'Alto > Hi, > in the documentation I think we should list the different options, the > one in the link seems good to me. > > I think you need at least a test that checks that the String in the > configuration is converted into the right WriteConcer

Re: [hibernate-dev] OGM-270 [MongoDB] Expose the WriteConcern settings to the configuration

2013-02-22 Thread Davide D'Alto
Hi, in the documentation I think we should list the different options, the one in the link seems good to me. I think you need at least a test that checks that the String in the configuration is converted into the right WriteConcern constant, a test that checks that the value is set in the driver a

[hibernate-dev] OGM-270 [MongoDB] Expose the WriteConcern settings to the configuration

2013-02-22 Thread Guillaume SCHEIBEL
Hello guys, I was wondering do we need to test all the new writeconcern settings ? If the answer is yes, do we test all values with all "classic" tests like we did for the association strategies or we just check that the value is properly set as in DatastoreInitializationTest. Second question, fo