Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary « Newer  Topics 11 - 20 of 500  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: A support and discussion forum for Robolectric, an alternative unit testing framework for Android applications.  

 

System service testing 
  How I can test a system service? In my case I need to test DevicePolicyManager. Below piece of my code: public class DeviceAdministratorHelper { DevicePolicyManager devicePolicyManager; ComponentName adminComponentName; public DeviceAdministratorHelper(Cont ext context) { devicePolicyManager = (DevicePolicyManager)... more »
By Nike Dev  - May 15 - 1 new of 1 message    

Robolectric 2.0-rc2 and ActionBarSherlock 
  Hey folks, We're trying to get a relatively new Android project running on ABS with the latest Robolectric (RC2). We're also trying to use the special sauce found in this gist <[link]> to get an ABS implementation loaded in tests. But we're getting failures when our... more »
By m...@pivotallabs.com  - May 14 - 3 new of 3 messages    

org.jetbrains.annotations.NotN ull vs javax.annotations.Nonnull 
  I noticed the Robolectric source code is using org.jetbrains.annotations.NotN ull. Any reason for using that over the more standard javax.annotations.Nonnull? I'm try to build Robolectric v2 RC2, and it would be easier if I didn't have to account for that dependency. Note that Intellij now supports various flavors of Nonnull/NotNull (... more »
By Eric Haugh  - May 14 - 1 new of 1 message    

Robolectric 2.0 rc2 
  2.0-r2 just hit central! It includes some bug fixes and performance improvements. Unless we hit any showstopper bugs, I'll redeploy this as 2.0 final tomorrow! --X [typos courtesy of my iPhone]
By Christian Williams  - May 13 - 1 new of 1 message    

setContentView: URISyntaxException inflating TextView 
  Hello, I'm new to Android development and Roobolectric. Following the site instructions I have created a project in Intellij. When I add a TextView to my main.xml I get the following errors: WARNING: no system properties value for ro.build.date.utc DEBUG: Loading resources for com.cjra.MyProject from .\res...... more »
By Charles Armitage  - May 12 - 2 new of 2 messages    

Robolectric has a new home! 
  To give us more flexible management of access for community contributors, Robolectric is moving to its own GitHub org. From now on you'll find the main Robolectric project here: [link] You can update your git repos with this command: $ git remote set-url origin git://github.com/robolectric/r obolectric.git... more »
By Christian Williams  - May 9 - 1 new of 1 message    

Robolectric 2.0 alpha 3 
  2.0 is feature complete! The third alpha of 2.0 has just made its way out to maven central. Check out this blog post<[link]> for details. Lots of good stuff here for early adopters to try out. There are some big changes here. Would love feedback!... more »
By Christian Williams  - May 8 - 1 new of 1 message    

ABS Layout not found. 
  Folks, I'm struggling to get up and running with Roboelectric (2.0-alpha-2) and ABS (4.2.0). I've setup the test runner 'SDK_INT' level as suggested by Jake Wharton here: [link] I've also tried adding the 'MockActionBar' as described... more »
By Kevin Griffin  - May 7 - 1 new of 1 message    

customising the robolectric test runner failing in robolectric 1.2 
  *public class CustomTestRunner extends RobolectricTestRunner{* ** *public SBOTestRunner(Class<?> testClass) throws InitializationError{* *super(testClass);* *// TODO Auto-generated constructor stub * *}* *@Override protected Application createApplication() {* ** *return new customApplication();*... more »
By Jomy Paul  - May 7 - 2 new of 2 messages    

Robolectric : JUnit for LAunching Activity 
  Hi All, I have a scenario where I am launching an Activity from a simple Class method like Class test{ public void LaunchActivity(Context context , Activity myActivity){ Intent myIntent = new Intent(context, myActivity); myIntent .setFlags(Intent.FLAG_ACTIVITY _NEW_TASK);... more »
By super Android  - May 7 - 1 new of 1 message    

11 - 20 of 500   « Newer | Older »

XML       Send email to this group: robolectric@googlegroups.com