[openbeostranslationkit] Re: BTranslationRoster woes
- From: "Brian Matzon" <brian@xxxxxxxxx>
- To: <openbeostranslationkit@xxxxxxxxxxxxx>
- Date: Tue, 2 Apr 2002 09:21:44 +0200
From: "Mike Wilber" <wilber@xxxxxxxxxxxxxxxx>
> Maybe they mean may, as in, never.
Hmm quite possible, but that would be odd...
> |2)
> I believe that the BMessage constructor and the Instantiate function are
> for two separate things. It seems strange to me that they would have two
> different functions for doing the same thing. I believe the Instantiate
> function is for creating BTranslatorRosters that were archived with the
> Archive member function, and the BMessage constructor works as you've used
> it. I would try using the Archive member function with a working
> BTranslatorRoster, then try to create a new BTranslatorRoster using
> Instantiate with the BMessage that the Archive member function created.
Yes I would think so! - I am quite certain that I did test it using the
archived
global TranslatorRoster (can't remeber if it worked though, will have to
look at that when I get home from work).
Being a deriviative of BArchivable, I would think that Instantiate should
indeed be
used in conjunction with Archive, however the docs state otherwise, since it
says that it uses the BMessage type constructor. *ponder*
> I would imagine that you would have to create a GUI app, passing the BView
> that you get from MakeConfigurationView to a BWindow. You could probably
> start with the HelloWord example and modify it a bit.
yes, it would be simple to create a test gui application, however this
defeats
the purpose of unit tests, since they're just run - nobody is looking at
them...
How do I actually test that MakeConfigurationView works?
I have thought about creating a small app that creates a BView, which is
then
passed to MakeConfigurationView. Now if MakeConfigurationView actually
works it would fiddle with the BRect supplied to tell size, thus
MakeConfigurationView has become measurable.
/Brian Matzon
- Follow-Ups:
- [openbeostranslationkit] Re: BTranslationRoster woes
- From: Mike Wilber
- References:
- [openbeostranslationkit] Re: BTranslationRoster woes
- From: Mike Wilber
Other related posts:
- » [openbeostranslationkit] BTranslationRoster woes
- » [openbeostranslationkit] Re: BTranslationRoster woes
- » [openbeostranslationkit] Re: BTranslationRoster woes
- » [openbeostranslationkit] Re: BTranslationRoster woes
- [openbeostranslationkit] Re: BTranslationRoster woes
- From: Mike Wilber
- [openbeostranslationkit] Re: BTranslationRoster woes
- From: Mike Wilber