From bee03c2fb8d775116e7ed7a2a9462ff7ab86883d Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Mon, 12 May 2008 10:02:51 +0000 Subject: [PATCH] --- .../java/org/wamblee/system/adapters/X7.java | 47 +++++++++++++++++++ .../java/org/wamblee/system/adapters/X8.java | 40 ++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 system/general/src/test/java/org/wamblee/system/adapters/X7.java create mode 100644 system/general/src/test/java/org/wamblee/system/adapters/X8.java diff --git a/system/general/src/test/java/org/wamblee/system/adapters/X7.java b/system/general/src/test/java/org/wamblee/system/adapters/X7.java new file mode 100644 index 00000000..50520183 --- /dev/null +++ b/system/general/src/test/java/org/wamblee/system/adapters/X7.java @@ -0,0 +1,47 @@ +/* + * Copyright 2008 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.wamblee.system.adapters; + +public class X7 { + + private String _host; + private Integer _port; + private Boolean _boolean; + + public X7(Boolean aBoolean) { + _boolean = aBoolean; + } + + public Boolean getBoolean() { + return _boolean; + } + + public Integer getPort() { + return _port; + } + + public void setPort(Integer aPort) { + _port = aPort; + } + + public String getHost() { + return _host; + } + + public void setHost(String aHost) { + _host = aHost; + } +} \ No newline at end of file diff --git a/system/general/src/test/java/org/wamblee/system/adapters/X8.java b/system/general/src/test/java/org/wamblee/system/adapters/X8.java new file mode 100644 index 00000000..84b450f1 --- /dev/null +++ b/system/general/src/test/java/org/wamblee/system/adapters/X8.java @@ -0,0 +1,40 @@ +/* + * Copyright 2008 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.wamblee.system.adapters; + +public class X8 { + + private X1 _x1; + private X4 _x4; + + public X8(X1 aX1) { + AdapterTestCase.EVENT_TRACKER.eventOccurred("x8(x1)"); + _x1 = aX1; + } + + public void setX4(X4 aX4) { + AdapterTestCase.EVENT_TRACKER.eventOccurred("x8.setX4(x4)"); + _x4 = aX4; + } + + public X4 getX4() { + return _x4; + } + + public X1 getX1() { + return _x1; + } +} -- 2.31.1