eldest)
24 | {
25 | return size() > _maxEntries;
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/instrumentationbackend/actions/webview/UnableToFindChromeClientException.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.instrumentationbackend.actions.webview;
2 |
3 | import android.webkit.WebView;
4 |
5 | @SuppressWarnings("serial")
6 | public class UnableToFindChromeClientException extends RuntimeException {
7 |
8 | private final WebView webView;
9 |
10 | public UnableToFindChromeClientException(WebView webView) {
11 | this.webView = webView;
12 | }
13 |
14 | public UnableToFindChromeClientException(Exception e, WebView webView) {
15 | super(e);
16 | this.webView = webView;
17 | }
18 |
19 | public WebView getWebView() {
20 | return webView;
21 | }
22 |
23 | public String toString() {
24 | return super.toString() + "- WebView: " + webView;
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/map/JsonSerializableWithType.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.map;
2 |
3 | import java.io.IOException;
4 |
5 | import sh.calaba.org.codehaus.jackson.JsonGenerator;
6 | import sh.calaba.org.codehaus.jackson.JsonProcessingException;
7 |
8 | /**
9 | * Interface that is to replace {@link JsonSerializable} to
10 | * allow for dynamic type information embedding.
11 | *
12 | * @since 1.5
13 | * @author tatu
14 | */
15 | @SuppressWarnings("deprecation")
16 | public interface JsonSerializableWithType
17 | extends JsonSerializable
18 | {
19 | public void serializeWithType(JsonGenerator jgen, SerializerProvider provider,
20 | TypeSerializer typeSer)
21 | throws IOException, JsonProcessingException;
22 | }
23 |
--------------------------------------------------------------------------------
/server/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | android.useAndroidX=true
11 | # When configured, Gradle will run in incubating parallel mode.
12 | # This option should only be used with decoupled projects. More details, visit
13 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
14 | # org.gradle.parallel=true
15 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/impl/Indenter.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.impl;
2 |
3 | import java.io.IOException;
4 |
5 | import sh.calaba.org.codehaus.jackson.*;
6 |
7 | /**
8 | * Interface that defines objects that can produce indentation used
9 | * to separate object entries and array values. Indentation in this
10 | * context just means insertion of white space, independent of whether
11 | * linefeeds are output.
12 | */
13 | public interface Indenter
14 | {
15 | public void writeIndentation(JsonGenerator jg, int level)
16 | throws IOException, JsonGenerationException;
17 |
18 | /**
19 | * @return True if indenter is considered inline (does not add linefeeds),
20 | * false otherwise
21 | */
22 | public boolean isInline();
23 | }
24 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/annotate/JacksonAnnotation.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.annotate;
2 |
3 | import java.lang.annotation.ElementType;
4 | import java.lang.annotation.Retention;
5 | import java.lang.annotation.RetentionPolicy;
6 | import java.lang.annotation.Target;
7 |
8 | /**
9 | * Meta-annotation (annotations used on other annotations)
10 | * used for marking all annotations that are
11 | * part of Jackson package. Can be used for recognizing all
12 | * Jackson annotations generically, and in future also for
13 | * passing other generic annotation configuration.
14 | */
15 | @Target({ElementType.ANNOTATION_TYPE})
16 | @Retention(RetentionPolicy.RUNTIME)
17 | public @interface JacksonAnnotation
18 | {
19 | // for now, a pure tag annotation, no parameters
20 | }
21 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/map/module/package-info.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Package that contains classes and interfaces to help implement
3 | * custom extension {@link sh.calaba.org.codehaus.jackson.map.Module}s
4 | * (which are registered using
5 | * {@link sh.calaba.org.codehaus.jackson.map.ObjectMapper#registerModule}.
6 | *
7 | * Note that classes in the package only support registering
8 | * handlers for non-generic types (types without type
9 | * parameterization) -- hence "simple" -- which works for
10 | * many cases, but not all. So if you will need to register
11 | * handlers for generic types, you will usually need to either
12 | * sub-class handlers, or implement/extend base types directly.
13 | *
14 | * @since 1.7
15 | */
16 | package sh.calaba.org.codehaus.jackson.map.module;
17 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/instrumentationbackend/actions/gestures/DoubleTapCoordinate.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.instrumentationbackend.actions.gestures;
2 |
3 | import android.view.Display;
4 | import sh.calaba.instrumentationbackend.InstrumentationBackend;
5 | import sh.calaba.instrumentationbackend.Result;
6 | import sh.calaba.instrumentationbackend.actions.Action;
7 |
8 | public class DoubleTapCoordinate implements Action {
9 | @Override
10 | public Result execute(String... args) {
11 | float x = Float.parseFloat(args[0]);
12 | float y = Float.parseFloat(args[1]);
13 |
14 | InstrumentationBackend.solo.doubleTapOnScreen(x, y);
15 |
16 | return Result.successResult();
17 | }
18 |
19 | @Override
20 | public String key() {
21 | return "double_tap_coordinate";
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/instrumentationbackend/actions/gestures/TouchCoordinates.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.instrumentationbackend.actions.gestures;
2 |
3 |
4 | import android.view.Display;
5 | import sh.calaba.instrumentationbackend.InstrumentationBackend;
6 | import sh.calaba.instrumentationbackend.Result;
7 | import sh.calaba.instrumentationbackend.actions.Action;
8 |
9 |
10 | public class TouchCoordinates implements Action {
11 |
12 | @Override
13 | public Result execute(String... args) {
14 | float x = Float.parseFloat(args[0]);
15 | float y = Float.parseFloat(args[1]);
16 |
17 | InstrumentationBackend.solo.clickOnScreen(x, y);
18 | return Result.successResult();
19 | }
20 |
21 | @Override
22 | public String key() {
23 | return "touch_coordinate";
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/instrumentationbackend/actions/helpers/ListActions.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.instrumentationbackend.actions.helpers;
2 |
3 |
4 | import sh.calaba.instrumentationbackend.InstrumentationBackend;
5 | import sh.calaba.instrumentationbackend.Result;
6 | import sh.calaba.instrumentationbackend.actions.Action;
7 |
8 |
9 | public class ListActions implements Action {
10 |
11 | @Override
12 | public Result execute(String... args) {
13 | Result result = new Result(true, "Available actions");
14 | for(String key: InstrumentationBackend.actions.getActions().keySet()) {
15 | result.addBonusInformation(key);
16 | }
17 |
18 | return result;
19 | }
20 |
21 | @Override
22 | public String key() {
23 | return "list_actions";
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/instrumentationbackend/actions/device/Actions.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.instrumentationbackend.actions.device;
2 |
3 | /**
4 | * List of UIAutomator actions supported by uiautomator_execute command.
5 | *
6 | * List of available methods in UIAutomator can be found here:
7 | * https://developer.android.com/reference/androidx/test/uiautomator/UiObject2
8 | */
9 | public enum Actions {
10 | click,
11 | longClick,
12 | getText,
13 | getContentDescription,
14 | getClassName,
15 | getResourceName,
16 | getVisibleBounds,
17 | getVisibleCenter,
18 | getApplicationPackage,
19 | getChildCount,
20 | clear,
21 | isCheckable,
22 | isChecked,
23 | isClickable,
24 | isEnabled,
25 | isFocusable,
26 | isFocused,
27 | isLongClickable,
28 | isScrollable,
29 | isSelected;
30 | }
31 |
--------------------------------------------------------------------------------
/server/integration-tests/calabash-test-suite/features/steps/shared.rb:
--------------------------------------------------------------------------------
1 | Then(/^I install the app$/) do
2 | reinstall_apps
3 | end
4 |
5 | Then(/^I start the app$/) do
6 | shutdown_test_server
7 | start_test_server_in_background
8 | backdoor('startTest')
9 | end
10 |
11 | Then(/^I wait for the unit test result$/) do
12 | wait_for_element_exists("textview {text BEGINSWITH 'TEST'}", timeout: 60*10)
13 | end
14 |
15 | Then(/^I print it to stdout$/) do
16 | s = query("edittext", :getText).first.gsub("URI: //ready\nparams: {json={}\n}", "").gsub("URI: //ping\nparams: {json={}\n}", "")
17 | puts s
18 | $stdout.puts s
19 | File.open("../result.log", 'w') do |file|
20 | file.write(s)
21 | end
22 | end
23 |
24 | Then(/^I fail if the unit test did not succeed$/) do
25 | if element_exists("textview text:'TEST FAILED'")
26 | raise "Unit test failed"
27 | end
28 | end
29 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/instrumentationbackend/actions/gestures/DragCoordinates.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.instrumentationbackend.actions.gestures;
2 |
3 | import sh.calaba.instrumentationbackend.InstrumentationBackend;
4 | import sh.calaba.instrumentationbackend.Result;
5 | import sh.calaba.instrumentationbackend.actions.Action;
6 |
7 | public class DragCoordinates implements Action {
8 |
9 | @Override
10 | public Result execute(String... args) {
11 |
12 | Float fromX = new Float(args[0]);
13 | Float fromY = new Float(args[1]);
14 | Float toX = new Float(args[2]);
15 | Float toY = new Float(args[3]);
16 | Integer stepCount = 40;
17 |
18 | InstrumentationBackend.solo.drag(fromX, toX, fromY, toY, stepCount);
19 |
20 | return Result.successResult();
21 | }
22 |
23 | @Override
24 | public String key() {
25 | return "drag_coordinates";
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/map/annotate/NoClass.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.map.annotate;
2 |
3 | /**
4 | * Marker class used with annotations to indicate "no class". This is
5 | * a silly but necessary work-around -- annotations can not take nulls
6 | * as either default or explicit values. Hence for class values we must
7 | * explicitly use a bogus placeholder to denote equivalent of
8 | * "no class" (for which 'null' is usually the natural choice).
9 | *
10 | * Note before version 1.4, this marker class was under
11 | * "sh.calaba.org.codehaus.jackson.annotate". However, since it is only used
12 | * by annotations in "sh.calaba.org.codehaus.jackson.map.annotate" (and not externally
13 | * exposed), it was moved to that package as of version 1.5.
14 | */
15 | public final class NoClass
16 | {
17 | private NoClass() { }
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/instrumentationbackend/json/CustomAndroidModule.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.instrumentationbackend.json;
2 |
3 | import android.content.ComponentName;
4 | import android.content.Intent;
5 | import android.net.Uri;
6 |
7 | import sh.calaba.org.codehaus.jackson.Version;
8 | import sh.calaba.org.codehaus.jackson.map.module.SimpleModule;
9 |
10 | public class CustomAndroidModule extends SimpleModule {
11 | public CustomAndroidModule() {
12 | super("CustomAndroidModule", new Version(0, 1, 0, null));
13 | addSerializer(Intent.class, new IntentSerializer());
14 | addDeserializer(Intent.class, new IntentDeserializer());
15 | addSerializer(ComponentName.class, new ComponentNameSerializer());
16 | addDeserializer(ComponentName.class, new ComponentNameDeserializer());
17 | addSerializer(Uri.class, new UriSerializer());
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/JsonGenerationException.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson;
2 |
3 | /**
4 | * Exception type for exceptions during JSON writing, such as trying
5 | * to output content in wrong context (non-matching end-array or end-object,
6 | * for example).
7 | */
8 | public class JsonGenerationException
9 | extends JsonProcessingException
10 | {
11 | @SuppressWarnings("hiding")
12 | final static long serialVersionUID = 123; // Stupid eclipse...
13 |
14 | public JsonGenerationException(Throwable rootCause)
15 | {
16 | super(rootCause);
17 | }
18 |
19 | public JsonGenerationException(String msg)
20 | {
21 | super(msg, (JsonLocation)null);
22 | }
23 |
24 | public JsonGenerationException(String msg, Throwable rootCause)
25 | {
26 | super(msg, (JsonLocation)null, rootCause);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/schema/SchemaAware.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.schema;
2 |
3 | import sh.calaba.org.codehaus.jackson.JsonNode;
4 | import sh.calaba.org.codehaus.jackson.map.JsonMappingException;
5 | import sh.calaba.org.codehaus.jackson.map.SerializerProvider;
6 |
7 | import java.lang.reflect.Type;
8 |
9 | /**
10 | * Marker interface for schema-aware serializers.
11 | *
12 | * @author Ryan Heaton
13 | */
14 | public interface SchemaAware
15 | {
16 | /**
17 | * Get the representation of the schema to which this serializer will conform.
18 | *
19 | * @param provider The serializer provider.
20 | * @param typeHint A hint about the type.
21 | * @return Json-schema for this serializer.
22 | */
23 | JsonNode getSchema(SerializerProvider provider, Type typeHint)
24 | throws JsonMappingException;
25 | }
26 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/Versioned.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson;
2 |
3 | /**
4 | * Interface that those Jackson components that are explicitly versioned will implement.
5 | * Intention is to allow both plug-in components (custom extensions) and applications and
6 | * frameworks that use Jackson to detect exact version of Jackson in use.
7 | * This may be useful for example for ensuring that proper Jackson version is deployed
8 | * (beyond mechanisms that deployment system may have), as well as for possible
9 | * workarounds.
10 | *
11 | * @since 1.6
12 | */
13 | public interface Versioned {
14 | /**
15 | * Method called to detect version of the component that implements this interface;
16 | * returned version should never be null, but may return specific "not available"
17 | * instance (see {@link Version} for details).
18 | */
19 | public Version version();
20 | }
21 |
--------------------------------------------------------------------------------
/bin/log.sh:
--------------------------------------------------------------------------------
1 | # Log functions for scripts.
2 | #
3 | # Suitable for Xcode Run Script Build Phase and command line scripts.
4 | #
5 | # Usage:
6 | #
7 | # source bin/log.sh
8 |
9 | function info {
10 | if [ "${TERM}" = "dumb" ]; then
11 | echo -e "INFO: $1"
12 | else
13 | echo -e "$(tput setaf 2)INFO: $1$(tput sgr0)"
14 | fi
15 | }
16 |
17 | function shell {
18 | if [ "${TERM}" = "dumb" ]; then
19 | echo -e "SHELL: $1"
20 | else
21 | echo -e "$(tput setaf 6)SHELL: $1$(tput sgr0)"
22 | fi
23 | }
24 |
25 | function error {
26 | if [ "${TERM}" = "dumb" ]; then
27 | echo -e "ERROR: $1"
28 | else
29 | echo -e "$(tput setaf 1)ERROR: $1$(tput sgr0)"
30 | fi
31 | }
32 |
33 | function banner {
34 | if [ "${TERM}" = "dumb" ]; then
35 | echo ""
36 | echo "######## $1 ########"
37 | echo ""
38 | else
39 | echo ""
40 | echo "$(tput setaf 5)######## $1 ########$(tput sgr0)"
41 | echo ""
42 | fi
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/server/integration-tests/log.sh:
--------------------------------------------------------------------------------
1 | # Log functions for scripts.
2 | #
3 | # Suitable for Xcode Run Script Build Phase and command line scripts.
4 | #
5 | # Usage:
6 | #
7 | # source bin/log.sh
8 |
9 | function info {
10 | if [ "${TERM}" = "dumb" ]; then
11 | echo "INFO: $1"
12 | else
13 | echo "$(tput setaf 2)INFO: $1$(tput sgr0)"
14 | fi
15 | }
16 |
17 | function warn {
18 | if [ "${TERM}" = "dumb" ]; then
19 | echo "WARN: $1"
20 | else
21 | echo "$(tput setaf 3)WARN: $1$(tput sgr0)"
22 | fi
23 | }
24 |
25 | function error {
26 | if [ "${TERM}" = "dumb" ]; then
27 | echo "ERROR: $1"
28 | else
29 | echo "$(tput setaf 1)ERROR: $1$(tput sgr0)"
30 | fi
31 | }
32 |
33 | function banner {
34 | if [ "${TERM}" = "dumb" ]; then
35 | echo ""
36 | echo "######## $1 ########"
37 | echo ""
38 | else
39 | echo ""
40 | echo "$(tput setaf 5)######## $1 ########$(tput sgr0)"
41 | echo ""
42 | fi
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/map/annotate/JsonValueInstantiator.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.map.annotate;
2 |
3 | import java.lang.annotation.ElementType;
4 | import java.lang.annotation.Retention;
5 | import java.lang.annotation.RetentionPolicy;
6 | import java.lang.annotation.Target;
7 |
8 | import sh.calaba.org.codehaus.jackson.annotate.JacksonAnnotation;
9 | import sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiator;
10 |
11 | /**
12 | * Annotation that can be used to indicate a {@link ValueInstantiator} to use
13 | * for creating instances of specified type.
14 | *
15 | * @since 1.9
16 | */
17 | @Target(ElementType.TYPE)
18 | @Retention(RetentionPolicy.RUNTIME)
19 | @JacksonAnnotation
20 | public @interface JsonValueInstantiator
21 | {
22 | /**
23 | * @return {@link ValueInstantiator} to use for annotated type
24 | */
25 | public Class extends ValueInstantiator> value();
26 | }
27 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/annotate/package-info.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Public core annotations, most of which are used to configure how
3 | * Data Mapping/Binding works. Annotations in this package can only
4 | * have dependencies to non-annotation classes in Core package;
5 | * annotations that have dependencies to Mapper classes are included
6 | * in Mapper module (under sh.calaba.org.codehaus.jackson.map.annotate).
7 | * Also contains parameter types (mostly enums) needed by annotations.
8 | *
9 | * In future (version 2.0?), this package will probably be split off
10 | * as a separate jar/module, to allow use of annotations without
11 | * including core module. This would be useful for third party value
12 | * classes that themselves do not depend on Jackson, but may want to
13 | * be annotated to be automatically and conveniently serializable by
14 | * Jackson.
15 | */
16 | package sh.calaba.org.codehaus.jackson.annotate;
17 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicBooleanDeserializer.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.map.deser.std;
2 |
3 | import java.io.IOException;
4 | import java.util.concurrent.atomic.AtomicBoolean;
5 |
6 | import sh.calaba.org.codehaus.jackson.JsonParser;
7 | import sh.calaba.org.codehaus.jackson.JsonProcessingException;
8 | import sh.calaba.org.codehaus.jackson.map.DeserializationContext;
9 |
10 | public class AtomicBooleanDeserializer
11 | extends StdScalarDeserializer
12 | {
13 | public AtomicBooleanDeserializer() { super(AtomicBoolean.class); }
14 |
15 | @Override
16 | public AtomicBoolean deserialize(JsonParser jp, DeserializationContext ctxt)
17 | throws IOException, JsonProcessingException
18 | {
19 | // 16-Dec-2010, tatu: Should we actually convert null to null AtomicBoolean?
20 | return new AtomicBoolean(_parseBooleanPrimitive(jp, ctxt));
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/instrumentationbackend/actions/softkey/KeyUtil.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.instrumentationbackend.actions.softkey;
2 |
3 | import android.view.KeyEvent;
4 |
5 | import java.lang.reflect.Field;
6 |
7 | public class KeyUtil {
8 | public static Integer getKey(String keyName) {
9 | keyName = keyName.toUpperCase();
10 |
11 | Class> keyEventClass = KeyEvent.class;
12 | try {
13 | Field field = keyEventClass.getField(keyName);
14 |
15 | return field.getInt(null);
16 | } catch (NoSuchFieldException e) {
17 | return null;
18 | } catch (IllegalAccessException e) {
19 | return null;
20 | }
21 | }
22 |
23 | public static boolean isNumber(String string) {
24 | try {
25 | Integer.parseInt(string);
26 |
27 | return true;
28 | } catch (NumberFormatException e) {
29 | return false;
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/annotate/JsonAnySetter.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.annotate;
2 |
3 | import java.lang.annotation.ElementType;
4 | import java.lang.annotation.Retention;
5 | import java.lang.annotation.RetentionPolicy;
6 | import java.lang.annotation.Target;
7 |
8 | /**
9 | * Marker annotation that can be used to define a non-static,
10 | * single-argument method, to be used as a "fallback" handler
11 | * for all otherwise unrecognized properties found from Json content.
12 | * It is similar to {@link javax.xml.bind.annotation.XmlAnyElement}
13 | * in behavior; and can only be used to denote a single property
14 | * per type.
15 | *
16 | * If used, all otherwise unmapped key-value pairs from Json Object
17 | * structs are added to the property (of type Map or bean).
18 | */
19 | @Target(ElementType.METHOD)
20 | @Retention(RetentionPolicy.RUNTIME)
21 | @JacksonAnnotation
22 | public @interface JsonAnySetter
23 | {
24 | }
25 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/map/ext/package-info.java:
--------------------------------------------------------------------------------
1 | /**
2 | Contains extended support for "external" packages: things that
3 | may or may not be present in runtime environment, but that are
4 | commonly enough used so that explicit support can be added.
5 |
6 | Currently supported extensions include:
7 |
8 | - Support for Java 1.5 core XML datatypes: the reason these are
9 | considered "external" is that some platforms that claim to be 1.5 conformant
10 | are only partially so (Google Android, GAE) and do not included these
11 | types.
12 |
13 | - Joda time. This package has superior date/time handling functionality,
14 | and is thus supported. However, to minimize forced dependencies this
15 | support is added as extension so that Joda is not needed by Jackson
16 | itself: but if it is present, its core types are supported to some
17 | degree
18 |
19 |
20 |
21 | */
22 |
23 | package sh.calaba.org.codehaus.jackson.map.ext;
24 |
--------------------------------------------------------------------------------
/server/app/src/androidTest/java/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializer.java:
--------------------------------------------------------------------------------
1 | package sh.calaba.org.codehaus.jackson.map.deser;
2 |
3 | import sh.calaba.org.codehaus.jackson.map.*;
4 | import sh.calaba.org.codehaus.jackson.map.type.ArrayType;
5 |
6 | /**
7 | * @deprecated Since 1.9, use {@link sh.calaba.org.codehaus.jackson.map.deser.std.ObjectArrayDeserializer} instead.
8 | */
9 | @Deprecated
10 | public class ArrayDeserializer
11 | extends sh.calaba.org.codehaus.jackson.map.deser.std.ObjectArrayDeserializer
12 | {
13 | /**
14 | * @deprecated
15 | */
16 | @Deprecated
17 | public ArrayDeserializer(ArrayType arrayType, JsonDeserializer