calabash-android 0.4.7.pre6 → 0.4.7.pre7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calabash-android/helpers.rb +7 -15
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/version.rb +1 -1
- data/test-server/build.xml +2 -2
- data/test-server/instrumentation-backend/.classpath +0 -3
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java +1 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForProgress.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/QueryHelper.java +1 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/json/JSONUtils.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/QueryResult.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryUtils.java +203 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/apache/http/entity/mime/version.properties +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variant.java +413 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variants.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/FormatSchema.java +29 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonEncoding.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonFactory.java +937 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerationException.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerator.java +1197 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonLocation.java +141 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonNode.java +879 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParseException.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParser.java +1434 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonProcessingException.java +80 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonStreamContext.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonToken.java +161 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/ObjectCodec.java +157 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/PrettyPrinter.java +166 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/SerializableString.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Version.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Versioned.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JacksonAnnotation.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnyGetter.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnySetter.java +24 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAutoDetect.java +148 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonBackReference.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonCreator.java +19 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonGetter.java +35 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnore.java +57 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreProperties.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreType.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonManagedReference.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonMethod.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonProperty.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonPropertyOrder.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonRawValue.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSetter.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSubTypes.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeInfo.java +236 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeName.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonUnwrapped.java +76 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonValue.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonWriteNullProperties.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/package-info.java +16 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatDetector.java +176 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatMatcher.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/InputAccessor.java +130 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/MatchStrength.java +64 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ByteSourceBootstrapper.java +518 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/DefaultPrettyPrinter.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Indenter.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonGeneratorBase.java +570 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonNumericParserBase.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserBase.java +1067 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserMinimalBase.java +539 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonReadContext.java +188 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonWriteContext.java +178 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParser.java +1815 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParserBase.java +228 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/StreamBasedParserBase.java +197 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8Generator.java +1757 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8StreamParser.java +2966 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/WriterBasedGenerator.java +1815 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/package-info.java +6 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/BaseReader.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/CharacterEscapes.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/IOContext.java +239 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/InputDecorator.java +67 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/JsonStringEncoder.java +408 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/MergedStream.java +145 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberInput.java +303 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberOutput.java +398 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/OutputDecorator.java +40 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SegmentedStringWriter.java +104 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SerializedString.java +114 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF32Reader.java +214 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF8Writer.java +387 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/package.html +4 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AbstractTypeResolver.java +63 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AnnotationIntrospector.java +1485 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanDescription.java +171 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanProperty.java +123 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanPropertyDefinition.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ClassIntrospector.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualDeserializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualKeyDeserializer.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationConfig.java +926 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationContext.java +262 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationProblemHandler.java +56 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerFactory.java +356 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerProvider.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Deserializers.java +339 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/HandlerInstantiator.java +115 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/InjectableValues.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonDeserializer.java +166 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonMappingException.java +335 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializable.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializableWithType.java +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializer.java +138 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializer.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializers.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MapperConfig.java +1154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingIterator.java +190 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingJsonFactory.java +81 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Module.java +255 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectMapper.java +2885 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectReader.java +958 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectWriter.java +554 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/PropertyNamingStrategy.java +258 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableDeserializer.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableSerializer.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/RuntimeJsonMappingException.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializationConfig.java +1041 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerFactory.java +198 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerProvider.java +552 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Serializers.java +137 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeDeserializer.java +118 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeSerializer.java +164 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonInject.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonStdImpl.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonCachable.java +32 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonDeserialize.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonFilter.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonRootName.java +29 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonSerialize.java +216 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeIdResolver.java +35 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeResolver.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonValueInstantiator.java +26 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonView.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/NoClass.java +19 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/AbstractDeserializer.java +102 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializer.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BasicDeserializerFactory.java +894 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializer.java +1537 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerBuilder.java +277 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerFactory.java +1474 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerModifier.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CollectionDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ContainerDeserializer.java +14 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CustomDeserializerFactory.java +227 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/DateDeserializer.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumDeserializer.java +15 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumResolver.java +17 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/FromStringDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/JsonNodeDeserializer.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/MapDeserializer.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableAnyProperty.java +177 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableBeanProperty.java +827 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializationContext.java +326 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializer.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializerProvider.java +494 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializers.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializer.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdScalarDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ThrowableDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/UntypedObjectDeserializer.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiator.java +280 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiators.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/BeanPropertyMap.java +257 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorCollector.java +141 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorProperty.java +152 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ExternalTypeHandler.java +173 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyBasedCreator.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValue.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValueBuffer.java +102 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/UnwrappedPropertyHandler.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ValueInjector.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/package-info.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicBooleanDeserializer.java +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicReferenceDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CalendarDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ClassDeserializer.java +49 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CollectionDeserializer.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ContainerDeserializerBase.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/DateDeserializer.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumDeserializer.java +139 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumMapDeserializer.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumSetDeserializer.java +89 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/FromStringDeserializer.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JavaTypeDeserializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JsonNodeDeserializer.java +314 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/MapDeserializer.java +412 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ObjectArrayDeserializer.java +201 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/PrimitiveArrayDeserializers.java +583 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdDeserializer.java +1136 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializer.java +340 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializers.java +108 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdScalarDeserializer.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdValueInstantiator.java +392 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringCollectionDeserializer.java +227 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringDeserializer.java +55 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ThrowableDeserializer.java +164 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TimestampDeserializer.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TokenBufferDeserializer.java +36 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/UntypedObjectDeserializer.java +248 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/package-info.java +15 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/exc/UnrecognizedPropertyException.java +75 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/DOMDeserializer.java +65 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/OptionalHandlerFactory.java +217 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/package-info.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/Annotated.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedClass.java +980 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedConstructor.java +143 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedField.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMember.java +56 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethod.java +188 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethodMap.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedParameter.java +191 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedWithParams.java +195 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotationMap.java +101 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicBeanDescription.java +615 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicClassIntrospector.java +364 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/JacksonAnnotationIntrospector.java +813 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MemberKey.java +83 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MethodFilter.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/NopAnnotationIntrospector.java +209 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertiesCollector.java +713 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertyBuilder.java +648 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/VisibilityChecker.java +424 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/package-info.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/NamedType.java +53 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/SubtypeResolver.java +39 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeIdResolver.java +74 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeResolverBuilder.java +151 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeDeserializer.java +126 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeSerializer.java +110 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeDeserializer.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeSerializer.java +129 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeDeserializer.java +191 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeSerializer.java +69 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeDeserializer.java +103 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeSerializer.java +121 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/ClassNameIdResolver.java +138 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/MinimalClassNameIdResolver.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdSubtypeResolver.java +151 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdTypeResolverBuilder.java +202 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeDeserializerBase.java +154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeIdResolverBase.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeNameIdResolver.java +154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeSerializerBase.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/package-info.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/package-info.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleAbstractTypeResolver.java +86 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleDeserializers.java +130 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleKeyDeserializers.java +59 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleModule.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleSerializers.java +206 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleValueInstantiators.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/package-info.java +16 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/package-info.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/AnyGetterWriter.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ArraySerializers.java +7 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BasicSerializerFactory.java +806 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyFilter.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyWriter.java +512 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializer.java +126 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerBuilder.java +140 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerFactory.java +780 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerModifier.java +95 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ContainerSerializers.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/CustomSerializerFactory.java +293 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/EnumSerializer.java +17 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilterProvider.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilteredBeanPropertyWriter.java +96 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/JdkSerializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/MapSerializer.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/PropertyBuilder.java +372 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ScalarSerializerBase.java +18 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/SerializerBase.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdKeySerializer.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializerProvider.java +852 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializers.java +372 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ToStringSerializer.java +14 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/FailingSerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/JsonSerializerMap.java +93 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/PropertySerializerMap.java +231 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/ReadOnlyClassToSerializerMap.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SerializerCache.java +304 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleBeanPropertyFilter.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleFilterProvider.java +114 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnknownSerializer.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanPropertyWriter.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanSerializer.java +76 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/AsArraySerializerBase.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/BeanSerializerBase.java +340 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CalendarSerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CollectionSerializer.java +113 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ContainerSerializerBase.java +51 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/DateSerializer.java +42 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumMapSerializer.java +218 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSerializer.java +84 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSetSerializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IndexedStringListSerializer.java +116 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/InetAddressSerializer.java +51 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IterableSerializer.java +63 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/JsonValueSerializer.java +233 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/MapSerializer.java +422 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NonTypedScalarSerializerBase.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NullSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ObjectArraySerializer.java +281 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/RawSerializer.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ScalarSerializerBase.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableSerializer.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableWithTypeSerializer.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializerBase.java +184 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StaticListSerializerBase.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdArraySerializers.java +476 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdContainerSerializers.java +249 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdJdkSerializers.java +195 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializers.java +95 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringCollectionSerializer.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringSerializer.java +36 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TimeZoneSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ToStringSerializer.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TokenBufferSerializer.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ArrayType.java +260 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ClassKey.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionLikeType.java +204 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionType.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/HierarchicType.java +88 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapLikeType.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapType.java +146 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/SimpleType.java +250 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBase.java +148 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBindings.java +351 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeFactory.java +1165 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeModifier.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeParser.java +134 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/package-info.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Annotations.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ArrayBuilders.java +293 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/BeanUtil.java +260 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ClassUtil.java +645 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Comparators.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumResolver.java +108 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumValues.java +82 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601DateFormat.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601Utils.java +230 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONPObject.java +105 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONWrappedObject.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LRUMap.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LinkedNode.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Named.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ObjectBuffer.java +257 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/PrimitiveArrayBuilder.java +180 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Provider.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/RootNameLookup.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/StdDateFormat.java +348 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/package-info.java +4 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ArrayNode.java +758 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BaseJsonNode.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BigIntegerNode.java +104 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BinaryNode.java +136 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BooleanNode.java +84 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ContainerNode.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DecimalNode.java +96 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DoubleNode.java +106 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/IntNode.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/JsonNodeFactory.java +222 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/LongNode.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/MissingNode.java +97 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NodeCursor.java +222 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NullNode.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NumericNode.java +72 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ObjectNode.java +696 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/POJONode.java +145 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TextNode.java +299 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TreeTraversingParser.java +383 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ValueNode.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/package-info.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSchema.java +82 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSerializableSchema.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/SchemaAware.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/BytesToNameCanonicalizer.java +969 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/CharsToNameCanonicalizer.java +578 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name.java +50 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name1.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name2.java +40 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name3.java +39 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/NameN.java +68 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/JavaType.java +503 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/TypeReference.java +60 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/BufferRecycler.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/ByteArrayBuilder.java +294 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/CharTypes.java +237 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/DefaultPrettyPrinter.java +282 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/InternCache.java +49 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonGeneratorDelegate.java +273 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserDelegate.java +251 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserSequence.java +150 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/MinimalPrettyPrinter.java +152 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TextBuffer.java +707 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TokenBuffer.java +1233 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/VersionUtil.java +79 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java +4 -0
- metadata +409 -5
- data/test-server/instrumentation-backend/libs/jackson-annotations-2.2.0-rc2-20130418.042013-1.jar +0 -0
- data/test-server/instrumentation-backend/libs/jackson-core-2.2.0-rc2-20130420.041001-2.jar +0 -0
- data/test-server/instrumentation-backend/libs/jackson-databind-2.2.0-rc2-20130422.041053-3.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cef60c767cc5d65fbe92b152d074a39110485815
|
4
|
+
data.tar.gz: 2176ececc5a8775c25c273459c7365b72a63e9db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d2f70bebaf738c050561bf42b9fd0be6853496270b546f9fb326e00de49bcd9dd42f5b0cfc8a9b33e8312c785553d8c1d6001e9eb419849c8fe3ad8a89fa36d
|
7
|
+
data.tar.gz: f819d4a18a951b5264fb7e6a17786a98faed5f07efd0b164f7e8db4b49dc033bc658e75155ae217f62b169f7051e04eea4bf0e1164b18d9bb1f5a497e9446a5a
|
@@ -28,22 +28,14 @@ end
|
|
28
28
|
def manifest(app)
|
29
29
|
out_path = manifest_path(app)
|
30
30
|
manifest_file = File.join(out_path, 'AndroidManifest.xml')
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
output = `java -jar "#{manifest_extractor}" d -s "#{app}" #{out_path} &> .calabash.extract.out`
|
38
|
-
unless File.size?(manifest_file)
|
39
|
-
f = File.size?('.calabash.extract.out') ? File.read('.calabash.extract.out') : ''
|
40
|
-
raise ("Unable to extract manifest: #{output}\n#{f}")
|
41
|
-
else
|
42
|
-
output = File.read(manifest_file)
|
31
|
+
unless File.exist?(manifest_file)
|
32
|
+
manifest_extractor = File.join(File.expand_path(File.dirname(__FILE__)),'lib', 'apktool-cli-1.5.3-SNAPSHOT.jar')
|
33
|
+
output = `java -jar "#{manifest_extractor}" d -s "#{app}" #{out_path} 2>&1`
|
34
|
+
raise "Unable to extract manifest: #{output}" unless File.size?(manifest_file)
|
35
|
+
# Tidy up a bit. It would be nice if apktool could just dump the manifest alone.
|
36
|
+
FileUtils.rm_rf(%w{res assets classes.dex}.map {|f| File.join(out_path, f) })
|
43
37
|
end
|
44
|
-
|
45
|
-
output
|
46
|
-
|
38
|
+
File.read(manifest_file)
|
47
39
|
end
|
48
40
|
|
49
41
|
def checksum(file_path)
|
Binary file
|
data/test-server/build.xml
CHANGED
@@ -76,10 +76,10 @@
|
|
76
76
|
source="1.6"
|
77
77
|
target="1.6"
|
78
78
|
debug="true"
|
79
|
+
includeantruntime="false"
|
79
80
|
bootclasspathref="android.target.classpath"
|
80
81
|
classpath="${extensible.classpath}"
|
81
|
-
classpathref="jar.libs.ref"
|
82
|
-
</javac>
|
82
|
+
classpathref="jar.libs.ref" />
|
83
83
|
</target>
|
84
84
|
|
85
85
|
|
@@ -7,8 +7,5 @@
|
|
7
7
|
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
8
8
|
<classpathentry kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
|
9
9
|
<classpathentry kind="lib" path="libs/robotium-solo-4.1.jar"/>
|
10
|
-
<classpathentry kind="lib" path="libs/jackson-core-2.2.0-rc2-20130420.041001-2.jar"/>
|
11
|
-
<classpathentry kind="lib" path="libs/jackson-databind-2.2.0-rc2-20130422.041053-3.jar"/>
|
12
|
-
<classpathentry kind="lib" path="libs/jackson-annotations-2.2.0-rc2-20130418.042013-1.jar"/>
|
13
10
|
<classpathentry kind="output" path="bin/classes"/>
|
14
11
|
</classpath>
|
@@ -20,12 +20,11 @@ import sh.calaba.instrumentationbackend.InstrumentationBackend;
|
|
20
20
|
import sh.calaba.instrumentationbackend.Result;
|
21
21
|
import sh.calaba.instrumentationbackend.json.JSONUtils;
|
22
22
|
import sh.calaba.instrumentationbackend.query.Query;
|
23
|
+
import sh.calaba.org.codehaus.jackson.map.ObjectMapper;
|
23
24
|
import android.graphics.Bitmap;
|
24
25
|
import android.util.Log;
|
25
26
|
import android.view.View;
|
26
27
|
|
27
|
-
import com.fasterxml.jackson.databind.ObjectMapper;
|
28
|
-
|
29
28
|
public class HttpServer extends NanoHTTPD {
|
30
29
|
private static final String TAG = "InstrumentationBackend";
|
31
30
|
private boolean running = true;
|
@@ -36,7 +36,7 @@ public class WaitForProgress implements Action {
|
|
36
36
|
private int numberOfVisibleProgressBars() {
|
37
37
|
int visibleProgressBars = 0;
|
38
38
|
for (ProgressBar v : InstrumentationBackend.solo.getCurrentViews(ProgressBar.class)) {
|
39
|
-
if (v != null & v.getVisibility() != View.GONE && v.getVisibility() != View.INVISIBLE) {
|
39
|
+
if (v != null & v.getVisibility() != View.GONE && v.getVisibility() != View.INVISIBLE && v.isShown()) {
|
40
40
|
visibleProgressBars++;
|
41
41
|
System.out.println("Found visible progressbar number:" + visibleProgressBars);
|
42
42
|
}
|
@@ -10,10 +10,9 @@ import java.util.Map;
|
|
10
10
|
|
11
11
|
import sh.calaba.instrumentationbackend.InstrumentationBackend;
|
12
12
|
import sh.calaba.instrumentationbackend.actions.webview.CalabashChromeClient.WebFuture;
|
13
|
+
import sh.calaba.org.codehaus.jackson.map.ObjectMapper;
|
13
14
|
import android.webkit.WebView;
|
14
15
|
|
15
|
-
import com.fasterxml.jackson.databind.ObjectMapper;
|
16
|
-
|
17
16
|
public class QueryHelper {
|
18
17
|
|
19
18
|
|
@@ -22,6 +22,8 @@ import sh.calaba.instrumentationbackend.query.CompletedFuture;
|
|
22
22
|
import sh.calaba.instrumentationbackend.query.Query;
|
23
23
|
import sh.calaba.instrumentationbackend.query.ViewMapper;
|
24
24
|
import sh.calaba.instrumentationbackend.query.antlr.UIQueryParser;
|
25
|
+
import sh.calaba.org.codehaus.jackson.map.ObjectMapper;
|
26
|
+
import sh.calaba.org.codehaus.jackson.type.TypeReference;
|
25
27
|
import android.text.InputType;
|
26
28
|
import android.view.View;
|
27
29
|
import android.webkit.WebView;
|
@@ -29,14 +31,10 @@ import android.widget.Button;
|
|
29
31
|
import android.widget.CheckBox;
|
30
32
|
import android.widget.TextView;
|
31
33
|
|
32
|
-
|
33
|
-
import com.fasterxml.jackson.databind.ObjectMapper;
|
34
|
+
public class UIQueryUtils {
|
34
35
|
|
35
|
-
public class UIQueryUtils {
|
36
|
-
|
37
36
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
38
|
-
public static List subviews(Object o)
|
39
|
-
{
|
37
|
+
public static List subviews(Object o) {
|
40
38
|
try {
|
41
39
|
Method getChild = o.getClass().getMethod("getChildAt", int.class);
|
42
40
|
getChild.setAccessible(true);
|
@@ -44,87 +42,77 @@ public class UIQueryUtils {
|
|
44
42
|
getChildCount.setAccessible(true);
|
45
43
|
List result = new ArrayList(8);
|
46
44
|
int childCount = (Integer) getChildCount.invoke(o);
|
47
|
-
for (int i=0;i<childCount;i++)
|
48
|
-
{
|
45
|
+
for (int i = 0; i < childCount; i++) {
|
49
46
|
result.add(getChild.invoke(o, i));
|
50
47
|
}
|
51
48
|
return result;
|
52
|
-
|
53
|
-
} catch (NoSuchMethodException e) {
|
49
|
+
|
50
|
+
} catch (NoSuchMethodException e) {
|
54
51
|
return Collections.EMPTY_LIST;
|
55
|
-
} catch (IllegalArgumentException e) {
|
52
|
+
} catch (IllegalArgumentException e) {
|
56
53
|
return Collections.EMPTY_LIST;
|
57
|
-
} catch (IllegalAccessException e) {
|
54
|
+
} catch (IllegalAccessException e) {
|
58
55
|
return Collections.EMPTY_LIST;
|
59
56
|
} catch (InvocationTargetException e) {
|
60
57
|
return Collections.EMPTY_LIST;
|
61
58
|
}
|
62
|
-
|
59
|
+
|
63
60
|
}
|
64
|
-
|
61
|
+
|
65
62
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
66
|
-
public static List parents(Object o)
|
67
|
-
{
|
63
|
+
public static List parents(Object o) {
|
68
64
|
try {
|
69
|
-
|
65
|
+
|
70
66
|
Method getParent = o.getClass().getMethod("getParent");
|
71
67
|
getParent.setAccessible(true);
|
72
|
-
|
68
|
+
|
73
69
|
List result = new ArrayList(8);
|
74
70
|
try {
|
75
|
-
while (true)
|
76
|
-
{
|
71
|
+
while (true) {
|
77
72
|
Object parent = getParent.invoke(o);
|
78
|
-
if (parent == null)
|
79
|
-
{
|
73
|
+
if (parent == null) {
|
80
74
|
return result;
|
81
|
-
}
|
82
|
-
else
|
83
|
-
{
|
75
|
+
} else {
|
84
76
|
result.add(parent);
|
85
77
|
}
|
86
|
-
o = parent;
|
87
|
-
}
|
78
|
+
o = parent;
|
79
|
+
}
|
88
80
|
} catch (IllegalArgumentException e) {
|
89
81
|
return result;
|
90
82
|
} catch (IllegalAccessException e) {
|
91
83
|
return result;
|
92
84
|
} catch (InvocationTargetException e) {
|
93
85
|
return result;
|
94
|
-
}
|
95
|
-
|
96
|
-
|
86
|
+
}
|
87
|
+
|
97
88
|
} catch (NoSuchMethodException e) {
|
98
89
|
return Collections.EMPTY_LIST;
|
99
|
-
}
|
100
|
-
|
90
|
+
}
|
91
|
+
|
101
92
|
}
|
102
93
|
|
103
94
|
@SuppressWarnings({ "rawtypes" })
|
104
95
|
public static Method hasProperty(Object o, String propertyName) {
|
105
|
-
|
106
|
-
Class c = o.getClass();
|
107
|
-
Method method = methodOrNull(c,propertyName);
|
108
|
-
if (method != null) {
|
109
|
-
|
110
|
-
if (method != null) { return method;}
|
111
|
-
method = methodOrNull(c,"is"+captitalize(propertyName));
|
112
|
-
return method;
|
113
|
-
|
114
|
-
/*
|
115
|
-
for (Method m : methods)
|
116
|
-
{
|
117
|
-
String methodName = m.getName();
|
118
|
-
if (methodName.equals(propertyName) ||
|
119
|
-
methodName.equals("is"+captitalize(propertyName)) ||
|
120
|
-
methodName.equals("get"+captitalize(propertyName)))
|
121
|
-
{
|
122
|
-
return m;
|
123
|
-
}
|
96
|
+
|
97
|
+
Class c = o.getClass();
|
98
|
+
Method method = methodOrNull(c, propertyName);
|
99
|
+
if (method != null) {
|
100
|
+
return method;
|
124
101
|
}
|
125
|
-
|
126
|
-
|
127
|
-
|
102
|
+
method = methodOrNull(c, "get" + captitalize(propertyName));
|
103
|
+
if (method != null) {
|
104
|
+
return method;
|
105
|
+
}
|
106
|
+
method = methodOrNull(c, "is" + captitalize(propertyName));
|
107
|
+
return method;
|
108
|
+
|
109
|
+
/*
|
110
|
+
* for (Method m : methods) { String methodName = m.getName(); if
|
111
|
+
* (methodName.equals(propertyName) ||
|
112
|
+
* methodName.equals("is"+captitalize(propertyName)) ||
|
113
|
+
* methodName.equals("get"+captitalize(propertyName))) { return m; } }
|
114
|
+
*/
|
115
|
+
|
128
116
|
}
|
129
117
|
|
130
118
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
@@ -137,56 +125,68 @@ public class UIQueryUtils {
|
|
137
125
|
}
|
138
126
|
|
139
127
|
private static String captitalize(String propertyName) {
|
140
|
-
return propertyName.substring(0,1).toUpperCase()
|
128
|
+
return propertyName.substring(0, 1).toUpperCase()
|
129
|
+
+ propertyName.substring(1);
|
141
130
|
}
|
142
131
|
|
143
|
-
public static Object getProperty(Object receiver, Method m) {
|
132
|
+
public static Object getProperty(Object receiver, Method m) {
|
144
133
|
try {
|
145
134
|
return m.invoke(receiver);
|
146
135
|
} catch (IllegalArgumentException e) {
|
147
136
|
throw new RuntimeException(e);
|
148
137
|
} catch (IllegalAccessException e) {
|
149
138
|
throw new RuntimeException(e);
|
150
|
-
} catch (InvocationTargetException e) {
|
139
|
+
} catch (InvocationTargetException e) {
|
151
140
|
throw new RuntimeException(e);
|
152
141
|
}
|
153
142
|
}
|
154
143
|
|
155
144
|
public static boolean isVisible(Object v) {
|
156
|
-
if (!(v instanceof View)) {
|
145
|
+
if (!(v instanceof View)) {
|
146
|
+
return true;
|
147
|
+
}
|
157
148
|
View view = (View) v;
|
158
149
|
|
159
|
-
|
160
|
-
|
161
|
-
|
150
|
+
if (view.getHeight() == 0 || view.getWidth() == 0) {
|
151
|
+
return false;
|
152
|
+
}
|
162
153
|
|
163
154
|
return view.isShown() && viewFetcher.isViewSufficientlyShown(view);
|
164
155
|
}
|
165
156
|
|
157
|
+
public static boolean isClickable(Object v) {
|
158
|
+
if (!(v instanceof View)) {
|
159
|
+
return true;
|
160
|
+
}
|
161
|
+
View view = (View) v;
|
162
|
+
|
163
|
+
return view.isClickable();
|
164
|
+
}
|
165
|
+
|
166
166
|
public static String getId(View view) {
|
167
167
|
return ViewMapper.getIdForView(view);
|
168
168
|
}
|
169
169
|
|
170
170
|
@SuppressWarnings("rawtypes")
|
171
|
-
public static Future evaluateAsyncInMainThread(final Callable callable)
|
171
|
+
public static Future evaluateAsyncInMainThread(final Callable callable)
|
172
|
+
throws Exception {
|
172
173
|
final AtomicReference<Future> result = new AtomicReference<Future>();
|
173
174
|
final AtomicReference<Exception> errorResult = new AtomicReference<Exception>();
|
174
|
-
|
175
|
-
InstrumentationBackend.instrumentation.runOnMainSync(new Runnable() {
|
175
|
+
|
176
|
+
InstrumentationBackend.instrumentation.runOnMainSync(new Runnable() {
|
176
177
|
@SuppressWarnings("unchecked")
|
177
178
|
public void run() {
|
178
179
|
try {
|
179
180
|
Object res = callable.call();
|
180
181
|
if (res instanceof Future) {
|
181
182
|
result.set((Future) res);
|
182
|
-
}
|
183
|
-
else {
|
183
|
+
} else {
|
184
184
|
result.set(new CompletedFuture(res));
|
185
185
|
}
|
186
186
|
} catch (Exception e) {
|
187
187
|
errorResult.set(e);
|
188
|
-
}
|
189
|
-
}
|
188
|
+
}
|
189
|
+
}
|
190
190
|
});
|
191
191
|
if (result.get() == null) {
|
192
192
|
throw errorResult.get();
|
@@ -197,30 +197,33 @@ public class UIQueryUtils {
|
|
197
197
|
@SuppressWarnings("rawtypes")
|
198
198
|
public static Object evaluateSyncInMainThread(Callable callable) {
|
199
199
|
try {
|
200
|
-
return evaluateAsyncInMainThread(callable)
|
200
|
+
return evaluateAsyncInMainThread(callable)
|
201
|
+
.get(10, TimeUnit.SECONDS);
|
201
202
|
} catch (RuntimeException e) {
|
202
203
|
throw e;
|
203
|
-
}
|
204
|
-
catch (Exception e) {
|
204
|
+
} catch (Exception e) {
|
205
205
|
e.printStackTrace();
|
206
206
|
throw new RuntimeException(e);
|
207
|
-
}
|
207
|
+
}
|
208
208
|
}
|
209
|
-
|
209
|
+
|
210
210
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
211
|
-
public static List<Map<String, Object>> mapWebViewJsonResponse(
|
211
|
+
public static List<Map<String, Object>> mapWebViewJsonResponse(
|
212
|
+
final String jsonResponse, final WebView webView) {
|
212
213
|
return (List<Map<String, Object>>) evaluateSyncInMainThread(new Callable() {
|
213
214
|
|
214
215
|
@Override
|
215
216
|
public Object call() throws Exception {
|
216
217
|
List<Map<String, Object>> parsedResult;
|
217
218
|
try {
|
218
|
-
parsedResult = new ObjectMapper().readValue(
|
219
|
-
|
220
|
-
|
221
|
-
for (Map<String,Object> data : parsedResult) {
|
222
|
-
Map<String,Object> rect = (Map<String, Object>) data
|
223
|
-
|
219
|
+
parsedResult = new ObjectMapper().readValue(jsonResponse,
|
220
|
+
new TypeReference<List<HashMap<String, Object>>>() {
|
221
|
+
});
|
222
|
+
for (Map<String, Object> data : parsedResult) {
|
223
|
+
Map<String, Object> rect = (Map<String, Object>) data
|
224
|
+
.get("rect");
|
225
|
+
Map<String, Object> updatedRect = QueryHelper
|
226
|
+
.translateRectToScreenCoordinates(webView, rect);
|
224
227
|
data.put("rect", updatedRect);
|
225
228
|
data.put("webView", webView);
|
226
229
|
}
|
@@ -228,24 +231,23 @@ public class UIQueryUtils {
|
|
228
231
|
} catch (Exception igored) {
|
229
232
|
try {
|
230
233
|
Map resultAsMap = new ObjectMapper().readValue(
|
231
|
-
|
232
|
-
|
233
|
-
//This usually happens in case of error
|
234
|
-
//check this case
|
234
|
+
jsonResponse, new TypeReference<HashMap>() {
|
235
|
+
});
|
236
|
+
// This usually happens in case of error
|
237
|
+
// check this case
|
235
238
|
System.out.println(resultAsMap);
|
236
239
|
String errorMsg = (String) resultAsMap.get("error");
|
237
240
|
System.out.println(errorMsg);
|
238
241
|
return Collections.singletonList(resultAsMap);
|
239
242
|
} catch (Exception e) {
|
240
243
|
e.printStackTrace();
|
241
|
-
throw new RuntimeException(e);
|
244
|
+
throw new RuntimeException(e);
|
242
245
|
}
|
243
|
-
|
244
|
-
|
245
|
-
}
|
246
|
+
|
247
|
+
}
|
246
248
|
}
|
247
249
|
});
|
248
|
-
|
250
|
+
|
249
251
|
}
|
250
252
|
|
251
253
|
public static Object parseValue(CommonTree val) {
|
@@ -254,7 +256,7 @@ public class UIQueryUtils {
|
|
254
256
|
String textWithPings = val.getText();
|
255
257
|
String text = textWithPings
|
256
258
|
.substring(1, textWithPings.length() - 1);
|
257
|
-
|
259
|
+
text = text.replaceAll("\\\\'", "'");
|
258
260
|
return text;
|
259
261
|
}
|
260
262
|
case UIQueryParser.INT:
|
@@ -274,147 +276,141 @@ public class UIQueryUtils {
|
|
274
276
|
|
275
277
|
}
|
276
278
|
|
277
|
-
/*
|
278
|
-
|
279
|
-
{"rect"=>{"x"=>0, "y"=>0, "width"=>768, "height"=>1024},
|
280
|
-
"hit-point"=>{"x"=>384, "y"=>512},
|
281
|
-
"
|
282
|
-
"
|
283
|
-
|
284
|
-
|
285
|
-
"
|
286
|
-
|
287
|
-
"name"=>nil,
|
288
|
-
"label"=>nil,
|
289
|
-
"children"=> [(samestructure)*]
|
290
|
-
|
291
|
-
*/
|
292
|
-
public static Map<?,?> dump()
|
293
|
-
{
|
294
|
-
Query dummyQuery = new Query("not_used");
|
295
|
-
|
279
|
+
/*
|
280
|
+
*
|
281
|
+
* {"rect"=>{"x"=>0, "y"=>0, "width"=>768, "height"=>1024},
|
282
|
+
* "hit-point"=>{"x"=>384, "y"=>512}, "id"=>"", "action"=>false,
|
283
|
+
* "enabled"=>1, "visible"=>1, "value"=>nil, "type"=>"[object UIAWindow]",
|
284
|
+
* "name"=>nil, "label"=>nil, "children"=> [(samestructure)*]
|
285
|
+
*/
|
286
|
+
public static Map<?, ?> dump() {
|
287
|
+
Query dummyQuery = new Query("not_used");
|
288
|
+
|
296
289
|
return dumpRecursively(emptyRootView(), dummyQuery.rootViews());
|
297
290
|
}
|
298
|
-
|
291
|
+
|
299
292
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
300
|
-
public static Map
|
301
|
-
if (dump == null)
|
293
|
+
public static Map<?, ?> mapWithElAsNull(Map<?, ?> dump) {
|
294
|
+
if (dump == null)
|
295
|
+
return null;
|
302
296
|
HashMap result = new HashMap(dump);
|
303
|
-
result.put("el",null);
|
297
|
+
result.put("el", null);
|
304
298
|
return result;
|
305
299
|
}
|
306
300
|
|
307
|
-
|
308
|
-
|
309
301
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
310
|
-
protected static Map
|
311
|
-
|
302
|
+
protected static Map<?, ?> dumpRecursively(Map parentView,
|
303
|
+
List<View> children) {
|
312
304
|
ArrayList childrenArray = new ArrayList(32);
|
313
|
-
for (int i=0;i<children.size();i++) {
|
305
|
+
for (int i = 0; i < children.size(); i++) {
|
314
306
|
View view = children.get(i);
|
315
307
|
Map serializedChild = serializeViewToDump(view);
|
316
|
-
List<Integer> childPath = new ArrayList<Integer>(
|
308
|
+
List<Integer> childPath = new ArrayList<Integer>(
|
309
|
+
(List) parentView.get("path"));
|
317
310
|
childPath.add(i);
|
318
|
-
serializedChild.put("path", childPath);
|
319
|
-
childrenArray.add(dumpRecursively(serializedChild,
|
311
|
+
serializedChild.put("path", childPath);
|
312
|
+
childrenArray.add(dumpRecursively(serializedChild,
|
313
|
+
UIQueryUtils.subviews(view)));
|
320
314
|
}
|
321
|
-
|
315
|
+
|
322
316
|
parentView.put("children", childrenArray);
|
323
|
-
|
317
|
+
|
324
318
|
return parentView;
|
325
319
|
}
|
326
320
|
|
327
321
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
328
|
-
public static Map
|
322
|
+
public static Map<?, ?> dumpByPath(List<Integer> path) {
|
329
323
|
Query dummyQuery = new Query("not_used");
|
330
|
-
|
324
|
+
|
331
325
|
Map currentView = emptyRootView();
|
332
|
-
List<View> currentChildren = dummyQuery.rootViews();
|
333
|
-
|
334
|
-
for (Integer i:path) {
|
326
|
+
List<View> currentChildren = dummyQuery.rootViews();
|
327
|
+
|
328
|
+
for (Integer i : path) {
|
335
329
|
if (i < currentChildren.size()) {
|
336
|
-
View child = currentChildren.get(i);
|
330
|
+
View child = currentChildren.get(i);
|
337
331
|
currentView = serializeViewToDump(child);
|
338
|
-
currentChildren = UIQueryUtils.subviews(child);
|
339
|
-
}
|
340
|
-
|
341
|
-
return null;
|
332
|
+
currentChildren = UIQueryUtils.subviews(child);
|
333
|
+
} else {
|
334
|
+
return null;
|
342
335
|
}
|
343
|
-
|
336
|
+
|
344
337
|
}
|
345
|
-
|
338
|
+
|
346
339
|
return currentView;
|
347
340
|
}
|
348
|
-
|
341
|
+
|
349
342
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
350
|
-
public static Map
|
351
|
-
if (view == null) {
|
352
|
-
|
343
|
+
public static Map<?, ?> serializeViewToDump(View view) {
|
344
|
+
if (view == null) {
|
345
|
+
return null;
|
346
|
+
}
|
347
|
+
|
353
348
|
Map m = new HashMap();
|
354
|
-
|
355
|
-
m.put("id",getId(view));
|
356
|
-
m.put("el",view);
|
357
|
-
|
349
|
+
|
350
|
+
m.put("id", getId(view));
|
351
|
+
m.put("el", view);
|
352
|
+
|
358
353
|
Map rect = ViewMapper.getRectForView(view);
|
359
354
|
Map hitPoint = extractHitPointFromRect(rect);
|
360
|
-
|
361
|
-
m.put("rect",rect);
|
362
|
-
m.put("hit-point",hitPoint);
|
363
|
-
m.put("action",actionForView(view));
|
364
|
-
m.put("enabled",view.isEnabled());
|
365
|
-
m.put("visible",isVisible(view));
|
355
|
+
|
356
|
+
m.put("rect", rect);
|
357
|
+
m.put("hit-point", hitPoint);
|
358
|
+
m.put("action", actionForView(view));
|
359
|
+
m.put("enabled", view.isEnabled());
|
360
|
+
m.put("visible", isVisible(view));
|
366
361
|
m.put("entry_types", elementEntryTypes(view));
|
367
|
-
m.put("value",extractValueFromView(view));
|
368
|
-
m.put("type",ViewMapper.getClassNameForView(view));
|
369
|
-
m.put("name",getNameForView(view));
|
370
|
-
m.put("label",ViewMapper.getContentDescriptionForView(view));
|
362
|
+
m.put("value", extractValueFromView(view));
|
363
|
+
m.put("type", ViewMapper.getClassNameForView(view));
|
364
|
+
m.put("name", getNameForView(view));
|
365
|
+
m.put("label", ViewMapper.getContentDescriptionForView(view));
|
371
366
|
return m;
|
372
367
|
}
|
373
368
|
|
374
369
|
public static List<String> elementEntryTypes(View view) {
|
375
|
-
if (view instanceof TextView)
|
376
|
-
|
377
|
-
|
378
|
-
return mapTextViewInputTypes(textView.getInputType());
|
370
|
+
if (view instanceof TextView) {
|
371
|
+
TextView textView = (TextView) view;
|
372
|
+
return mapTextViewInputTypes(textView.getInputType());
|
379
373
|
}
|
380
374
|
return null;
|
381
|
-
|
375
|
+
|
382
376
|
}
|
383
377
|
|
384
378
|
public static List<String> mapTextViewInputTypes(int inputType) {
|
385
379
|
List<String> inputTypes = new ArrayList<String>();
|
386
|
-
if (inputTypeHasTrait(inputType, InputType.TYPE_TEXT_VARIATION_PASSWORD)
|
380
|
+
if (inputTypeHasTrait(inputType, InputType.TYPE_TEXT_VARIATION_PASSWORD)
|
381
|
+
|| inputTypeHasTrait(inputType,
|
382
|
+
InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD)) {
|
387
383
|
inputTypes.add("password");
|
388
384
|
}
|
389
385
|
if (inputTypeHasTrait(inputType, InputType.TYPE_CLASS_NUMBER)) {
|
390
386
|
inputTypes.add("numeric");
|
391
387
|
}
|
392
388
|
inputTypes.add(String.valueOf(inputType));
|
393
|
-
|
394
|
-
return inputTypes;
|
389
|
+
|
390
|
+
return inputTypes;
|
395
391
|
}
|
396
392
|
|
397
|
-
private static boolean inputTypeHasTrait(int inputType,
|
398
|
-
int inputTypeTrait) {
|
393
|
+
private static boolean inputTypeHasTrait(int inputType, int inputTypeTrait) {
|
399
394
|
return (inputType & inputTypeTrait) != 0;
|
400
395
|
}
|
401
396
|
|
402
|
-
private static Object getNameForView(View view)
|
403
|
-
{
|
397
|
+
private static Object getNameForView(View view) {
|
404
398
|
Object result = null;
|
405
|
-
Method hintMethod = hasProperty(view,"hint");
|
406
|
-
if (hintMethod!=null)
|
407
|
-
|
408
|
-
|
399
|
+
Method hintMethod = hasProperty(view, "hint");
|
400
|
+
if (hintMethod != null) {
|
401
|
+
result = getProperty(view, hintMethod);
|
402
|
+
}
|
403
|
+
if (result != null) {
|
404
|
+
return result.toString();
|
405
|
+
}
|
406
|
+
Method textMethod = hasProperty(view, "text");
|
407
|
+
if (textMethod != null) {
|
408
|
+
result = getProperty(view, textMethod);
|
409
409
|
}
|
410
|
-
if (result != null) {
|
411
|
-
|
412
|
-
if (textMethod!=null)
|
413
|
-
{
|
414
|
-
result = getProperty(view, textMethod);
|
410
|
+
if (result != null) {
|
411
|
+
return result.toString();
|
415
412
|
}
|
416
|
-
|
417
|
-
|
413
|
+
|
418
414
|
return null;
|
419
415
|
}
|
420
416
|
|
@@ -422,12 +418,10 @@ public class UIQueryUtils {
|
|
422
418
|
if (view instanceof Button) {
|
423
419
|
Button b = (Button) view;
|
424
420
|
return b.getText().toString();
|
425
|
-
}
|
426
|
-
else if (view instanceof CheckBox) {
|
421
|
+
} else if (view instanceof CheckBox) {
|
427
422
|
CheckBox c = (CheckBox) view;
|
428
423
|
return c.isChecked();
|
429
|
-
}
|
430
|
-
else if (view instanceof TextView) {
|
424
|
+
} else if (view instanceof TextView) {
|
431
425
|
TextView t = (TextView) view;
|
432
426
|
return t.getText().toString();
|
433
427
|
}
|
@@ -435,36 +429,23 @@ public class UIQueryUtils {
|
|
435
429
|
}
|
436
430
|
|
437
431
|
/*
|
438
|
-
* function action(el)
|
439
|
-
|
440
|
-
|
441
|
-
if (!normalized) {
|
442
|
-
return false;
|
443
|
-
}
|
444
|
-
if (normalized instanceof UIAButton) {
|
445
|
-
return {
|
446
|
-
"type":'touch',
|
447
|
-
"gesture":'tap'
|
448
|
-
};
|
449
|
-
}
|
450
|
-
//TODO MORE
|
451
|
-
return false;
|
452
|
-
}
|
432
|
+
* function action(el) { var normalized = normalize(el); if (!normalized) {
|
433
|
+
* return false; } if (normalized instanceof UIAButton) { return {
|
434
|
+
* "type":'touch', "gesture":'tap' }; } //TODO MORE return false; }
|
453
435
|
*/
|
454
436
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
455
|
-
public static Map
|
456
|
-
{
|
437
|
+
public static Map<?, ?> actionForView(View view) {
|
457
438
|
Map result = null;
|
458
|
-
if (view instanceof android.widget.Button
|
439
|
+
if (view instanceof android.widget.Button
|
440
|
+
|| view instanceof android.widget.ImageButton) {
|
459
441
|
result = new HashMap();
|
460
|
-
result.put("type","touch");
|
461
|
-
result.put("gesture","tap");
|
442
|
+
result.put("type", "touch");
|
443
|
+
result.put("gesture", "tap");
|
462
444
|
}
|
463
|
-
|
464
|
-
//TODO: obviously many more!
|
445
|
+
|
446
|
+
// TODO: obviously many more!
|
465
447
|
return result;
|
466
|
-
|
467
|
-
|
448
|
+
|
468
449
|
}
|
469
450
|
|
470
451
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
@@ -475,24 +456,24 @@ public class UIQueryUtils {
|
|
475
456
|
return hitPoint;
|
476
457
|
}
|
477
458
|
|
478
|
-
@SuppressWarnings({"unchecked", "rawtypes", "serial"})
|
479
|
-
private static Map
|
480
|
-
return new HashMap() {
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
459
|
+
@SuppressWarnings({ "unchecked", "rawtypes", "serial" })
|
460
|
+
private static Map<?, ?> emptyRootView() {
|
461
|
+
return new HashMap() {
|
462
|
+
{
|
463
|
+
put("id", null);
|
464
|
+
put("el", null);
|
465
|
+
put("rect", null);
|
466
|
+
put("hit-point", null);
|
467
|
+
put("action", false);
|
468
|
+
put("enabled", false);
|
469
|
+
put("visible", true);
|
470
|
+
put("value", null);
|
471
|
+
put("path", new ArrayList<Integer>());
|
472
|
+
put("type", "[object CalabashRootView]");
|
473
|
+
put("name", null);
|
474
|
+
put("label", null);
|
475
|
+
}
|
476
|
+
};
|
494
477
|
}
|
495
478
|
|
496
|
-
|
497
|
-
|
498
479
|
}
|