Problem calling NSBundle.bundleForClass from junit test code
Problem calling NSBundle.bundleForClass from junit test code
- Subject: Problem calling NSBundle.bundleForClass from junit test code
- From: Ricardo Parada <email@hidden>
- Date: Tue, 18 Sep 2018 16:09:23 -0400
Hi all,
I am running a junit test case. The code there wants to load a file that
resides in the Resources folder from the framework bundle. That framework is
where the class I am testing and the junit class reside.
However, this returns null:
NSBundle bundle = NSBundle.bundleForClass(MyClass.class):
Any ideas?
Thanks
Ricardo Parada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden