Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 98072 invoked from network); 2 Jun 2009 20:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jun 2009 20:50:00 -0000 Received: (qmail 39735 invoked by uid 500); 2 Jun 2009 20:50:13 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 39698 invoked by uid 500); 2 Jun 2009 20:50:12 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 39689 invoked by uid 99); 2 Jun 2009 20:50:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 20:50:12 +0000 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; Tue, 02 Jun 2009 20:50:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AF71123888D6; Tue, 2 Jun 2009 20:49:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r781162 - in /directory/studio/trunk/test-integration-ui: ./ resources/test-plugins/ resources/test-plugins/org.junit4_4.5.0.v20090423/ resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ src/main/java/org/apache/directory/studio/te... Date: Tue, 02 Jun 2009 20:49:44 -0000 To: commits@directory.apache.org From: seelmann@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090602204944.AF71123888D6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: seelmann Date: Tue Jun 2 20:49:43 2009 New Revision: 781162 URL: http://svn.apache.org/viewvc?rev=781162&view=rev Log: Fixed class loading issues Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.apache.commons.collections_3.2.0.v200803061811.jar (with props) directory/studio/trunk/test-integration-ui/resources/test-plugins/org.apache.log4j_1.2.13.v200806030600.jar (with props) directory/studio/trunk/test-integration-ui/resources/test-plugins/org.eclipse.swtbot.junit4_x_2.0.0.329-dev.jar (with props) directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/ directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.RSA (with props) directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.SF directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/MANIFEST.MF directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/eclipse.inf directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/about.html directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/junit.jar (with props) directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/plugin.properties Removed: directory/studio/trunk/test-integration-ui/Studio-Integration-Test-UI.launch Modified: directory/studio/trunk/test-integration-ui/pom.xml directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ContextMenuHelper.java Modified: directory/studio/trunk/test-integration-ui/pom.xml URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/pom.xml?rev=781162&r1=781161&r2=781162&view=diff ============================================================================== --- directory/studio/trunk/test-integration-ui/pom.xml (original) +++ directory/studio/trunk/test-integration-ui/pom.xml Tue Jun 2 20:49:43 2009 @@ -142,6 +142,7 @@ + Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.apache.commons.collections_3.2.0.v200803061811.jar URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.apache.commons.collections_3.2.0.v200803061811.jar?rev=781162&view=auto ============================================================================== Binary file - no diff available. Propchange: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.apache.commons.collections_3.2.0.v200803061811.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.apache.log4j_1.2.13.v200806030600.jar URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.apache.log4j_1.2.13.v200806030600.jar?rev=781162&view=auto ============================================================================== Binary file - no diff available. Propchange: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.apache.log4j_1.2.13.v200806030600.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.eclipse.swtbot.junit4_x_2.0.0.329-dev.jar URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.eclipse.swtbot.junit4_x_2.0.0.329-dev.jar?rev=781162&view=auto ============================================================================== Binary file - no diff available. Propchange: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.eclipse.swtbot.junit4_x_2.0.0.329-dev.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.RSA URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.RSA?rev=781162&view=auto ============================================================================== Binary file - no diff available. Propchange: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.RSA ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.SF URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.SF?rev=781162&view=auto ============================================================================== --- directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.SF (added) +++ directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/ECLIPSEF.SF Tue Jun 2 20:49:43 2009 @@ -0,0 +1,17 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: MCZqCn9j21nPcAZrbtqvbiNj/yE= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: YDw7DVb2mA4EdjnzxHN9pcP21go= + +Name: META-INF/eclipse.inf +SHA1-Digest: SAqY+5ITAL0mkdYeijlSRhyIaZk= + +Name: junit.jar +SHA1-Digest: rG9r/UiI7Rq2Dt/TeE2Fjc35Z0c= + +Name: about.html +SHA1-Digest: AABAfWMoxeKbdQBtnHLvutqecCA= + +Name: plugin.properties +SHA1-Digest: wGsoVwj65BlLZ4QXwngmNNv8uMI= + Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/MANIFEST.MF URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/MANIFEST.MF?rev=781162&view=auto ============================================================================== --- directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/MANIFEST.MF (added) +++ directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/MANIFEST.MF Tue Jun 2 20:49:43 2009 @@ -0,0 +1,40 @@ +Manifest-Version: 1.0 +Bundle-ClassPath: junit.jar +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.junit4 +Require-Bundle: org.hamcrest;bundle-version="1.1.0";visibility:=r + eexport +Bundle-Version: 4.5.0.v20090423 +Export-Package: junit.extensions;version="4.5.0",junit.framework;versi + on="4.5.0",junit.runner;version="4.5.0",junit.textui;version="4.5.0", + org.junit;version="4.5.0",org.junit.experimental.results;version="4.5 + .0",org.junit.experimental.runners;version="4.5.0",org.junit.experime + ntal.theories;version="4.5.0",org.junit.experimental.theories.interna + l;version="4.5.0";x-internal:=true,org.junit.experimental.theories.su + ppliers;version="4.5.0",org.junit.internal;version="4.5.0";x-internal + :=true,org.junit.internal.builders;version="4.5.0";x-internal:=true,o + rg.junit.internal.matchers;version="4.5.0";x-internal:=true,org.junit + .internal.requests;version="4.5.0";x-internal:=true,org.junit.interna + l.runners;version="4.5.0";x-internal:=true,org.junit.internal.runners + .model;version="4.5.0";x-internal:=true,org.junit.internal.runners.st + atements;version="4.5.0";x-internal:=true,org.junit.matchers;version= + "4.5.0",org.junit.runner;version="4.5.0",org.junit.runner.manipulatio + n;version="4.5.0",org.junit.runner.notification;version="4.5.0",org.j + unit.runners;version="4.5.0",org.junit.runners.model;version="4.5.0" +Bundle-ManifestVersion: 2 + +Name: META-INF/eclipse.inf +SHA1-Digest: KyT9FF7C7t86NoBoa2kZT3ZJBfw= + +Name: junit.jar +SHA1-Digest: rxw47Sc3FahWIalTRXyxg7FmB1c= + +Name: about.html +SHA1-Digest: 3PYtLUOZDA/7ZcfqqxzDWGJNkKU= + +Name: plugin.properties +SHA1-Digest: Wv0zvGNivCvwY7jZIUt/sphnRAk= + Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/eclipse.inf URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/eclipse.inf?rev=781162&view=auto ============================================================================== --- directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/eclipse.inf (added) +++ directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/META-INF/eclipse.inf Tue Jun 2 20:49:43 2009 @@ -0,0 +1,3 @@ +#Processed using Jarprocessor +pack200.args = -E4 +pack200.conditioned = true Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/about.html URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/about.html?rev=781162&view=auto ============================================================================== --- directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/about.html (added) +++ directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/about.html Tue Jun 2 20:49:43 2009 @@ -0,0 +1,44 @@ + + + + +About + + +

About This Content

+ +

April 17, 2009

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ +

Third Party Content

+ +

The Content includes items that have been sourced from third parties as set out below. If you +did not receive this Content directly from the Eclipse Foundation, the following is provided +for informational purposes only, and you should look to the Redistributor’s license for +terms and conditions of use.

+ +

The Content includes items that have been sourced from third parties as follows:

+ +

JUnit 4.5

+ +

The plug-in is accompanied by software developed by JUnit.org. The JUnit 4.5 code included with the plug-in includes no modifications. +Your use of JUnit 4.5 in both source and binary code form contained in the plug-in is subject to the terms and conditions of the +Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at http://www.eclipse.org/legal/cpl-v10.html. +The binary code is located in junit.jar and the source code is located in junitsrc.zip.

+ + + \ No newline at end of file Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/junit.jar URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/junit.jar?rev=781162&view=auto ============================================================================== Binary file - no diff available. Propchange: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/junit.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/plugin.properties URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/plugin.properties?rev=781162&view=auto ============================================================================== --- directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/plugin.properties (added) +++ directory/studio/trunk/test-integration-ui/resources/test-plugins/org.junit4_4.5.0.v20090423/plugin.properties Tue Jun 2 20:49:43 2009 @@ -0,0 +1,13 @@ +############################################################################### +# Copyright (c) 2006 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### + +pluginName=JUnit Testing Framework Version 4 +providerName=Eclipse.org Modified: directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ContextMenuHelper.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ContextMenuHelper.java?rev=781162&r1=781161&r2=781162&view=diff ============================================================================== --- directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ContextMenuHelper.java (original) +++ directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ContextMenuHelper.java Tue Jun 2 20:49:43 2009 @@ -58,6 +58,11 @@ */ public static void clickContextMenu( final AbstractSWTBot bot, final String... texts ) { + final Matcher[] matchers = new Matcher[texts.length]; + for ( int i = 0; i < texts.length; i++ ) + { + matchers[i] = allOf( instanceOf( MenuItem.class ), withMnemonic( texts[i] ) ); + } // show final MenuItem menuItem = UIThreadRunnable.syncExec( new WidgetResult() @@ -67,10 +72,9 @@ MenuItem menuItem = null; Control control = ( Control ) bot.widget; Menu menu = control.getMenu(); - for ( String text : texts ) + for ( int i = 0; i < matchers.length; i++ ) { - Matcher matcher = allOf( instanceOf( MenuItem.class ), withMnemonic( text ) ); - menuItem = show( menu, matcher ); + menuItem = show( menu, matchers[i] ); if ( menuItem != null ) { menu = menuItem.getMenu();