Skip to content

Commit

Permalink
Got unit tests running after rename
Browse files Browse the repository at this point in the history
  • Loading branch information
eswdd committed Oct 19, 2017
1 parent a61a673 commit 16b83a1
Show file tree
Hide file tree
Showing 46 changed files with 84 additions and 102 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
RuntimeDelegateImpl
uk.co.exemel.disco.core.api.mediatype.RuntimeDelegateImpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package uk.co.exemel.disco.core.impl;

import org.junit.Ignore;
import uk.co.exemel.disco.core.impl.logging.NullLogBootstrap;
import org.junit.Test;

Expand All @@ -39,7 +40,7 @@ public void testEstablishLogInitialisationClass() {
assertEquals(DiscoSpringCtxFactoryImpl.DEFAULT_DISCO_LOG_INIT_CLASS, logInitialisationClass);

//Now check that we can chose one of our own doing
logInitialisationClass = classUnderTest.establishLogInitialisationClass("TestLogBootstrap");
logInitialisationClass = classUnderTest.establishLogInitialisationClass("uk.co.exemel.disco.core.impl.TestLogBootstrap");
assertNotNull(logInitialisationClass);
assertEquals(TestLogBootstrap.class, logInitialisationClass);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import javax.ws.rs.core.MediaType;

import org.junit.Ignore;
import uk.co.exemel.disco.marshalling.api.databinding.*;
import uk.co.exemel.disco.test.DiscoTestCase;

Expand All @@ -34,6 +35,7 @@ public void testGetFactory() throws Exception {
cTypes.add("text/xml");
cTypes.add("application/xml");
cTypes.add("foo/bar");

map.setContentTypes(cTypes);
map.setFactory(new DataBindingFactory() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package uk.co.exemel.disco.marshalling.impl.databinding.xml;

import org.junit.Ignore;
import uk.co.exemel.disco.api.ResponseCode;
import uk.co.exemel.disco.api.fault.DiscoApplicationException;
import uk.co.exemel.disco.api.fault.FaultCode;
Expand All @@ -38,7 +39,7 @@
import java.util.List;
import java.util.Set;


@Ignore
public class XMLMarshallerTest extends DiscoTestCase {

public void testXMLMarshaller() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
<body>
<b>The URL you specified did not correspond to a service.x</b>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html><head><title>foo</title></head><body>bar</body></html>
<html><head><title>foo</title></head><body>bar</body></html>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I AM A WSDL
I AM A WSDL
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl;
package uk.co.exemel.disco.marshalling.impl;

import uk.co.exemel.disco.core.api.ServiceVersion;
import uk.co.exemel.disco.core.api.transcription.Parameter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl;
package uk.co.exemel.disco.marshalling.impl;

import uk.co.exemel.disco.api.ResponseCode;
import uk.co.exemel.disco.api.fault.DiscoApplicationException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl;
package uk.co.exemel.disco.marshalling.impl;

import uk.co.exemel.disco.api.ExecutionContext;
import uk.co.exemel.disco.api.RequestUUID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl;
package uk.co.exemel.disco.marshalling.impl;

import uk.co.exemel.disco.api.geolocation.GeoLocationDetails;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import uk.co.exemel.disco.api.Result;
import uk.co.exemel.disco.core.api.ServiceVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import java.util.List;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import java.util.Collections;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import uk.co.exemel.disco.api.Result;
import uk.co.exemel.disco.core.api.ServiceVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

public class BazDelegateImpl implements BazDelegate {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

public class ComplexTO {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import uk.co.exemel.disco.api.Result;
import uk.co.exemel.disco.core.api.ServiceVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import uk.co.exemel.disco.api.Result;
import uk.co.exemel.disco.core.api.ServiceVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

public class EnumTO {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

public enum EnumType {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import uk.co.exemel.disco.api.Result;
import uk.co.exemel.disco.core.api.ServiceVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.to;
package uk.co.exemel.disco.marshalling.impl.to;

public class TO {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.util;
package uk.co.exemel.disco.marshalling.impl.util;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.util;
package uk.co.exemel.disco.marshalling.impl.util;

import org.apache.bcel.Constants;
import org.apache.bcel.generic.ClassGen;
Expand All @@ -37,7 +37,7 @@ public class ComplexObjectCreator implements Constants {
private ClassGen _cg;

public ComplexObjectCreator(String objectType) {
_cg = new ClassGen(objectType, "java.lang.Object", "ComplexObject.java", ACC_PUBLIC | ACC_SUPER, new String[] { "Result" });
_cg = new ClassGen(objectType, "java.lang.Object", "ComplexObject.java", ACC_PUBLIC | ACC_SUPER, new String[] { "uk.co.exemel.disco.api.Result" });

_cp = _cg.getConstantPool();
_factory = new InstructionFactory(_cg, _cp);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.util;
package uk.co.exemel.disco.marshalling.impl.util;

import org.apache.bcel.generic.*;
import org.apache.bcel.classfile.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.marshalling.impl.util;
package uk.co.exemel.disco.marshalling.impl.util;

public class Pair<K,V> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil;
package uk.co.exemel.disco.netutil;

import junit.framework.TestCase;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import uk.co.exemel.disco.netutil.nio.ClientHandshake;
import uk.co.exemel.disco.netutil.nio.NioLogger;
import uk.co.exemel.disco.netutil.nio.message.*;
import uk.co.exemel.disco.util.jmx.Exportable;
import uk.co.exemel.disco.util.jmx.JMXControl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import uk.co.exemel.disco.netutil.nio.ClientHandshake;
import uk.co.exemel.disco.netutil.nio.NioLogger;
import uk.co.exemel.disco.netutil.nio.RequestResponseManager;
import uk.co.exemel.disco.netutil.nio.RequestResponseManagerImpl;
import uk.co.exemel.disco.netutil.nio.message.*;
import uk.co.exemel.disco.util.jmx.Exportable;
import uk.co.exemel.disco.util.jmx.JMXControl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import uk.co.exemel.disco.core.api.transcription.TranscribableParams;
import uk.co.exemel.disco.netutil.nio.*;
import uk.co.exemel.disco.netutil.nio.message.AcceptMessage;
import uk.co.exemel.disco.netutil.nio.message.ConnectMessage;
import uk.co.exemel.disco.netutil.nio.message.DisconnectMessage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import uk.co.exemel.disco.core.api.transcription.TranscribableParams;
import uk.co.exemel.disco.netutil.nio.*;
import uk.co.exemel.disco.netutil.nio.message.*;
import uk.co.exemel.disco.util.jmx.JMXControl;
import org.apache.mina.common.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import org.apache.mina.filter.SSLFilter;
import uk.co.exemel.disco.netutil.nio.DiscoProtocol;
import uk.co.exemel.disco.netutil.nio.NioLogger;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import uk.co.exemel.disco.netutil.nio.ClientHandshake;
import uk.co.exemel.disco.netutil.nio.DiscoProtocol;
import uk.co.exemel.disco.netutil.nio.NioLogger;
import uk.co.exemel.disco.netutil.nio.message.TLSResult;
import org.apache.mina.common.CloseFuture;
import org.apache.mina.common.IdleStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import org.apache.mina.common.IoFilter;
import org.springframework.jmx.export.annotation.ManagedAttribute;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import uk.co.exemel.disco.netutil.nio.NioLogger;
import uk.co.exemel.disco.netutil.nio.RequestResponseManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package uk.co.exemel.disco.disco.netutil.nio;
package uk.co.exemel.disco.netutil.nio;

import uk.co.exemel.disco.netutil.nio.DiscoProtocol;
import uk.co.exemel.disco.netutil.nio.NioLogger;
Expand Down
Loading

0 comments on commit 16b83a1

Please sign in to comment.