[android-developers] Porting existing Junit test cases to Android.

2011-06-14 Thread Aman Bhardwaj
Hi, I have a set cross platform libraries(C++) which work on Windows, Mac and Android. For testing the libraries on Windows/Mac I have generated Java wrappers using Swig, and created test cases using JUnit4. My libraries dont have any UI component, everything is api calls. Now for test development

[android-developers] Porting existing junit test cases to Android

2011-06-14 Thread Aman Bhardwaj
Hi, I have a set cross platform libraries(C++) which work on Windows, Mac and Android. For testing the libraries on Windows/Mac I have generated Java wrappers using Swig, and created test cases using JUnit4. My libraries dont have any UI component, everything is api calls. Now for test develop

[android-developers] why no grep

2011-03-30 Thread Aman Bhardwaj
android shell lacks grep, any idea why? why google choose to leave grep out of android, i miss the awesomely useful grep I am hoping there was good reason for it, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Is there equivalent of java.awt on Android

2011-03-30 Thread Aman Bhardwaj
Basically I am trying to create a imagecomparison lib and was wondering if java.awt equivalent exists for android. Thanks, ~Aman -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@google

Re: [android-developers] Re: InstrumentationTestRunner with Annotation

2011-01-18 Thread Aman Bhardwaj
ndroid.foo.MyAnnotation" annotations. > > Filter test run to tests without given annotation: adb shell am > instrument -w -e notAnnotation com.android.foo.MyAnnotation > com.android.foo/android.test.InstrumentationTestRunner > > ? > > On Jan 16, 10:47 pm, Aman Bhardwaj

Re: [android-developers] Re: InstrumentationTestRunner with Annotation

2011-01-18 Thread Aman Bhardwaj
> > > > To do whatever you want, use android.test.InstrumentationTestRunner > > source as a an inspiration. > > > > On Jan 13, 1:47 am, Aman Bhardwaj wrote: > > > > > Hi, > > > I have some test cases with my own defined A

Re: [android-developers] Re: InstrumentationTestRunner with Annotation

2011-01-18 Thread Aman Bhardwaj
ending it: > > public class MyTestRunner extends > android.test.InstrumentationTestRunner { > // do wathever you want > } > > To do whatever you want, use android.test.InstrumentationTestRunner > source as a an inspiration. > > > On Jan 13, 1:47 am, Aman Bhardw

[android-developers] InstrumentationTestRunner with Annotation

2011-01-14 Thread Aman Bhardwaj
Hi, I have some test cases with my own defined Annotations, but InstrumenationTestRunner doesn't runs tests based on annotation. However it works if I add annotations from android.test.suitebuilder.annotation. Is it only supposed to work with annotations in android.test.suitebuilder.annotation.Smo

[android-developers] Building Robotium

2010-10-06 Thread Aman Bhardwaj
Hi, I am trying to build Robotium source code and added it as a project to eclipse so that it can be built with the test code. I tried to add this new project both as Android project and Java project but with little success, code builds fine but I get run time errors. When I added it as Android pr

Re: [android-developers] Error parsing Android SDK on linux

2010-09-20 Thread Aman Bhardwaj
Creating an empty folder didn't help either, I actually installed previous version of sdk and that made it happy and then I updated it. On Fri, Sep 17, 2010 at 2:12 PM, Xavier Ducrohet wrote: > btw I just checked and the tools r7 package for linux does include the > empty platforms folder. > > O