You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yoko-commits@incubator.apache.org by br...@apache.org on 2006/12/27 14:02:25 UTC
svn commit: r490504 - in /incubator/yoko/trunk/bindings/src:
main/java/org/apache/yoko/bindings/corba/CorbaConduit.java
main/java/org/apache/yoko/bindings/corba/CorbaServerConduit.java
test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
Author: bravi
Date: Wed Dec 27 06:02:24 2006
New Revision: 490504
URL: http://svn.apache.org/viewvc?view=rev&rev=490504
Log:
[YOKO-170] - Enabling some type tests.
Modified:
incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaConduit.java
incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaServerConduit.java
incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaConduit.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaConduit.java?view=diff&rev=490504&r1=490503&r2=490504
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaConduit.java (original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaConduit.java Wed Dec 27 06:02:24 2006
@@ -282,24 +282,16 @@
*/
public void doClose() throws IOException {
if (ContextUtils.isRequestor(message) && ContextUtils.isOutbound(message)) {
- System.out.println("is requester and outbound message");
try {
isOneWay = message.getExchange().isOneWay();
if (!isOneWay) {
handleResponse();
- System.out.println("handled response");
}
} catch (Exception ex) {
LOG.log(Level.WARNING, "Connection failed with Exception : ", ex);
throw new IOException(ex.toString());
}
- } else if (!ContextUtils.isRequestor(message) && !ContextUtils.isOutbound(message)) {
- System.out.println("is not requester and is inbound message");
- } else if (!ContextUtils.isRequestor(message) && ContextUtils.isOutbound(message)) {
- System.out.println("is not requester and is outbound message");
- } else if (ContextUtils.isRequestor(message) && !ContextUtils.isOutbound(message)) {
- System.out.println("is requester and is inbound message");
}
}
Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaServerConduit.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaServerConduit.java?view=diff&rev=490504&r1=490503&r2=490504
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaServerConduit.java (original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaServerConduit.java Wed Dec 27 06:02:24 2006
@@ -188,16 +188,6 @@
* Perform any actions required on stream closure (handle response etc.)
*/
public void doClose() throws IOException {
- System.out.println("In do close of outputstream");
- if (ContextUtils.isRequestor(outMessage) && ContextUtils.isOutbound(outMessage)) {
- System.out.println("is requester and outbound message");
- } else if (!ContextUtils.isRequestor(outMessage) && !ContextUtils.isOutbound(outMessage)) {
- System.out.println("is not requester and is inbound message");
- } else if (!ContextUtils.isRequestor(outMessage) && ContextUtils.isOutbound(outMessage)) {
- System.out.println("is not requester and is outbound message");
- } else if (ContextUtils.isRequestor(outMessage) && !ContextUtils.isOutbound(outMessage)) {
- System.out.println("is requester and is inbound message");
- }
}
public void onWrite() throws IOException {
Modified: incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java?view=diff&rev=490504&r1=490503&r2=490504
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java (original)
+++ incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java Wed Dec 27 06:02:24 2006
@@ -53,7 +53,6 @@
}
public void testVoid() throws Exception {
- //super.testVoid();
}
public void testOneway() throws Exception {
@@ -62,24 +61,12 @@
public void testByte() throws Exception {
}
- public void testShort() throws Exception {
- }
-
- public void testInt() throws Exception {
- }
-
- public void testLong() throws Exception {
- }
-
public void testUnsignedShort() throws Exception {
}
public void testUnsignedInt() throws Exception {
}
- public void testUnsignedLong() throws Exception {
- }
-
public void testFloat() throws Exception {
}
@@ -88,87 +75,11 @@
public void testUnsignedByte() throws Exception {
}
-
- public void testBoolean() throws Exception {
- }
-
- public void testString() throws Exception {
- super.testString();
- }
-
- public void testQName() throws Exception {
- }
-
- public void testInteger() throws Exception {
- }
-
- public void testPositiveInteger() throws Exception {
- }
-
- public void testNonPositiveInteger() throws Exception {
- }
-
- public void testNegativeInteger() throws Exception {
- }
-
- public void testNonNegativeInteger() throws Exception {
- }
-
- public void testDecimal() throws Exception {
- }
-
- public void testDate() throws Exception {
- }
-
- public void testDateTime() throws Exception {
- }
-
- public void testTime() throws Exception {
- }
-
- public void testGYear() throws Exception {
- }
-
- public void testGYearMonth() throws Exception {
- }
-
- public void testGMonth() throws Exception {
- }
-
- public void testGMonthDay() throws Exception {
- }
-
- public void testGDay() throws Exception {
- }
-
- public void testDuration() throws Exception {
- }
-
- public void testAnyURI() throws Exception {
- }
-
- public void testNormalizedString() throws Exception {
- }
-
- public void testToken() throws Exception {
- }
-
- public void testLanguage() throws Exception {
- }
-
- public void testNMTOKEN() throws Exception {
- }
-
- public void testNMTOKENS() throws Exception {
- }
-
- public void testName() throws Exception {
- }
-
- public void testNCName() throws Exception {
+
+ public void testQName() throws Exception {
}
-
- public void testID() throws Exception {
+
+ public void testDecimal() throws Exception {
}
public void testBase64Binary() throws Exception {