Skip to content

Commit

Permalink
WIP #8 - Added data from intent_tests app
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandersonbc committed Mar 22, 2016
1 parent 17c5d17 commit c9546e6
Showing 1 changed file with 111 additions and 0 deletions.
111 changes: 111 additions & 0 deletions test-data/intent_tests/Activity2-Intents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"sourceName": "Activity2",
"declaredPkg": "br.ufpe.cin.androidintenttests",
"intents": [{
"declaredMethod": "func1",
"target" : "startActivity",
"identifier" : "i",
"properties": {
"component": {
"context": "this",
"class": "Activity1.class"
},
"data": "Uri.parse(\"custom://base#specific\")"
}
},
{
"declaredMethod": "func1",
"target": "startActivity",
"identifier": "i2",
"properties": {
"component": {
"context": "this",
"class": "Activity1.class"
},
"data": "Uri.parse(\"custom://base#specific\")",
"extra": {
"key_bool": false,
"key_string": "somevalue",
"key_int": 10,
"key_double": 12.5
}
}
},
{
"declaredMethod": "func2",
"target": "startActivity",
"identifier": "i1",
"properties": {
"action": "Intent.ACTION_VIEW"
}
},
{
"declaredMethod": "func2",
"target": "startActivity",
"identifier": "i2",
"properties": {
"action": "Intent.ACTION_VIEW",
"data": "Uri.parse(\"http://www.google.com\")"
}
},
{
"declaredMethod": "func2",
"target": "startActivity",
"identifier": "i3",
"properties": {
"component": {
"context": "this",
"class": "Activity1.class"
}
}
},
{
"declaredMethod": "func2",
"target": "startActivity",
"identifier": "i4",
"properties": {
"action": "Intent.ACTION_VIEW",
"data": "Uri.parse(\"http://www.google.com\")",
"component": {
"context": "this",
"class": "Activity1.class"
}
}
},
{
"declaredMethod": "func3",
"target": "startActivity",
"identifier": "i",
"properties": {
"package": "br.ufpe.cin.androidintenttests",
"component": {
"context": "this",
"class": "Activity"
}
}
},
{
"declaredMethod": "func3",
"target": "startActivity",
"identifier": "i2",
"properties": {
"data": "Uri.parse(\"https://www.google.com\")",
"component": {
"context": "br.ufpe.cin.androidintenttests",
"class": "Activity1"
}
}
},
{
"declaredMethod": "func3",
"target": "startActivity",
"identifier": "i3",
"properties": {
"component": {
"context": "this",
"class": "Activity1"
},
"data": "Uri.parse(\"https://www.google.com\")"
}
}]
}

0 comments on commit c9546e6

Please sign in to comment.