USRE-87 remove the file and delete test case xml

This commit is contained in:
YuCheng Hu 2021-11-30 11:04:50 -05:00
parent 1dbac439d4
commit fbc0c6aaec
95 changed files with 285 additions and 332 deletions

View File

@ -3,10 +3,10 @@ package com.ossez.usreio.client;
import java.io.InputStream; import java.io.InputStream;
import java.util.List; import java.util.List;
import com.ossez.usreio.common.metadata.JDomCompactBuilder; import com.ossez.usreio.tests.common.metadata.JDomCompactBuilder;
import com.ossez.usreio.common.metadata.JDomStandardBuilder; import com.ossez.usreio.tests.common.metadata.JDomStandardBuilder;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataException; import com.ossez.usreio.tests.common.metadata.MetadataException;
import org.apache.commons.lang3.math.NumberUtils; import org.apache.commons.lang3.math.NumberUtils;
import org.dom4j.Document; import org.dom4j.Document;
import org.dom4j.DocumentException; import org.dom4j.DocumentException;

View File

@ -1,8 +1,8 @@
package com.ossez.usreio.client; package com.ossez.usreio.client;
import com.ossez.usreio.common.metadata.MetaCollector; import com.ossez.usreio.tests.common.metadata.MetaCollector;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;

View File

@ -2,8 +2,8 @@ package com.ossez.usreio.client;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.Metadata; import com.ossez.usreio.tests.common.metadata.Metadata;
import com.ossez.usreio.common.metadata.MetadataException; import com.ossez.usreio.tests.common.metadata.MetadataException;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;

View File

@ -5,10 +5,10 @@ import java.io.FileWriter;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.JDomCompactBuilder; import com.ossez.usreio.tests.common.metadata.JDomCompactBuilder;
import com.ossez.usreio.common.metadata.JDomStandardBuilder; import com.ossez.usreio.tests.common.metadata.JDomStandardBuilder;
import com.ossez.usreio.common.metadata.Metadata; import com.ossez.usreio.tests.common.metadata.Metadata;
import com.ossez.usreio.common.metadata.MetadataBuilder; import com.ossez.usreio.tests.common.metadata.MetadataBuilder;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.dom4j.Document; import org.dom4j.Document;

View File

@ -5,7 +5,7 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import java.io.Serializable; import java.io.Serializable;

View File

@ -5,7 +5,7 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
@ -15,22 +15,22 @@ import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.dom4j.*; import org.dom4j.*;
import com.ossez.usreio.common.metadata.types.MClass; import com.ossez.usreio.tests.common.metadata.types.MClass;
import com.ossez.usreio.common.metadata.types.MEditMask; import com.ossez.usreio.tests.common.metadata.types.MEditMask;
import com.ossez.usreio.common.metadata.types.MLookup; import com.ossez.usreio.tests.common.metadata.types.MLookup;
import com.ossez.usreio.common.metadata.types.MLookupType; import com.ossez.usreio.tests.common.metadata.types.MLookupType;
import com.ossez.usreio.common.metadata.types.MObject; import com.ossez.usreio.tests.common.metadata.types.MObject;
import com.ossez.usreio.common.metadata.types.MResource; import com.ossez.usreio.tests.common.metadata.types.MResource;
import com.ossez.usreio.common.metadata.types.MSearchHelp; import com.ossez.usreio.tests.common.metadata.types.MSearchHelp;
import com.ossez.usreio.common.metadata.types.MSystem; import com.ossez.usreio.tests.common.metadata.types.MSystem;
import com.ossez.usreio.common.metadata.types.MTable; import com.ossez.usreio.tests.common.metadata.types.MTable;
import com.ossez.usreio.common.metadata.types.MUpdate; import com.ossez.usreio.tests.common.metadata.types.MUpdate;
import com.ossez.usreio.common.metadata.types.MUpdateType; import com.ossez.usreio.tests.common.metadata.types.MUpdateType;
import com.ossez.usreio.common.metadata.types.MValidationExpression; import com.ossez.usreio.tests.common.metadata.types.MValidationExpression;
import com.ossez.usreio.common.metadata.types.MValidationExternal; import com.ossez.usreio.tests.common.metadata.types.MValidationExternal;
import com.ossez.usreio.common.metadata.types.MValidationExternalType; import com.ossez.usreio.tests.common.metadata.types.MValidationExternalType;
import com.ossez.usreio.common.metadata.types.MValidationLookup; import com.ossez.usreio.tests.common.metadata.types.MValidationLookup;
import com.ossez.usreio.common.metadata.types.MValidationLookupType; import com.ossez.usreio.tests.common.metadata.types.MValidationLookupType;
import org.dom4j.io.SAXReader; import org.dom4j.io.SAXReader;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;

View File

@ -5,7 +5,7 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import java.util.Iterator; import java.util.Iterator;
import java.util.LinkedList; import java.util.LinkedList;
@ -13,24 +13,24 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.HashMap; import java.util.HashMap;
import com.ossez.usreio.common.metadata.types.MClass; import com.ossez.usreio.tests.common.metadata.types.MClass;
import com.ossez.usreio.common.metadata.types.MEditMask; import com.ossez.usreio.tests.common.metadata.types.MEditMask;
import com.ossez.usreio.common.metadata.types.MForeignKey; import com.ossez.usreio.tests.common.metadata.types.MForeignKey;
import com.ossez.usreio.common.metadata.types.MLookup; import com.ossez.usreio.tests.common.metadata.types.MLookup;
import com.ossez.usreio.common.metadata.types.MLookupType; import com.ossez.usreio.tests.common.metadata.types.MLookupType;
import com.ossez.usreio.common.metadata.types.MObject; import com.ossez.usreio.tests.common.metadata.types.MObject;
import com.ossez.usreio.common.metadata.types.MResource; import com.ossez.usreio.tests.common.metadata.types.MResource;
import com.ossez.usreio.common.metadata.types.MSearchHelp; import com.ossez.usreio.tests.common.metadata.types.MSearchHelp;
import com.ossez.usreio.common.metadata.types.MSystem; import com.ossez.usreio.tests.common.metadata.types.MSystem;
import com.ossez.usreio.common.metadata.types.MTable; import com.ossez.usreio.tests.common.metadata.types.MTable;
import com.ossez.usreio.common.metadata.types.MUpdate; import com.ossez.usreio.tests.common.metadata.types.MUpdate;
import com.ossez.usreio.common.metadata.types.MUpdateHelp; import com.ossez.usreio.tests.common.metadata.types.MUpdateHelp;
import com.ossez.usreio.common.metadata.types.MUpdateType; import com.ossez.usreio.tests.common.metadata.types.MUpdateType;
import com.ossez.usreio.common.metadata.types.MValidationExpression; import com.ossez.usreio.tests.common.metadata.types.MValidationExpression;
import com.ossez.usreio.common.metadata.types.MValidationExternal; import com.ossez.usreio.tests.common.metadata.types.MValidationExternal;
import com.ossez.usreio.common.metadata.types.MValidationExternalType; import com.ossez.usreio.tests.common.metadata.types.MValidationExternalType;
import com.ossez.usreio.common.metadata.types.MValidationLookup; import com.ossez.usreio.tests.common.metadata.types.MValidationLookup;
import com.ossez.usreio.common.metadata.types.MValidationLookupType; import com.ossez.usreio.tests.common.metadata.types.MValidationLookupType;
import org.dom4j.Attribute; import org.dom4j.Attribute;
import org.dom4j.Document; import org.dom4j.Document;
import org.dom4j.Element; import org.dom4j.Element;

View File

@ -5,7 +5,7 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import java.io.Serializable; import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import java.io.Serializable; import java.io.Serializable;
import java.util.Collection; import java.util.Collection;
@ -15,14 +15,14 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import com.ossez.usreio.common.metadata.attrib.AttrAlphanum; import com.ossez.usreio.tests.common.metadata.attrib.AttrAlphanum;
import com.ossez.usreio.common.metadata.attrib.AttrBoolean; import com.ossez.usreio.tests.common.metadata.attrib.AttrBoolean;
import com.ossez.usreio.common.metadata.attrib.AttrDate; import com.ossez.usreio.tests.common.metadata.attrib.AttrDate;
import com.ossez.usreio.common.metadata.attrib.AttrNumeric; import com.ossez.usreio.tests.common.metadata.attrib.AttrNumeric;
import com.ossez.usreio.common.metadata.attrib.AttrNumericPositive; import com.ossez.usreio.tests.common.metadata.attrib.AttrNumericPositive;
import com.ossez.usreio.common.metadata.attrib.AttrPlaintext; import com.ossez.usreio.tests.common.metadata.attrib.AttrPlaintext;
import com.ossez.usreio.common.metadata.attrib.AttrText; import com.ossez.usreio.tests.common.metadata.attrib.AttrText;
import com.ossez.usreio.common.metadata.attrib.AttrVersion; import com.ossez.usreio.tests.common.metadata.attrib.AttrVersion;
public abstract class MetaObject implements Serializable { public abstract class MetaObject implements Serializable {
private static final Log LOG = LogFactory.getLog(MetaObject.class); private static final Log LOG = LogFactory.getLog(MetaObject.class);

View File

@ -5,7 +5,7 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
public class MetaParseException extends MetadataException { public class MetaParseException extends MetadataException {
public MetaParseException() { public MetaParseException() {

View File

@ -1,19 +1,19 @@
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import java.io.Serializable; import java.io.Serializable;
import com.ossez.usreio.common.metadata.types.MSystem; import com.ossez.usreio.tests.common.metadata.types.MSystem;
import com.ossez.usreio.common.metadata.types.MResource; import com.ossez.usreio.tests.common.metadata.types.MResource;
import com.ossez.usreio.common.metadata.types.MForeignKey; import com.ossez.usreio.tests.common.metadata.types.MForeignKey;
import com.ossez.usreio.common.metadata.types.MClass; import com.ossez.usreio.tests.common.metadata.types.MClass;
import com.ossez.usreio.common.metadata.types.MTable; import com.ossez.usreio.tests.common.metadata.types.MTable;
import com.ossez.usreio.common.metadata.types.MUpdate; import com.ossez.usreio.tests.common.metadata.types.MUpdate;
import com.ossez.usreio.common.metadata.types.MUpdateType; import com.ossez.usreio.tests.common.metadata.types.MUpdateType;
import com.ossez.usreio.common.metadata.types.MObject; import com.ossez.usreio.tests.common.metadata.types.MObject;
import com.ossez.usreio.common.metadata.types.MValidationExternal; import com.ossez.usreio.tests.common.metadata.types.MValidationExternal;
import com.ossez.usreio.common.metadata.types.MValidationLookup; import com.ossez.usreio.tests.common.metadata.types.MValidationLookup;
import com.ossez.usreio.common.metadata.types.MLookup; import com.ossez.usreio.tests.common.metadata.types.MLookup;
import com.ossez.usreio.common.metadata.types.MSearchHelp; import com.ossez.usreio.tests.common.metadata.types.MSearchHelp;
public class Metadata implements Serializable { public class Metadata implements Serializable {

View File

@ -5,26 +5,26 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import com.ossez.usreio.common.metadata.types.MClass; import com.ossez.usreio.tests.common.metadata.types.MClass;
import com.ossez.usreio.common.metadata.types.MEditMask; import com.ossez.usreio.tests.common.metadata.types.MEditMask;
import com.ossez.usreio.common.metadata.types.MForeignKey; import com.ossez.usreio.tests.common.metadata.types.MForeignKey;
import com.ossez.usreio.common.metadata.types.MLookup; import com.ossez.usreio.tests.common.metadata.types.MLookup;
import com.ossez.usreio.common.metadata.types.MLookupType; import com.ossez.usreio.tests.common.metadata.types.MLookupType;
import com.ossez.usreio.common.metadata.types.MObject; import com.ossez.usreio.tests.common.metadata.types.MObject;
import com.ossez.usreio.common.metadata.types.MResource; import com.ossez.usreio.tests.common.metadata.types.MResource;
import com.ossez.usreio.common.metadata.types.MSearchHelp; import com.ossez.usreio.tests.common.metadata.types.MSearchHelp;
import com.ossez.usreio.common.metadata.types.MSystem; import com.ossez.usreio.tests.common.metadata.types.MSystem;
import com.ossez.usreio.common.metadata.types.MTable; import com.ossez.usreio.tests.common.metadata.types.MTable;
import com.ossez.usreio.common.metadata.types.MUpdate; import com.ossez.usreio.tests.common.metadata.types.MUpdate;
import com.ossez.usreio.common.metadata.types.MUpdateHelp; import com.ossez.usreio.tests.common.metadata.types.MUpdateHelp;
import com.ossez.usreio.common.metadata.types.MUpdateType; import com.ossez.usreio.tests.common.metadata.types.MUpdateType;
import com.ossez.usreio.common.metadata.types.MValidationExpression; import com.ossez.usreio.tests.common.metadata.types.MValidationExpression;
import com.ossez.usreio.common.metadata.types.MValidationExternal; import com.ossez.usreio.tests.common.metadata.types.MValidationExternal;
import com.ossez.usreio.common.metadata.types.MValidationExternalType; import com.ossez.usreio.tests.common.metadata.types.MValidationExternalType;
import com.ossez.usreio.common.metadata.types.MValidationLookup; import com.ossez.usreio.tests.common.metadata.types.MValidationLookup;
import com.ossez.usreio.common.metadata.types.MValidationLookupType; import com.ossez.usreio.tests.common.metadata.types.MValidationLookupType;
public abstract class MetadataBuilder { public abstract class MetadataBuilder {
protected MetadataBuilder() { protected MetadataBuilder() {

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
public enum MetadataElement { public enum MetadataElement {
SYSTEM("System"),// might need to provide enumeration for different versions 1.5 vs 1.7 SYSTEM("System"),// might need to provide enumeration for different versions 1.5 vs 1.7

View File

@ -5,7 +5,7 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
public class MetadataException extends Exception { public class MetadataException extends Exception {

View File

@ -5,7 +5,7 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
public enum MetadataType { public enum MetadataType {
EDITMASK, EDITMASK,

View File

@ -5,10 +5,10 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public abstract class AttrAbstractText implements AttrType<String> { public abstract class AttrAbstractText implements AttrType<String> {
protected int min; protected int min;

View File

@ -5,9 +5,9 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrAlphanum extends AttrAbstractText { public class AttrAlphanum extends AttrAbstractText {

View File

@ -5,10 +5,10 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrBoolean implements AttrType<Boolean> { public class AttrBoolean implements AttrType<Boolean> {
public Boolean parse(String value, boolean strict) throws MetaParseException { public Boolean parse(String value, boolean strict) throws MetaParseException {

View File

@ -11,15 +11,15 @@
* 2011-06-01T18:06:58 * 2011-06-01T18:06:58
* should find a more elegant way * should find a more elegant way
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
//import java.text.DateFormat; //import java.text.DateFormat;
//import java.text.ParseException; //import java.text.ParseException;
//import java.text.SimpleDateFormat; //import java.text.SimpleDateFormat;
//import java.util.Date; //import java.util.Date;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
/** /**
* Converted this class to return a String instead of a * Converted this class to return a String instead of a

View File

@ -5,13 +5,13 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.Collections; import java.util.Collections;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrEnum extends AttrAbstractText { public class AttrEnum extends AttrAbstractText {
public AttrEnum(String[] values) { public AttrEnum(String[] values) {

View File

@ -5,9 +5,9 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrGenericText extends AttrAbstractText { public class AttrGenericText extends AttrAbstractText {
private String mChars; private String mChars;

View File

@ -5,10 +5,10 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrNumeric implements AttrType<Integer> { public class AttrNumeric implements AttrType<Integer> {
public Integer parse(String value, boolean strict) throws MetaParseException { public Integer parse(String value, boolean strict) throws MetaParseException {

View File

@ -5,10 +5,10 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrNumericPositive implements AttrType<Integer> { public class AttrNumericPositive implements AttrType<Integer> {

View File

@ -5,9 +5,9 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrPlaintext extends AttrAbstractText { public class AttrPlaintext extends AttrAbstractText {
public AttrPlaintext(int min, int max) { public AttrPlaintext(int min, int max) {

View File

@ -5,9 +5,9 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrText extends AttrAbstractText { public class AttrText extends AttrAbstractText {
public AttrText(int min, int max) { public AttrText(int min, int max) {

View File

@ -5,11 +5,11 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
/** /**
* A version is a string formatted "major.minor.release". This gets converted * A version is a string formatted "major.minor.release". This gets converted

View File

@ -1,11 +1,11 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Collection; import java.util.Collection;
//import java.util.Date; //import java.util.Date;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MClass extends MetaObject { public class MClass extends MetaObject {
public static final String CLASSNAME = "ClassName"; public static final String CLASSNAME = "ClassName";

View File

@ -1,9 +1,9 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MEditMask extends MetaObject { public class MEditMask extends MetaObject {
public static final String METADATAENTRYID = "MetadataEntryID"; public static final String METADATAENTRYID = "MetadataEntryID";

View File

@ -1,9 +1,9 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MForeignKey extends MetaObject { public class MForeignKey extends MetaObject {
public static final String FOREIGNKEYID = "ForeignKeyID"; public static final String FOREIGNKEYID = "ForeignKeyID";

View File

@ -1,10 +1,10 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
//import java.util.Date; //import java.util.Date;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MLookup extends MetaObject { public class MLookup extends MetaObject {
private static final MetadataType[] CHILDREN = { MetadataType.LOOKUP_TYPE }; private static final MetadataType[] CHILDREN = { MetadataType.LOOKUP_TYPE };

View File

@ -1,9 +1,9 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MLookupType extends MetaObject { public class MLookupType extends MetaObject {
public static final String METADATAENTRYID = "MetadataEntryID"; public static final String METADATAENTRYID = "MetadataEntryID";

View File

@ -1,9 +1,9 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MObject extends MetaObject { public class MObject extends MetaObject {

View File

@ -1,10 +1,10 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
//import java.util.Date; //import java.util.Date;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MResource extends MetaObject { public class MResource extends MetaObject {
private static final MetadataType[] CHILDREN = { private static final MetadataType[] CHILDREN = {

View File

@ -1,9 +1,9 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MSearchHelp extends MetaObject { public class MSearchHelp extends MetaObject {
public static final String METADATAENTRYID = "MetadataEntryID"; public static final String METADATAENTRYID = "MetadataEntryID";

View File

@ -1,10 +1,10 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
//import java.util.Date; //import java.util.Date;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MSystem extends MetaObject { public class MSystem extends MetaObject {
public static final String SYSTEMID = "SystemID"; public static final String SYSTEMID = "SystemID";

View File

@ -1,11 +1,11 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
import com.ossez.usreio.common.metadata.attrib.AttrEnum; import com.ossez.usreio.tests.common.metadata.attrib.AttrEnum;
public class MTable extends MetaObject { public class MTable extends MetaObject {

View File

@ -1,10 +1,10 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
//import java.util.Date; //import java.util.Date;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MUpdate extends MetaObject { public class MUpdate extends MetaObject {
public static final String METADATAENTRYID = "MetadataEntryID"; public static final String METADATAENTRYID = "MetadataEntryID";

View File

@ -1,9 +1,9 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MUpdateHelp extends MetaObject { public class MUpdateHelp extends MetaObject {
public static final String METADATAENTRYID = "MetadataEntryID"; public static final String METADATAENTRYID = "MetadataEntryID";

View File

@ -1,11 +1,11 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
import com.ossez.usreio.common.metadata.attrib.AttrGenericText; import com.ossez.usreio.tests.common.metadata.attrib.AttrGenericText;
public class MUpdateType extends MetaObject { public class MUpdateType extends MetaObject {
public static final String METADATAENTRYID = "MetadataEntryID"; public static final String METADATAENTRYID = "MetadataEntryID";

View File

@ -1,11 +1,11 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
import com.ossez.usreio.common.metadata.attrib.AttrEnum; import com.ossez.usreio.tests.common.metadata.attrib.AttrEnum;
public class MValidationExpression extends MetaObject { public class MValidationExpression extends MetaObject {

View File

@ -1,10 +1,10 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
//import java.util.Date; //import java.util.Date;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MValidationExternal extends MetaObject { public class MValidationExternal extends MetaObject {

View File

@ -1,9 +1,9 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MValidationExternalType extends MetaObject { public class MValidationExternalType extends MetaObject {

View File

@ -1,10 +1,10 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
//import java.util.Date; //import java.util.Date;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MValidationLookup extends MetaObject { public class MValidationLookup extends MetaObject {

View File

@ -1,9 +1,9 @@
package com.ossez.usreio.common.metadata.types; package com.ossez.usreio.tests.common.metadata.types;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.metadata.MetaObject; import com.ossez.usreio.tests.common.metadata.MetaObject;
import com.ossez.usreio.common.metadata.MetadataType; import com.ossez.usreio.tests.common.metadata.MetadataType;
public class MValidationLookupType extends MetaObject { public class MValidationLookupType extends MetaObject {
public static final String METADATAENTRYID = "MetadataEntryID"; public static final String METADATAENTRYID = "MetadataEntryID";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

View File

@ -1,18 +0,0 @@
<RETS ReplyCode="0" ReplyText="Operation Successful">
<METADATA-LOOKUP Resource="Property" Version="1.00.000" Date="Sat, 20 Mar 2002 12:03:38 GMT">
<COLUMNS> LookupName VisibleName Version Date </COLUMNS>
<DATA> E_SCHOOL Elementary School District 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
<DATA> H_SCHOOL High School District 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
<DATA> AR Area 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
<DATA> IFT Interior Features 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
<DATA> VEW View 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
<DATA> LISTING_TYPE Listing Type 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
<DATA> LISTING_STATUS Listing Status 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
<DATA> M_SCHOOL Middle School District 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
<DATA> EFT Exerior Features 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
</METADATA-LOOKUP>
<METADATA-LOOKUP Resource="Agent" Version="1.00.000" Date="Sat, 20 Mar 2002 12:03:38 GMT">
<COLUMNS> LookupName VisibleName Version Date </COLUMNS>
<DATA> DESIGNATIONS DESIGNATIONS 1.00.000 Sat, 20 Mar 2002 12:03:38 GMT </DATA>
</METADATA-LOOKUP>
</RETS>

View File

@ -1 +0,0 @@
<RETS ReplyCode="20503" ReplyText="No Records"/>

View File

@ -1,6 +0,0 @@
<RETS ReplyCode="0" ReplyText="Operation Successful">
<METADATA-SYSTEM Version="01.00.001" Date="Tue, 27 May 2003 12:00:00 CDT">
<SYSTEM SystemID="CRT_RETS" SystemDescription="Center for REALTOR Technology"/>
<COMMENTS>The reference implementation of a RETS Server</COMMENTS>
</METADATA-SYSTEM>
</RETS>

View File

@ -1,7 +0,0 @@
<RETS ReplyCode="0" ReplyText="Operation Successful">
<METADATA-UPDATE_TYPE Resource="ActiveAgent" Class="ACTAGT" Update="Change_ACTAGT" Version="1.00.000" Date="Sat, 20 Mar 2002 12:03:38 GMT">
<COLUMNS> SystemName Sequence Attributes Default ValidationExpressionID UpdateHelpID ValidationLookupName ValidationExternalName </COLUMNS>
<DATA> AGENT_ID 1 1 0 </DATA>
<DATA> OFFICE_ID 2 2 0 </DATA>
</METADATA-UPDATE_TYPE>
</RETS>

View File

@ -1,17 +0,0 @@
<RETS ReplyCode="0" ReplyText="Operation Successful">
<RETS-RESPONSE>
broker = B123, BO987
membername = Joe T. Schmoe
metadataversion = 1.00.000
minmetadataversion = 1.00.000
user = A123,5678,1,A123
login = http://rets.test:6103/login
logout = http://rets.test:6103/logout
search = http://rets.test:6103/search
getmetadata = http://rets.test:6103/getMetadata
changepassword = http://rets.test:6103/changePassword
getobject = http://rets.test:6103/getObjectEx
action = http://rets.test:6103/get
balance = 44.21
timeoutseconds = 60
</RETS-RESPONSE></RETS>

View File

@ -1,6 +0,0 @@
<RETS ReplyCode="0" ReplyText="Operation Successful">
<RETS-RESPONSE>
connecttime = 1000
billing = $20.00
signoffmessage = Good Bye
</RETS-RESPONSE></RETS>

View File

@ -1,4 +0,0 @@
<RETS ReplyCode="0" ReplyText="Operation Successful">
<RETS-RESPONSE>
Logged Out
</RETS-RESPONSE></RETS>

View File

@ -1,5 +0,0 @@
<RETS ReplyCode="0" ReplyText="Operation Successful">
ConnectTime = 1000
Billing = $20.00
SignOffMessage = Good Bye
</RETS>

View File

@ -1,6 +0,0 @@
<RETS ReplyCode="0" ReplyText="Operation Successful">
<RETS-RESPONSE>
ConnectTime = 1000
Billing = $20.00
SignOffMessage = Good Bye
</RETS-RESPONSE></RETS>

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestSuite; import junit.framework.TestSuite;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.client.tests; package com.ossez.usreio.tests.client;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import com.ossez.usreio.client.retsapi.RETSConnection; import com.ossez.usreio.client.retsapi.RETSConnection;

View File

@ -1,4 +1,8 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import com.ossez.usreio.client.GetMetadataRequest;
import com.ossez.usreio.client.InvalidArgumentException;
import com.ossez.usreio.client.RetsException;
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
//import java.util.List; //import java.util.List;
//import java.util.ArrayList; //import java.util.ArrayList;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
@ -7,6 +7,9 @@ import java.io.InputStream;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.client.GetObjectIterator;
import com.ossez.usreio.client.GetObjectResponse;
import com.ossez.usreio.client.SingleObjectResponse;
import junit.framework.TestCase; import junit.framework.TestCase;
public class GetObjectResponseIteratorTest extends TestCase { public class GetObjectResponseIteratorTest extends TestCase {

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import java.io.FilterReader; import java.io.FilterReader;
import java.io.IOException; import java.io.IOException;

View File

@ -1,4 +1,6 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import com.ossez.usreio.client.LoginRequest;
public class LoginRequestTest extends RetsTestCase { public class LoginRequestTest extends RetsTestCase {
public void testGetUrl() { public void testGetUrl() {

View File

@ -1,6 +1,10 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import com.ossez.usreio.client.CapabilityUrls;
import com.ossez.usreio.client.LoginResponse;
import com.ossez.usreio.client.RetsException;
import com.ossez.usreio.client.RetsVersion;
import org.junit.Test; import org.junit.Test;
public class LoginResponseTest extends RetsTestCase { public class LoginResponseTest extends RetsTestCase {

View File

@ -1,4 +1,8 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import com.ossez.usreio.client.LogoutResponse;
import com.ossez.usreio.client.RetsException;
import com.ossez.usreio.client.RetsVersion;
public class LogoutResponseTest extends RetsTestCase { public class LogoutResponseTest extends RetsTestCase {
/* /*

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.client.tests; package com.ossez.usreio.tests.client;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import com.ossez.usreio.client.retsapi.RETSConnection; import com.ossez.usreio.client.retsapi.RETSConnection;

View File

@ -1,10 +1,10 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import com.ossez.usreio.common.metadata.types.MClass; import com.ossez.usreio.tests.common.metadata.types.MClass;
import com.ossez.usreio.common.metadata.types.MResource; import com.ossez.usreio.tests.common.metadata.types.MResource;
import com.ossez.usreio.common.metadata.types.MSystem; import com.ossez.usreio.tests.common.metadata.types.MSystem;
import com.ossez.usreio.client.*; import com.ossez.usreio.client.*;
/** /**

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.examples; package com.ossez.usreio.tests.client;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.examples; package com.ossez.usreio.tests.client;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.util.Arrays; import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.examples; package com.ossez.usreio.tests.client;
import java.net.MalformedURLException; import java.net.MalformedURLException;

View File

@ -1,16 +1,14 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import com.ossez.usreio.client.RetsException;
import com.ossez.usreio.client.RetsSession;
import com.ossez.usreio.client.RetsVersion;
import com.ossez.usreio.common.util.SessionUtils; import com.ossez.usreio.common.util.SessionUtils;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.TestInstance;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.Properties;
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertNull;
/** /**

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.TestInstance;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
public class RetsVersionTest extends RetsTestCase { public class RetsVersionTest extends RetsTestCase {

View File

@ -5,10 +5,11 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import java.io.StringReader; import java.io.StringReader;
import com.ossez.usreio.client.*;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;
/** /**

View File

@ -5,7 +5,9 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import com.ossez.usreio.client.SearchResultImpl;
import java.util.NoSuchElementException; import java.util.NoSuchElementException;

View File

@ -1,8 +1,9 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.client.SingleObjectResponse;
import junit.framework.TestCase; import junit.framework.TestCase;
public class SingleObjectResponseTest extends TestCase { public class SingleObjectResponseTest extends TestCase {

View File

@ -1,8 +1,9 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import java.io.Reader; import java.io.Reader;
import java.io.StringReader; import java.io.StringReader;
import com.ossez.usreio.client.*;
import junit.framework.TestCase; import junit.framework.TestCase;
public class StreamingSearchResultProcessorTest extends TestCase { public class StreamingSearchResultProcessorTest extends TestCase {

View File

@ -1,4 +1,7 @@
package com.ossez.usreio.client; package com.ossez.usreio.tests.client;
import com.ossez.usreio.client.InvalidReplyCodeException;
import com.ossez.usreio.client.InvalidReplyCodeHandler;
final class TestInvalidReplyCodeHandler implements InvalidReplyCodeHandler { final class TestInvalidReplyCodeHandler implements InvalidReplyCodeHandler {
private int replyCode; private int replyCode;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
public class MetaObjectTest extends MetadataTestCase { public class MetaObjectTest extends MetadataTestCase {
public void testStrictAttributes() { public void testStrictAttributes() {

View File

@ -5,7 +5,7 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import junit.framework.TestCase; import junit.framework.TestCase;

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.common.metadata; package com.ossez.usreio.tests.common.metadata;
import java.util.Map; import java.util.Map;

View File

@ -1,7 +1,7 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrAbstractTextTest extends AttrTypeTest { public class AttrAbstractTextTest extends AttrTypeTest {
@Override @Override

View File

@ -1,7 +1,7 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrAlphanumTest extends AttrTypeTest { public class AttrAlphanumTest extends AttrTypeTest {
@Override @Override

View File

@ -1,7 +1,7 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrBooleanTest public class AttrBooleanTest
extends AttrTypeTest extends AttrTypeTest

View File

@ -1,4 +1,4 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
public class AttrDateTest extends AttrTypeTest { public class AttrDateTest extends AttrTypeTest {
public void testAttrDate() throws Exception { public void testAttrDate() throws Exception {

View File

@ -1,6 +1,6 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
public class AttrEnumTest extends AttrTypeTest { public class AttrEnumTest extends AttrTypeTest {
public void testEnum() throws Exception { public void testEnum() throws Exception {

View File

@ -1,6 +1,6 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
public class AttrGenericTextTest extends AttrTypeTest { public class AttrGenericTextTest extends AttrTypeTest {
public void testAttrGeneric() throws Exception { public void testAttrGeneric() throws Exception {

View File

@ -1,6 +1,6 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
public class AttrNumericTest extends AttrTypeTest { public class AttrNumericTest extends AttrTypeTest {
public void testNumeric() throws Exception { public void testNumeric() throws Exception {

View File

@ -1,6 +1,6 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
public class AttrPlaintextTest extends AttrTypeTest { public class AttrPlaintextTest extends AttrTypeTest {
public void testPlaintext() throws Exception { public void testPlaintext() throws Exception {

View File

@ -1,6 +1,6 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
public class AttrTextTest extends AttrTypeTest { public class AttrTextTest extends AttrTypeTest {
public void testAttrText() throws Exception { public void testAttrText() throws Exception {

View File

@ -5,11 +5,11 @@
* Copyright (c) 2003, The National Association of REALTORS * Copyright (c) 2003, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details. * Distributed under a BSD-style license. See LICENSE.TXT for details.
*/ */
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.MetadataTestCase; import com.ossez.usreio.tests.common.metadata.MetadataTestCase;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
/** /**
* It's rare you can encapsulate the exception expecting tests, but I can, * It's rare you can encapsulate the exception expecting tests, but I can,

View File

@ -1,7 +1,7 @@
package com.ossez.usreio.common.metadata.attrib; package com.ossez.usreio.tests.common.metadata.attrib;
import com.ossez.usreio.common.metadata.AttrType; import com.ossez.usreio.tests.common.metadata.AttrType;
import com.ossez.usreio.common.metadata.MetaParseException; import com.ossez.usreio.tests.common.metadata.MetaParseException;
public class AttrVersionTest extends AttrTypeTest { public class AttrVersionTest extends AttrTypeTest {
@Override @Override

View File

@ -1,8 +1,9 @@
package com.ossez.usreio.common.util; package com.ossez.usreio.tests.common.util;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import com.ossez.usreio.common.util.CaseInsensitiveTreeMap;
import junit.framework.TestCase; import junit.framework.TestCase;
public class CaseInsensitiveTreeMapTest extends TestCase { public class CaseInsensitiveTreeMapTest extends TestCase {

View File

@ -14,5 +14,4 @@
action = http://rets.test:6103/get action = http://rets.test:6103/get
balance = 44.21 balance = 44.21
timeoutseconds = 60 timeoutseconds = 60
</RETS-RESPONSE> </RETS-RESPONSE></RETS>
</RETS>