junit.framework.ComparisonFailure: MainActivity expected:<...egangsters.lollipin.[Ma]inActivity> but was:<...egangsters.lollipin.[CustomP]inActivity>

GitHub | wesjpaul | 4 months ago
  1. 0

    GitHub comment 99#239317351

    GitHub | 4 months ago | wesjpaul
    junit.framework.ComparisonFailure: MainActivity expected:<...egangsters.lollipin.[Ma]inActivity> but was:<...egangsters.lollipin.[CustomP]inActivity>
  2. 0

    How to test my current activity after intent with Robotium

    Stack Overflow | 1 year ago | Mustafa Olkun
    junit.framework.ComparisonFailure: CalendarActivity not found expected:<[Calendar]Activity> but was:<[Main]Activity>
  3. 0

    Robotium test framework error

    Stack Overflow | 4 years ago | Govind
    junit.framework.ComparisonFailure: Expected MainActivity activity expected:&lt;SecondAct[]vity&gt; but was:&lt;SecondAct[i]vity&gt;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A doubt about ro.product.locale.language property

    Google Groups | 6 years ago | xiang zhiping
    junit.framework.ComparisonFailure: expected:<...,...> but was:<......>
  6. 0

    Failed Tests in "ant test:run"

    ejbca | 8 years ago | juanmanuelalor
    junit.framework.ComparisonFailure: expected: but was:

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. junit.framework.ComparisonFailure

      MainActivity expected:<...egangsters.lollipin.[Ma]inActivity> but was:<...egangsters.lollipin.[CustomP]inActivity>

      at com.robotium.solo.Asserter.assertCurrentActivity()
    2. com.robotium.solo
      Solo.assertCurrentActivity
      1. com.robotium.solo.Asserter.assertCurrentActivity(Asserter.java:68)
      2. com.robotium.solo.Solo.assertCurrentActivity(Solo.java:990)
      2 frames
    3. lollipin.orangegangsters.github
      PinLockTest.testPinLockWithBackgroundTimeout
      1. lollipin.orangegangsters.github.com.lollipin.functional.PinLockTest.testPinLockWithBackgroundTimeout(PinLockTest.java:255)
      1 frame
    4. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
      2. android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
      3. android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
      4. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
      5. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
      6. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
      7. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1985)
      7 frames