acouchi 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +28 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/README.md +48 -0
- data/Rakefile +1 -0
- data/acouchi.gemspec +21 -0
- data/examples/AcouchiSample/AndroidManifest.xml +15 -0
- data/examples/AcouchiSample/Rakefile +13 -0
- data/examples/AcouchiSample/acouchi_configuration.json +6 -0
- data/examples/AcouchiSample/ant.properties +17 -0
- data/examples/AcouchiSample/build.xml +92 -0
- data/examples/AcouchiSample/features/step_definitions/steps.rb +15 -0
- data/examples/AcouchiSample/features/support/env.rb +9 -0
- data/examples/AcouchiSample/features/write_text.feature +7 -0
- data/examples/AcouchiSample/project.properties +14 -0
- data/examples/AcouchiSample/res/drawable-hdpi/ic_launcher.png +0 -0
- data/examples/AcouchiSample/res/drawable-ldpi/ic_launcher.png +0 -0
- data/examples/AcouchiSample/res/drawable-mdpi/ic_launcher.png +0 -0
- data/examples/AcouchiSample/res/drawable-xhdpi/ic_launcher.png +0 -0
- data/examples/AcouchiSample/res/layout/main.xml +12 -0
- data/examples/AcouchiSample/res/values/strings.xml +4 -0
- data/examples/AcouchiSample/src/com/acouchi/sample/StartupActivity.java +15 -0
- data/jars/robotium-solo-3.4.1.jar +0 -0
- data/lib/acouchi.rb +5 -0
- data/lib/acouchi/apk_modifier.rb +54 -0
- data/lib/acouchi/configuration.rb +16 -0
- data/lib/acouchi/cucumber.rb +16 -0
- data/lib/acouchi/project_builder.rb +91 -0
- data/lib/acouchi/solo.rb +49 -0
- data/lib/acouchi/test_runner.rb +33 -0
- data/lib/acouchi/version.rb +3 -0
- data/not-yet-implemented.md +223 -0
- data/src/com/acouchi/Acouchi.java +144 -0
- data/src/com/acouchi/NanoHTTPD.java +1119 -0
- data/src/com/acouchi/TestCase.java +32 -0
- metadata +113 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
package com.acouchi;
|
2
|
+
|
3
|
+
import android.test.ActivityInstrumentationTestCase2;
|
4
|
+
import com.jayway.android.robotium.solo.Solo;
|
5
|
+
|
6
|
+
import android.app.Activity;
|
7
|
+
// import com.example.android.notepad.NotesList;
|
8
|
+
|
9
|
+
import com.jayway.android.robotium.solo.Solo;
|
10
|
+
public class TestCase extends ActivityInstrumentationTestCase2 {
|
11
|
+
private Solo solo;
|
12
|
+
private Acouchi acouchi;
|
13
|
+
|
14
|
+
public TestCase()
|
15
|
+
{
|
16
|
+
super(ACTIVITY_UNDER_TEST.class);
|
17
|
+
// super("com.example.android.notepad", NotesList.class);
|
18
|
+
}
|
19
|
+
|
20
|
+
@Override
|
21
|
+
protected void setUp() throws Exception {
|
22
|
+
super.setUp();
|
23
|
+
solo = new Solo(getInstrumentation(), this.getActivity());
|
24
|
+
}
|
25
|
+
|
26
|
+
public void testSomething() throws Exception
|
27
|
+
{
|
28
|
+
acouchi = new Acouchi(solo);
|
29
|
+
acouchi.WaitUntilServerKilled();
|
30
|
+
solo.finishOpenedActivities();
|
31
|
+
}
|
32
|
+
}
|
metadata
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: acouchi
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Andrew Vos
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-10-03 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: httparty
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: childprocess
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: ''
|
47
|
+
email:
|
48
|
+
- andrew.vos@gmail.com
|
49
|
+
executables: []
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files: []
|
52
|
+
files:
|
53
|
+
- .gitignore
|
54
|
+
- .ruby-version
|
55
|
+
- Gemfile
|
56
|
+
- README.md
|
57
|
+
- Rakefile
|
58
|
+
- acouchi.gemspec
|
59
|
+
- examples/AcouchiSample/AndroidManifest.xml
|
60
|
+
- examples/AcouchiSample/Rakefile
|
61
|
+
- examples/AcouchiSample/acouchi_configuration.json
|
62
|
+
- examples/AcouchiSample/ant.properties
|
63
|
+
- examples/AcouchiSample/build.xml
|
64
|
+
- examples/AcouchiSample/features/step_definitions/steps.rb
|
65
|
+
- examples/AcouchiSample/features/support/env.rb
|
66
|
+
- examples/AcouchiSample/features/write_text.feature
|
67
|
+
- examples/AcouchiSample/project.properties
|
68
|
+
- examples/AcouchiSample/res/drawable-hdpi/ic_launcher.png
|
69
|
+
- examples/AcouchiSample/res/drawable-ldpi/ic_launcher.png
|
70
|
+
- examples/AcouchiSample/res/drawable-mdpi/ic_launcher.png
|
71
|
+
- examples/AcouchiSample/res/drawable-xhdpi/ic_launcher.png
|
72
|
+
- examples/AcouchiSample/res/layout/main.xml
|
73
|
+
- examples/AcouchiSample/res/values/strings.xml
|
74
|
+
- examples/AcouchiSample/src/com/acouchi/sample/StartupActivity.java
|
75
|
+
- jars/robotium-solo-3.4.1.jar
|
76
|
+
- lib/acouchi.rb
|
77
|
+
- lib/acouchi/apk_modifier.rb
|
78
|
+
- lib/acouchi/configuration.rb
|
79
|
+
- lib/acouchi/cucumber.rb
|
80
|
+
- lib/acouchi/project_builder.rb
|
81
|
+
- lib/acouchi/solo.rb
|
82
|
+
- lib/acouchi/test_runner.rb
|
83
|
+
- lib/acouchi/version.rb
|
84
|
+
- not-yet-implemented.md
|
85
|
+
- src/com/acouchi/Acouchi.java
|
86
|
+
- src/com/acouchi/NanoHTTPD.java
|
87
|
+
- src/com/acouchi/TestCase.java
|
88
|
+
homepage: ''
|
89
|
+
licenses: []
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ! '>='
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
requirements: []
|
107
|
+
rubyforge_project:
|
108
|
+
rubygems_version: 1.8.23
|
109
|
+
signing_key:
|
110
|
+
specification_version: 3
|
111
|
+
summary: ''
|
112
|
+
test_files: []
|
113
|
+
has_rdoc:
|