Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 46835 invoked from network); 26 Oct 2008 21:21:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2008 21:21:18 -0000 Received: (qmail 97145 invoked by uid 500); 26 Oct 2008 21:21:22 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 97015 invoked by uid 500); 26 Oct 2008 21:21:21 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 97006 invoked by uid 99); 26 Oct 2008 21:21:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2008 14:21:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2008 21:20:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2A5C7238896D; Sun, 26 Oct 2008 14:20:57 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r708044 - in /cxf/trunk/rt/javascript/src/test: java/org/apache/cxf/javascript/DocLitWrappedClientTest.java resources/org/apache/cxf/javascript/DocLitWrappedTests.js Date: Sun, 26 Oct 2008 21:20:56 -0000 To: commits@cxf.apache.org From: bimargulies@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081026212057.2A5C7238896D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bimargulies Date: Sun Oct 26 14:20:56 2008 New Revision: 708044 URL: http://svn.apache.org/viewvc?rev=708044&view=rev Log: Unit test that really tests inherited properties in Javascript. Modified: cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitWrappedClientTest.java cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/DocLitWrappedTests.js Modified: cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitWrappedClientTest.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitWrappedClientTest.java?rev=708044&r1=708043&r2=708044&view=diff ============================================================================== --- cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitWrappedClientTest.java (original) +++ cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/DocLitWrappedClientTest.java Sun Oct 26 14:20:56 2008 @@ -237,6 +237,12 @@ testUtilities.runInsideContext(Void.class, new JSRunnable() { public Void run(Context context) { + Notifier notifier = testUtilities.rhinoCallConvert("testInheritance", Notifier.class, + testUtilities.javaToJS(getAddress())); + boolean notified = notifier.waitForJavascript(1000 * 10); + assertTrue(notified); + SimpleDocLitWrappedImpl impl = (SimpleDocLitWrappedImpl)rawImplementor; + assertEquals("less", impl.getLastInheritanceTestDerived().getName()); return null; } Modified: cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/DocLitWrappedTests.js URL: http://svn.apache.org/viewvc/cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/DocLitWrappedTests.js?rev=708044&r1=708043&r2=708044&view=diff ============================================================================== --- cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/DocLitWrappedTests.js (original) +++ cxf/trunk/rt/javascript/src/test/resources/org/apache/cxf/javascript/DocLitWrappedTests.js Sun Oct 26 14:20:56 2008 @@ -131,7 +131,7 @@ derived.setId(33); derived.setDerived("arrived"); derived.setName("less"); - intf.inheritanceTestFunction(derived); + intf.inheritanceTestFunction(test1SuccessCallback, test1ErrorCallback, derived); return globalNotifier; } \ No newline at end of file