Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed RefreshTokenTest entry in gitignore

  • Loading branch information...
commit e23fdb3455751e4e099ff86e8fc8d63f8ea88c3f 1 parent d8f17fb
Anand authored
View
3  .gitignore
@@ -3,5 +3,4 @@ target
.project
.settings
test.properties
-release-repo
-RefreshTokenTest.java
+release-repo
View
62 src/test/java/com/force/api/Address.java
@@ -0,0 +1,62 @@
+package com.force.api;
+
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;
+import org.codehaus.jackson.annotate.JsonProperty;
+
+@JsonIgnoreProperties(ignoreUnknown=true)
+public class Address {
+
+ @JsonProperty(value="Id")
+ String id;
+
+ @JsonProperty(value="Contact__r")
+ private Contact contact;
+
+ @JsonProperty(value="Contact__c")
+ private String contactId;
+
+ @JsonProperty(value="Street_Address__c")
+ private String streetAddress;
+
+ public Address() {
+ super();
+ }
+ public Address(String contactId, String streetAddress) {
+ this();
+ this.contactId = contactId;
+ this.streetAddress = streetAddress;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Contact getContact() {
+ return contact;
+ }
+
+ public void setContact(Contact contact) {
+ this.contact = contact;
+ }
+
+ public String getContactId() {
+ return contactId;
+ }
+
+ public void setContactId(String contactId) {
+ this.contactId = contactId;
+ }
+
+ public String getStreetAddress() {
+ return streetAddress;
+ }
+
+ public void setStreetAddress(String streetAddress) {
+ this.streetAddress = streetAddress;
+ }
+
+}
View
4 src/test/resources/test.properties.sample
@@ -1,6 +1,6 @@
# Test fixture
-username=user@domain.com
-password=secretcode
+username=anand.bn@gmail.com
+password=c0mputer
clientId=long-alphanumeric-sequence
clientSecret=shorter-numeric-sequence
redirectURI=http://localhost:5000/_auth
Please sign in to comment.
Something went wrong with that request. Please try again.