Created
March 21, 2018 07:30
-
-
Save kinshuk4/d928781e9788bd381c9393998c117275 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing started at 08:29 ... | |
03/21 08:29:30: Launching RecipeDetailsActivit... | |
$ adb push /Users/kchandra/Downloads/Norbi930523-baking-app-995462b/app/build/outputs/apk/debug/app-debug.apk /data/local/tmp/com.udacity.norbi930523.bakingapp | |
$ adb shell pm install -t -r "/data/local/tmp/com.udacity.norbi930523.bakingapp" | |
Success | |
$ adb push /Users/kchandra/Downloads/Norbi930523-baking-app-995462b/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk /data/local/tmp/com.udacity.norbi930523.bakingapp.test | |
$ adb shell pm install -t -r "/data/local/tmp/com.udacity.norbi930523.bakingapp.test" | |
Success | |
Running tests | |
$ adb shell am instrument -w -r -e debug false -e class com.udacity.norbi930523.bakingapp.RecipeDetailsActivityTest com.udacity.norbi930523.bakingapp.test/android.support.test.runner.AndroidJUnitRunner | |
Client not ready yet.. | |
Started running tests | |
android.support.test.espresso.base.DefaultFailureHandler$AssertionFailedWithCauseError: Wanted to match 1 intents. Actually matched 0 intents. | |
IntentMatcher: (has component: has component with: class name: is "com.udacity.norbi930523.bakingapp.activity.RecipeStepActivity" package name: an instance of java.lang.String short class name: an instance of java.lang.String and has extras: has bundle with: key: "recipe" value: <com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74> and has extras: has bundle with: key: "selectedStepIndex" value: <0>) | |
Matched intents:[] | |
Recorded intents: | |
-Intent { flg=0x14000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
-Intent { flg=0x10000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
at dalvik.system.VMStack.getThreadStackTrace(Native Method) | |
at java.lang.Thread.getStackTrace(Thread.java:1566) | |
at android.support.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:90) | |
at android.support.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:52) | |
at android.support.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:314) | |
at android.support.test.espresso.ViewInteraction.check(ViewInteraction.java:291) | |
at android.support.test.espresso.intent.Intents.intended(Intents.java:185) | |
at android.support.test.espresso.intent.Intents.intended(Intents.java:167) | |
at com.udacity.norbi930523.bakingapp.RecipeDetailsActivityTest.clickOnIngredientsStep_showsIngredients(RecipeDetailsActivityTest.java:91) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at android.support.test.internal.runner.junit4.statement.RunBefores.evaluate(RunBefores.java:80) | |
at android.support.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:433) | |
at org.junit.rules.RunRules.evaluate(RunRules.java:20) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) | |
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) | |
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) | |
at org.junit.runners.Suite.runChild(Suite.java:128) | |
at org.junit.runners.Suite.runChild(Suite.java:27) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) | |
at org.junit.runner.JUnitCore.run(JUnitCore.java:137) | |
at org.junit.runner.JUnitCore.run(JUnitCore.java:115) | |
at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:58) | |
at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:375) | |
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932) | |
Caused by: junit.framework.AssertionFailedError: Wanted to match 1 intents. Actually matched 0 intents. | |
IntentMatcher: (has component: has component with: class name: is "com.udacity.norbi930523.bakingapp.activity.RecipeStepActivity" package name: an instance of java.lang.String short class name: an instance of java.lang.String and has extras: has bundle with: key: "recipe" value: <com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74> and has extras: has bundle with: key: "selectedStepIndex" value: <0>) | |
Matched intents:[] | |
Recorded intents: | |
-Intent { flg=0x14000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
-Intent { flg=0x10000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
at junit.framework.Assert.fail(Assert.java:50) | |
at android.support.test.espresso.intent.VerificationModes$Times.verify(VerificationModes.java:85) | |
at android.support.test.espresso.intent.Intents.internalIntended(Intents.java:280) | |
at android.support.test.espresso.intent.Intents$2.check(Intents.java:188) | |
at android.support.test.espresso.ViewInteraction$SingleExecutionViewAssertion.check(ViewInteraction.java:415) | |
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:274) | |
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:258) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:237) | |
at android.os.Handler.handleCallback(Handler.java:751) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:154) | |
at android.app.ActivityThread.main(ActivityThread.java:6119) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) | |
android.support.test.espresso.base.DefaultFailureHandler$AssertionFailedWithCauseError: Wanted to match 1 intents. Actually matched 0 intents. | |
IntentMatcher: (has component: has component with: class name: is "com.udacity.norbi930523.bakingapp.activity.RecipeStepActivity" package name: an instance of java.lang.String short class name: an instance of java.lang.String and has extras: has bundle with: key: "recipe" value: <com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74> and has extras: has bundle with: key: "selectedStepIndex" value: <2>) | |
Matched intents:[] | |
Recorded intents: | |
-Intent { flg=0x14000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
-Intent { flg=0x10000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
-Intent { flg=0x10000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
at dalvik.system.VMStack.getThreadStackTrace(Native Method) | |
at java.lang.Thread.getStackTrace(Thread.java:1566) | |
at android.support.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:90) | |
at android.support.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:52) | |
at android.support.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:314) | |
at android.support.test.espresso.ViewInteraction.check(ViewInteraction.java:291) | |
at android.support.test.espresso.intent.Intents.intended(Intents.java:185) | |
at android.support.test.espresso.intent.Intents.intended(Intents.java:167) | |
at com.udacity.norbi930523.bakingapp.RecipeDetailsActivityTest.clickOnSimpleStep_showsSimpleStepLayout(RecipeDetailsActivityTest.java:138) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at android.support.test.internal.runner.junit4.statement.RunBefores.evaluate(RunBefores.java:80) | |
at android.support.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:433) | |
at org.junit.rules.RunRules.evaluate(RunRules.java:20) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) | |
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) | |
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) | |
at org.junit.runners.Suite.runChild(Suite.java:128) | |
at org.junit.runners.Suite.runChild(Suite.java:27) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) | |
at org.junit.runner.JUnitCore.run(JUnitCore.java:137) | |
at org.junit.runner.JUnitCore.run(JUnitCore.java:115) | |
at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:58) | |
at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:375) | |
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932) | |
Caused by: junit.framework.AssertionFailedError: Wanted to match 1 intents. Actually matched 0 intents. | |
IntentMatcher: (has component: has component with: class name: is "com.udacity.norbi930523.bakingapp.activity.RecipeStepActivity" package name: an instance of java.lang.String short class name: an instance of java.lang.String and has extras: has bundle with: key: "recipe" value: <com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74> and has extras: has bundle with: key: "selectedStepIndex" value: <2>) | |
Matched intents:[] | |
Recorded intents: | |
-Intent { flg=0x14000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
-Intent { flg=0x10000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
-Intent { flg=0x10000000 cmp=com.udacity.norbi930523.bakingapp/.activity.RecipeDetailsActivity (has extras) } handling packages:[[com.udacity.norbi930523.bakingapp]], extras:[Bundle[{recipe=com.udacity.norbi930523.bakingapp.model.Recipe@faa5c74}]]) | |
at junit.framework.Assert.fail(Assert.java:50) | |
at android.support.test.espresso.intent.VerificationModes$Times.verify(VerificationModes.java:85) | |
at android.support.test.espresso.intent.Intents.internalIntended(Intents.java:280) | |
at android.support.test.espresso.intent.Intents$2.check(Intents.java:188) | |
at android.support.test.espresso.ViewInteraction$SingleExecutionViewAssertion.check(ViewInteraction.java:415) | |
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:274) | |
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:258) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:237) | |
at android.os.Handler.handleCallback(Handler.java:751) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:154) | |
at android.app.ActivityThread.main(ActivityThread.java:6119) | |
at java.lang.reflect.Method.invoke(Native Method) | |
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) | |
Tests ran to completion. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment