Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add initial integration tests project

  • Loading branch information...
commit 0da5c69bd88fe2fb82755f35c285213253c34280 1 parent 076b41f
Kevin Sawicki authored January 31, 2012
9  integration-tests/.classpath
... ...
@@ -0,0 +1,9 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<classpath>
  3
+	<classpathentry kind="src" path="src/main/java"/>
  4
+	<classpathentry kind="src" path="gen"/>
  5
+	<classpathentry combineaccessrules="false" kind="src" path="/com.github.mobile.gauges"/>
  6
+	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
  7
+	<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
  8
+	<classpathentry kind="output" path="bin/classes"/>
  9
+</classpath>
37  integration-tests/.idea/codeStyleSettings.xml
... ...
@@ -0,0 +1,37 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project version="4">
  3
+  <component name="ProjectCodeStyleSettingsManager">
  4
+    <option name="PER_PROJECT_SETTINGS">
  5
+      <value>
  6
+        <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
  7
+        <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
  8
+        <option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
  9
+          <value />
  10
+        </option>
  11
+        <option name="IMPORT_LAYOUT_TABLE">
  12
+          <value>
  13
+            <package name="" withSubpackages="true" static="true" />
  14
+            <package name="android" withSubpackages="true" static="false" />
  15
+            <emptyLine />
  16
+            <package name="com" withSubpackages="true" static="false" />
  17
+            <emptyLine />
  18
+            <package name="javax" withSubpackages="true" static="false" />
  19
+            <package name="java" withSubpackages="true" static="false" />
  20
+            <emptyLine />
  21
+            <package name="org" withSubpackages="true" static="false" />
  22
+            <emptyLine />
  23
+            <package name="" withSubpackages="true" static="false" />
  24
+          </value>
  25
+        </option>
  26
+        <XML>
  27
+          <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
  28
+        </XML>
  29
+        <codeStyleSettings language="JAVA">
  30
+          <option name="WRAP_LONG_LINES" value="true" />
  31
+        </codeStyleSettings>
  32
+      </value>
  33
+    </option>
  34
+    <option name="USE_PER_PROJECT_SETTINGS" value="true" />
  35
+  </component>
  36
+</project>
  37
+
34  integration-tests/.project
... ...
@@ -0,0 +1,34 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<projectDescription>
  3
+	<name>com.github.mobile.gauges.tests</name>
  4
+	<comment></comment>
  5
+	<projects>
  6
+		<project>com.github.mobile.gauges</project>
  7
+	</projects>
  8
+	<buildSpec>
  9
+		<buildCommand>
  10
+			<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
  11
+			<arguments>
  12
+			</arguments>
  13
+		</buildCommand>
  14
+		<buildCommand>
  15
+			<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
  16
+			<arguments>
  17
+			</arguments>
  18
+		</buildCommand>
  19
+		<buildCommand>
  20
+			<name>org.eclipse.jdt.core.javabuilder</name>
  21
+			<arguments>
  22
+			</arguments>
  23
+		</buildCommand>
  24
+		<buildCommand>
  25
+			<name>com.android.ide.eclipse.adt.ApkBuilder</name>
  26
+			<arguments>
  27
+			</arguments>
  28
+		</buildCommand>
  29
+	</buildSpec>
  30
+	<natures>
  31
+		<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
  32
+		<nature>org.eclipse.jdt.core.javanature</nature>
  33
+	</natures>
  34
+</projectDescription>
292  integration-tests/.settings/org.eclipse.jdt.core.prefs
... ...
@@ -0,0 +1,292 @@
  1
+#Fri Jan 27 15:21:39 PST 2012
  2
+eclipse.preferences.version=1
  3
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
  4
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
  5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
  6
+org.eclipse.jdt.core.compiler.compliance=1.6
  7
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
  8
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
  9
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
  10
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
  11
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
  12
+org.eclipse.jdt.core.compiler.source=1.6
  13
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
  14
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
  15
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
  16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
  17
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
  18
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
  19
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
  20
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
  21
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
  22
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
  23
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
  24
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
  25
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
  26
+org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
  27
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
  28
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
  29
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
  30
+org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
  31
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
  32
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
  33
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
  34
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
  35
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
  36
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
  37
+org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
  38
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
  39
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
  40
+org.eclipse.jdt.core.formatter.blank_lines_before_field=0
  41
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
  42
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
  43
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
  44
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
  45
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
  46
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
  47
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
  48
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
  49
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
  50
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
  51
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
  52
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
  53
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
  54
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
  55
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
  56
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
  57
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
  58
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
  59
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
  60
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
  61
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
  62
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
  63
+org.eclipse.jdt.core.formatter.comment.format_header=false
  64
+org.eclipse.jdt.core.formatter.comment.format_html=true
  65
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
  66
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
  67
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
  68
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
  69
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
  70
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
  71
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
  72
+org.eclipse.jdt.core.formatter.comment.line_length=120
  73
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
  74
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
  75
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
  76
+org.eclipse.jdt.core.formatter.compact_else_if=true
  77
+org.eclipse.jdt.core.formatter.continuation_indentation=2
  78
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
  79
+org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
  80
+org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
  81
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
  82
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
  83
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
  84
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
  85
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
  86
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
  87
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
  88
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
  89
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
  90
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
  91
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
  92
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
  93
+org.eclipse.jdt.core.formatter.indentation.size=4
  94
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
  95
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
  96
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
  97
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
  98
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
  99
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
  100
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
  101
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
  102
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
  103
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
  104
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
  105
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
  106
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
  107
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
  108
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
  109
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
  110
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
  111
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
  112
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
  113
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
  114
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
  115
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
  116
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
  117
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
  118
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
  119
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
  120
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
  121
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
  122
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
  123
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
  124
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
  125
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
  126
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
  127
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
  128
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
  129
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
  130
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
  131
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
  132
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
  133
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
  134
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
  135
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
  136
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
  137
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
  138
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
  139
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
  140
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
  141
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
  142
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
  143
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
  144
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
  145
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
  146
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
  147
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
  148
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
  149
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
  150
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
  151
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
  152
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
  153
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
  154
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
  155
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
  156
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
  157
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
  158
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
  159
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
  160
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
  161
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
  162
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
  163
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
  164
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
  165
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
  166
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
  167
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
  168
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
  169
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
  170
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
  171
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
  172
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
  173
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
  174
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
  175
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
  176
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
  177
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
  178
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
  179
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
  180
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
  181
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
  182
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
  183
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
  184
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
  185
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
  186
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
  187
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
  188
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
  189
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
  190
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
  191
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
  192
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
  193
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
  194
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
  195
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
  196
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
  197
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
  198
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
  199
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
  200
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
  201
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
  202
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
  203
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
  204
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
  205
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
  206
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
  207
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
  208
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
  209
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
  210
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
  211
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
  212
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
  213
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
  214
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
  215
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
  216
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
  217
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
  218
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
  219
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
  220
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
  221
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
  222
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
  223
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
  224
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
  225
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
  226
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
  227
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
  228
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
  229
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
  230
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
  231
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
  232
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
  233
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
  234
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
  235
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
  236
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
  237
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
  238
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
  239
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
  240
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
  241
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
  242
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
  243
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
  244
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
  245
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
  246
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
  247
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
  248
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
  249
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
  250
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
  251
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
  252
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
  253
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
  254
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
  255
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
  256
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
  257
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
  258
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
  259
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
  260
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
  261
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
  262
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
  263
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
  264
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
  265
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
  266
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
  267
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
  268
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
  269
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
  270
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
  271
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
  272
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
  273
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
  274
+org.eclipse.jdt.core.formatter.join_lines_in_comments=true
  275
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
  276
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
  277
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
  278
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
  279
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
  280
+org.eclipse.jdt.core.formatter.lineSplit=120
  281
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
  282
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
  283
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
  284
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
  285
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
  286
+org.eclipse.jdt.core.formatter.tabulation.char=space
  287
+org.eclipse.jdt.core.formatter.tabulation.size=4
  288
+org.eclipse.jdt.core.formatter.use_on_off_tags=false
  289
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
  290
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
  291
+org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
  292
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
57  integration-tests/.settings/org.eclipse.jdt.ui.prefs
... ...
@@ -0,0 +1,57 @@
  1
+#Fri Jan 27 15:21:39 PST 2012
  2
+eclipse.preferences.version=1
  3
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
  4
+formatter_profile=_github-android
  5
+formatter_settings_version=12
  6
+sp_cleanup.add_default_serial_version_id=true
  7
+sp_cleanup.add_generated_serial_version_id=false
  8
+sp_cleanup.add_missing_annotations=false
  9
+sp_cleanup.add_missing_deprecated_annotations=true
  10
+sp_cleanup.add_missing_methods=false
  11
+sp_cleanup.add_missing_nls_tags=false
  12
+sp_cleanup.add_missing_override_annotations=true
  13
+sp_cleanup.add_missing_override_annotations_interface_methods=false
  14
+sp_cleanup.add_serial_version_id=false
  15
+sp_cleanup.always_use_blocks=true
  16
+sp_cleanup.always_use_parentheses_in_expressions=false
  17
+sp_cleanup.always_use_this_for_non_static_field_access=false
  18
+sp_cleanup.always_use_this_for_non_static_method_access=false
  19
+sp_cleanup.convert_to_enhanced_for_loop=false
  20
+sp_cleanup.correct_indentation=false
  21
+sp_cleanup.format_source_code=false
  22
+sp_cleanup.format_source_code_changes_only=false
  23
+sp_cleanup.make_local_variable_final=false
  24
+sp_cleanup.make_parameters_final=false
  25
+sp_cleanup.make_private_fields_final=true
  26
+sp_cleanup.make_type_abstract_if_missing_method=false
  27
+sp_cleanup.make_variable_declarations_final=false
  28
+sp_cleanup.never_use_blocks=false
  29
+sp_cleanup.never_use_parentheses_in_expressions=true
  30
+sp_cleanup.on_save_use_additional_actions=true
  31
+sp_cleanup.organize_imports=false
  32
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
  33
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
  34
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
  35
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
  36
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
  37
+sp_cleanup.remove_private_constructors=true
  38
+sp_cleanup.remove_trailing_whitespaces=true
  39
+sp_cleanup.remove_trailing_whitespaces_all=true
  40
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
  41
+sp_cleanup.remove_unnecessary_casts=false
  42
+sp_cleanup.remove_unnecessary_nls_tags=false
  43
+sp_cleanup.remove_unused_imports=false
  44
+sp_cleanup.remove_unused_local_variables=false
  45
+sp_cleanup.remove_unused_private_fields=true
  46
+sp_cleanup.remove_unused_private_members=false
  47
+sp_cleanup.remove_unused_private_methods=true
  48
+sp_cleanup.remove_unused_private_types=true
  49
+sp_cleanup.sort_members=false
  50
+sp_cleanup.sort_members_all=false
  51
+sp_cleanup.use_blocks=false
  52
+sp_cleanup.use_blocks_only_for_return_and_throw=false
  53
+sp_cleanup.use_parentheses_in_expressions=false
  54
+sp_cleanup.use_this_for_non_static_field_access=false
  55
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
  56
+sp_cleanup.use_this_for_non_static_method_access=false
  57
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
17  integration-tests/AndroidManifest.xml
... ...
@@ -0,0 +1,17 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<!-- package name must be unique so suffix with "tests" so package loader 
  3
+	doesn't ignore us -->
  4
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  5
+	package="com.github.mobile.gauges.tests" android:versionCode="1"
  6
+	android:versionName="1.0">
  7
+
  8
+	<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="14" />
  9
+
  10
+	<application android:debuggable="true">
  11
+		<uses-library android:name="android.test.runner" />
  12
+	</application>
  13
+
  14
+	<instrumentation android:name="android.test.InstrumentationTestRunner"
  15
+		android:targetPackage="com.github.mobile.gauges" android:label="GitHub for Android - Integration Tests" />
  16
+
  17
+</manifest>
66  integration-tests/pom.xml
... ...
@@ -0,0 +1,66 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4
+	<modelVersion>4.0.0</modelVersion>
  5
+
  6
+	<artifactId>gauges-android-integration-tests</artifactId>
  7
+	<name>Gauges-Android integration tests</name>
  8
+	<packaging>apk</packaging>
  9
+
  10
+	<parent>
  11
+		<version>1.0-SNAPSHOT</version>
  12
+		<groupId>com.github.github</groupId>
  13
+		<artifactId>gauges-android-parent</artifactId>
  14
+	</parent>
  15
+
  16
+	<properties>
  17
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18
+		<android.version>3.2_r1</android.version>
  19
+	</properties>
  20
+
  21
+	<dependencies>
  22
+		<dependency>
  23
+			<groupId>android</groupId>
  24
+			<artifactId>android</artifactId>
  25
+			<scope>provided</scope>
  26
+			<version>${android.version}</version>
  27
+		</dependency>
  28
+		<dependency>
  29
+			<groupId>com.github.github</groupId>
  30
+			<artifactId>gauges-android</artifactId>
  31
+			<version>${project.version}</version>
  32
+			<scope>provided</scope>
  33
+			<type>apk</type>
  34
+		</dependency>
  35
+		<dependency>
  36
+			<groupId>com.github.github</groupId>
  37
+			<artifactId>gauges-android</artifactId>
  38
+			<version>${project.version}</version>
  39
+			<scope>provided</scope>
  40
+			<type>jar</type>
  41
+		</dependency>
  42
+	</dependencies>
  43
+	<build>
  44
+		<plugins>
  45
+			<plugin>
  46
+				<groupId>com.jayway.maven.plugins.android.generation2</groupId>
  47
+				<artifactId>android-maven-plugin</artifactId>
  48
+				<version>3.0.2</version>
  49
+				<extensions>true</extensions>
  50
+				<configuration>
  51
+					<sdk>
  52
+						<platform>14</platform>
  53
+					</sdk>
  54
+					<undeployBeforeDeploy>true</undeployBeforeDeploy>
  55
+					<proguard>
  56
+						<skip>false</skip>
  57
+					</proguard>
  58
+				</configuration>
  59
+			</plugin>
  60
+			<plugin>
  61
+				<groupId>com.pyx4me</groupId>
  62
+				<artifactId>proguard-maven-plugin</artifactId>
  63
+			</plugin>
  64
+		</plugins>
  65
+	</build>
  66
+</project>
53  integration-tests/proguard.cfg
... ...
@@ -0,0 +1,53 @@
  1
+-ignorewarnings
  2
+-dontoptimize
  3
+-dontobfuscate
  4
+-dontskipnonpubliclibraryclasses
  5
+
  6
+-ignorewarnings
  7
+
  8
+-renamesourcefileattribute SourceFile
  9
+
  10
+-keepattributes SourceFile,LineNumberTable,*Annotation*
  11
+
  12
+-printmapping map.txt
  13
+-printseeds seed.txt
  14
+
  15
+-keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); }
  16
+
  17
+-keep class com.github.mobile.**
  18
+-keepclassmembers class com.github.mobile.** { public <init>(...); }
  19
+-keep class com.madgag.android.blockingprompt.**
  20
+
  21
+-keep public class * extends android.app.Activity
  22
+-keep public class * extends android.app.Application
  23
+-keep public class * extends android.app.Service
  24
+-keep public class * extends android.content.BroadcastReceiver
  25
+-keep public class * extends android.content.ContentProvider
  26
+-keep public class * extends android.view.View { public <init>(android.content.Context); public <init>(android.content.Context, android.util.AttributeSet); public <init>(android.content.Context, android.util.AttributeSet, int); public void set*(...); }
  27
+
  28
+-keepclassmembers class * extends android.app.Activity { public void *(android.view.View); }
  29
+-keepclassmembers class android.support.v4.app.Fragment { *** getActivity(); public *** onCreate(); public *** onCreateOptionsMenu(...); }
  30
+
  31
+-keep public class * extends junit.framework.TestCase
  32
+
  33
+-keepclassmembers class * { @com.google.inject.Provides *; @android.test.suitebuilder.annotation.* *; void test*(...); }
  34
+
  35
+-keep public class roboguice.**
  36
+-keep class com.google.inject.Binder
  37
+-keep class com.google.inject.Key
  38
+-keep class com.google.inject.Provider
  39
+-keep class com.google.inject.TypeLiteral
  40
+
  41
+-keepclassmembers class * { @com.google.inject.Inject <init>(...); }
  42
+-keepclassmembers class com.google.inject.assistedinject.FactoryProvider2 { *; }
  43
+-keepclassmembers class com.google.** {
  44
+    private void finalizeReferent();
  45
+    protected void finalizeReferent();
  46
+    public void finalizeReferent();
  47
+    void finalizeReferent();
  48
+    
  49
+    private *** startFinalizer(java.lang.Class,java.lang.Object);
  50
+    protected *** startFinalizer(java.lang.Class,java.lang.Object);
  51
+    public *** startFinalizer(java.lang.Class,java.lang.Object);
  52
+    *** startFinalizer(java.lang.Class,java.lang.Object);
  53
+}
11  integration-tests/project.properties
... ...
@@ -0,0 +1,11 @@
  1
+# This file is automatically generated by Android Tools.
  2
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
  3
+#
  4
+# This file must be checked in Version Control Systems.
  5
+#
  6
+# To customize properties used by the Ant build system use,
  7
+# "ant.properties", and override values to adapt the script to your
  8
+# project structure.
  9
+
  10
+# Project target.
  11
+target=android-14
BIN  integration-tests/res/drawable-hdpi/ic_launcher.png
BIN  integration-tests/res/drawable-ldpi/ic_launcher.png
BIN  integration-tests/res/drawable-mdpi/ic_launcher.png
12  integration-tests/res/layout/main.xml
... ...
@@ -0,0 +1,12 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3
+    android:layout_width="fill_parent"
  4
+    android:layout_height="fill_parent"
  5
+    android:orientation="vertical" >
  6
+
  7
+    <TextView
  8
+        android:layout_width="fill_parent"
  9
+        android:layout_height="wrap_content"
  10
+        android:text="@string/hello" />
  11
+
  12
+</LinearLayout>
7  integration-tests/res/values/strings.xml
... ...
@@ -0,0 +1,7 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<resources>
  3
+
  4
+    <string name="hello">Hello World!</string>
  5
+    <string name="app_name">Com.github.mobile.gauges.testsTest</string>
  6
+
  7
+</resources>
20  integration-tests/src/main/java/com/github/mobile/gauges/test/GaugeListTest.java
... ...
@@ -0,0 +1,20 @@
  1
+package com.github.mobile.gauges.test;
  2
+
  3
+import android.test.ActivityInstrumentationTestCase2;
  4
+
  5
+import com.github.mobile.gauges.ui.GaugeListActivity;
  6
+
  7
+/**
  8
+ * Tests of displaying a list of gauges
  9
+ */
  10
+public class GaugeListTest extends
  11
+		ActivityInstrumentationTestCase2<GaugeListActivity> {
  12
+
  13
+	public GaugeListTest() {
  14
+		super("com.github.mobile.gauges.ui", GaugeListActivity.class);
  15
+	}
  16
+
  17
+	public void testActivity() {
  18
+		assertNotNull(getActivity());
  19
+	}
  20
+}
13  pom.xml
@@ -2,14 +2,15 @@
2 2
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 3
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 4
 	<modelVersion>4.0.0</modelVersion>
5  
-	
6  
-        <version>1.0-SNAPSHOT</version>
  5
+
  6
+	<version>1.0-SNAPSHOT</version>
7 7
 	<groupId>com.github.github</groupId>
8 8
 	<artifactId>gauges-android-parent</artifactId>
9 9
 	<name>Gauges Android parent</name>
10  
-        <packaging>pom</packaging>
  10
+	<packaging>pom</packaging>
11 11
 
12  
-        <modules>
13  
-                <module>app</module>
14  
-        </modules>
  12
+	<modules>
  13
+		<module>app</module>
  14
+		<module>integration-tests</module>
  15
+	</modules>
15 16
 </project>

0 notes on commit 0da5c69

Please sign in to comment.
Something went wrong with that request. Please try again.