Just put the JUnit 4 jar before the Android jar in the classpath. This
will hide the JUnit 3 classes. Note that you must not use any Android
classes in your test! You will get Stub! exceptions if you do. If
you need a few basic Android classes in your tests (like Intent and
Bundle), add simple
It depends on what parts you want to test. If you need the android
test framework classes for testing activities and services in a valid
android context then i am not sure if you can make junit 4 work with
it.
However, if you extract your app logic into android independant
classes then you can
I switched to using the assets folder for this. There you can have
whatever folder hierarchy you want.
Of course you lose some help from the system and have to rescale
images yourself. Easy enough with the Android APIs.
Depends on your use-case if this is an option..
Cheers,
tfdj
On Aug 10,
3 matches
Mail list logo