Closed
Bug 764699
Opened 12 years ago
Closed 12 years ago
testSearchSuggestions test in robocop throws an exception
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 16
People
(Reporter: kats, Assigned: bnicholson)
References
Details
Attachments
(1 file)
1.61 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
Exception caught during test! java.lang.RuntimeException: Error setting SuggestClient at org.mozilla.fennec.tests.testSearchSuggestions.connectSuggestClient(testSearchSuggestions.java:117) at org.mozilla.fennec.tests.testSearchSuggestions.testSearchSuggestions(testSearchSuggestions.java:43) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:204) at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:194) at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:186) at org.mozilla.fennec.tests.BaseTest.runTest(BaseTest.java:80) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:520) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447) Caused by: java.lang.IllegalArgumentException: invalid value for field at java.lang.reflect.Field.setField(Native Method) at java.lang.reflect.Field.set(Field.java:583) at org.mozilla.fennec.tests.testSearchSuggestions.connectSuggestClient(testSearchSuggestions.java:99) ... 16 more
Reporter | ||
Comment 1•12 years ago
|
||
This line in testSearchSuggestions is throwing the originating exception: checkNetworkField.set(false, client);
Assignee | ||
Comment 2•12 years ago
|
||
Thanks - silly mistake. I had pushed a change to this test to try without testing those changes locally, and since it was green, I just assumed it was fine. This patch passes try (and locally) and shows the expected TEST-PASS messages in the log: https://tbpl.mozilla.org/?tree=Try&rev=0df4e9635e9b
Assignee: bugmail.mozilla → bnicholson
Attachment #633187 -
Flags: review?(bugmail.mozilla)
Reporter | ||
Comment 3•12 years ago
|
||
Comment on attachment 633187 [details] [diff] [review] patch Review of attachment 633187 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #633187 -
Flags: review?(bugmail.mozilla) → review+
Assignee | ||
Comment 4•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/13a250b1f0a5
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/13a250b1f0a5
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•