+1 for using mockito. @Jayanga, Malithi: I guess this is something we can use in CAAS and the connectors, as we don't have unit test for the moment.
Regards, Omindu. On Mon, Aug 15, 2016 at 8:00 PM, Manuranga Perera <[email protected]> wrote: > In UUF tests we are using mockito, its very convenient, please give it a > try. > > On Mon, Aug 15, 2016 at 3:42 PM, Ramith Jayasinghe <[email protected]> > wrote: > >> please disregard above noise! >> >> On Mon, Aug 15, 2016 at 3:36 PM, Ramith Jayasinghe <[email protected]> >> wrote: >> >>> this needs to be a public email isn't it? >>> >>> On Mon, Aug 15, 2016 at 2:10 PM, Sajini De Silva <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> I have finished the first stage of MB authorization model for C5. Now I >>>> need to test the model by writing some test cases. Now user core is outside >>>> of MB how do we mock the user core in test cases. Is there any samples for >>>> this? >>>> >>>> Thanks, >>>> >>>> -- >>>> Sajini De SIlva >>>> Senior Software Engineer; WSO2 Inc.; http://wso2.com , >>>> Email: [email protected] >>>> Blog: http://sajinid.blogspot.com/ >>>> Git hub profile: https://github.com/sajinidesilva >>>> >>>> Phone: +94 712797729 >>>> >>>> >>> >>> >>> -- >>> Ramith Jayasinghe >>> Technical Lead >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> E: [email protected] >>> P: +94 772534930 >>> >> >> >> >> -- >> Ramith Jayasinghe >> Technical Lead >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> E: [email protected] >> P: +94 772534930 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > With regards, > *Manu*ranga Perera. > > phone : 071 7 70 20 50 > mail : [email protected] > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Omindu Rathnaweera Software Engineer, WSO2 Inc. Mobile: +94 771 197 211
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
