JBoss Tools SVN: r22645 - tags/jbosstools-3.1.1.GA/documentation/guides/Update_Guide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-06-08 19:23:11 -0400 (Tue, 08 Jun 2010)
New Revision: 22645
Modified:
tags/jbosstools-3.1.1.GA/documentation/guides/Update_Guide/en-US/Update.xml
Log:
updated for 3.0.1
Modified: tags/jbosstools-3.1.1.GA/documentation/guides/Update_Guide/en-US/Update.xml
===================================================================
--- tags/jbosstools-3.1.1.GA/documentation/guides/Update_Guide/en-US/Update.xml 2010-06-08 23:22:03 UTC (rev 22644)
+++ tags/jbosstools-3.1.1.GA/documentation/guides/Update_Guide/en-US/Update.xml 2010-06-08 23:23:11 UTC (rev 22645)
@@ -16,13 +16,13 @@
<para>
Updating JBoss Developer Studio using the update site requires a username and password to be
entered by the user as described in <xref linkend="proc-Adding_Update_Sites"/>. These details, and
-consequently the ability to update using the update site, are provided to customers of JBoss Developer Studio. Information presented here regarding the addition of an update site and configuring automated updates can be applied to the installation of plug-ins in general.
+consequently the ability to update using the update site, are provided to users of the JBoss Developer Studio and customers of the JBoss Developer Studio Portfolio Edition. Information presented here regarding the addition of an update site and configuring automated updates can be applied to the installation of plug-ins in general.
</para>
</section>
<section id="sect-update_site_configuration-Upgrading_using_the_update_site">
<title>Upgrading using the update site</title>
<para>
- JBoss Developer Studio provides the facility to update from version 3.0.x to the the latest code fixes and enhancements without the need to download a complete installation. Updating can be achieved by adding the relevant remote update site to the list of available software sites then performing manual or scheduled updates. At present, the update site contains the latest 3.0.0.GA build so performing an update at this stage will leave your installation unchanged.
+ JBoss Developer Studio provides the facility to update from version 3.0.x to the the latest code fixes and enhancements without the need to download a complete installation. Updating can be achieved by adding the relevant remote update site to the list of available software sites then performing manual or scheduled updates. <!-- At present, the update site contains the latest 3.0.0.GA build so performing an update at this stage will leave your installation unchanged. -->
</para>
<para>
<xref linkend="proc-Adding_Update_Sites"/> describes how to add the update site to the list of available sites. Configuring JBoss Developer Studio to check for and download updates is outlined in <xref linkend="proc-Configuring_Automatic_Updates"/>. Manual updates can be performed by selecting <menuchoice><guimenu>Help</guimenu><guisubmenu>Check For Updates</guisubmenu></menuchoice>.
14 years, 7 months
JBoss Tools SVN: r22644 - tags/jbosstools-3.1.1.GA/documentation/guides/MigrationGuide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-06-08 19:22:03 -0400 (Tue, 08 Jun 2010)
New Revision: 22644
Modified:
tags/jbosstools-3.1.1.GA/documentation/guides/MigrationGuide/en-US/issues.xml
Log:
updated for 3.0.1
Modified: tags/jbosstools-3.1.1.GA/documentation/guides/MigrationGuide/en-US/issues.xml
===================================================================
--- tags/jbosstools-3.1.1.GA/documentation/guides/MigrationGuide/en-US/issues.xml 2010-06-08 23:17:12 UTC (rev 22643)
+++ tags/jbosstools-3.1.1.GA/documentation/guides/MigrationGuide/en-US/issues.xml 2010-06-08 23:22:03 UTC (rev 22644)
@@ -49,7 +49,7 @@
</section>
<section>
<title>Problems with <emphasis>not "JBDS"</emphasis> plugins</title>
- <para>Some additional plugins that are not supplied by JBDS and work on JBDS 2.X may not work on 3.0.0.GA.</para>
+ <para>Some additional plugins that are not supplied by JBDS and work on JBDS 2.X may not work on 3.0.0.GA</para>
<itemizedlist>
<listitem><para>To solve the problem check whether the plugin is compatible with Eclipse 3.5.</para></listitem>
<listitem><para>But because such pugins are not supported by JBDS, we can not guarantee its proper work.</para></listitem>
14 years, 7 months
JBoss Tools SVN: r22642 - tags/jbosstools-3.1.1.GA/documentation/guides.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-06-08 19:08:47 -0400 (Tue, 08 Jun 2010)
New Revision: 22642
Removed:
tags/jbosstools-3.1.1.GA/documentation/guides/GettingStartedGuide/
Log:
removing Getting Started Guide to add in restructured 3.0.1 version
14 years, 7 months
JBoss Tools SVN: r22641 - trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-06-08 14:44:28 -0400 (Tue, 08 Jun 2010)
New Revision: 22641
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BeanDefinitionTest.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BeanSpecializationTest.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ResolutionByTypeTest.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/TCKTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6418 https://jira.jboss.org/browse/JBIDE-5808
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BeanDefinitionTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BeanDefinitionTest.java 2010-06-08 16:41:16 UTC (rev 22640)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BeanDefinitionTest.java 2010-06-08 18:44:28 UTC (rev 22641)
@@ -125,14 +125,12 @@
Set<IBean> beans = getBeans("org.jboss.jsr299.tck.tests.definition.bean.Tarantula");
assertEquals("There should be the only bean with org.jboss.jsr299.tck.tests.definition.bean.Tarantula type", 1, beans.size());
IBean bean = beans.iterator().next();
- Set<IParametedType> types = bean.getLegalTypes();
- assertEquals("Wrong number of legal types were found for org.jboss.jsr299.tck.tests.definition.bean.Tarantula bean.", 6, types.size());
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.Tarantula");
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.Spider");
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.Animal");
- assertContainsBeanType(bean, "java.lang.Object");
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.DeadlySpider");
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.DeadlyAnimal");
+ assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.Tarantula",
+ "org.jboss.jsr299.tck.tests.definition.bean.Spider",
+ "org.jboss.jsr299.tck.tests.definition.bean.Animal",
+ "java.lang.Object",
+ "org.jboss.jsr299.tck.tests.definition.bean.DeadlySpider",
+ "org.jboss.jsr299.tck.tests.definition.bean.DeadlyAnimal");
Set<ITypeDeclaration> declarations = bean.getAllTypeDeclarations();
assertEquals("There should be three type declarations in org.jboss.jsr299.tck.tests.definition.bean.Tarantula bean.", declarations.size(), 3);
@@ -150,12 +148,10 @@
Set<IBean> beans = getBeans("org.jboss.jsr299.tck.tests.definition.bean.FriendlyAntelope");
assertEquals("There should be the only bean with org.jboss.jsr299.tck.tests.definition.bean.FriendlyAntelope type", 1, beans.size());
IBean bean = beans.iterator().next();
- Set<IParametedType> types = bean.getLegalTypes();
- assertEquals("Wrong number of legal types were found for org.jboss.jsr299.tck.tests.definition.bean.FriendlyAntelope bean.", 4, types.size());
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.FriendlyAntelope");
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.AbstractAntelope");
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.Animal");
- assertContainsBeanType(bean, "java.lang.Object");
+ assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.definition.bean.FriendlyAntelope",
+ "org.jboss.jsr299.tck.tests.definition.bean.AbstractAntelope",
+ "org.jboss.jsr299.tck.tests.definition.bean.Animal",
+ "java.lang.Object");
Set<ITypeDeclaration> declarations = bean.getAllTypeDeclarations();
assertEquals("There should be three type declarations in org.jboss.jsr299.tck.tests.definition.bean.FriendlyAntelope bean.", declarations.size(), 2);
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BeanSpecializationTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BeanSpecializationTest.java 2010-06-08 16:41:16 UTC (rev 22640)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BeanSpecializationTest.java 2010-06-08 18:44:28 UTC (rev 22641)
@@ -30,7 +30,7 @@
Set<IBean> beans = cdiProject.getBeans(true, "org.jboss.jsr299.tck.tests.inheritance.specialization.simple.LazyFarmer", "org.jboss.jsr299.tck.tests.inheritance.specialization.simple.Landowner");
assertEquals("Wrong number of beans.", 1, beans.size());
IBean bean = beans.iterator().next();
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.inheritance.specialization.simple.Farmer");
+ assertContainsBeanType(false, bean, "org.jboss.jsr299.tck.tests.inheritance.specialization.simple.Farmer");
assertContainsQualifierType(true, bean,
"org.jboss.jsr299.tck.tests.inheritance.specialization.simple.Landowner",
"org.jboss.jsr299.tck.tests.inheritance.specialization.simple.Lazy",
@@ -48,7 +48,7 @@
Set<IBean> beans = cdiProject.getBeans(true, "org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.LazyFarmerLocal", "org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Landowner");
assertEquals("Wrong number of beans.", 1, beans.size());
IBean bean = beans.iterator().next();
- assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.FarmerLocal");
+ assertContainsBeanType(false, bean, "org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.FarmerLocal");
assertContainsQualifierType(true, bean,
"org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Landowner",
"org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Lazy",
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ResolutionByTypeTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ResolutionByTypeTest.java 2010-06-08 16:41:16 UTC (rev 22640)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ResolutionByTypeTest.java 2010-06-08 18:44:28 UTC (rev 22641)
@@ -37,7 +37,7 @@
public void testDefaultBindingTypeAssumed() throws CoreException {
Set<IBean> beans = getBeans("org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.Tuna");
assertEquals("Wrong number of the beans", 1, beans.size());
- assertContainsBeanType(beans.iterator().next(), "org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.Tuna");
+ assertContainsBeanType(false, beans.iterator().next(), "org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.Tuna");
}
/**
@@ -130,5 +130,20 @@
assertContainsBeanClasses(beans, new String[]{"org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.RoundWhitefish", "org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.Halibut"});
}
+ /**
+ * Section 2.2.2 - Restricting the bean types of a bean
+ * a) Check managed bean.
+ *
+ * @throws CoreException
+ */
+ public void testBeanTypesOnManagedBean() throws CoreException {
+ Set<IBean> beans = getBeans("org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.Canary");
+ assertEquals("Wrong number of the beans", 1, beans.size());
+ IBean bean = beans.iterator().next();
+ beans = getBeans("org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.Bird");
+ assertEquals("Wrong number of the beans", 0, beans.size());
+ assertContainsBeanType(bean, "org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.Canary", "java.lang.Object");
+ }
+
// TODO continue implementing the tests
}
\ No newline at end of file
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/TCKTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/TCKTest.java 2010-06-08 16:41:16 UTC (rev 22640)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/TCKTest.java 2010-06-08 18:44:28 UTC (rev 22641)
@@ -222,17 +222,28 @@
fail(message.toString());
}
- protected void assertContainsBeanType(IBean bean, String typeName) {
- Set<IParametedType> types = bean.getLegalTypes();
- StringBuffer allTypes = new StringBuffer("[");
- for (IParametedType type : types) {
- allTypes.append(" ").append(type.getType().getFullyQualifiedName()).append(";");
- if (typeName.equals(type.getType().getFullyQualifiedName())) {
- return;
+ protected void assertContainsBeanType(IBean bean, String... typeNames) {
+ assertContainsBeanType(true, bean, typeNames);
+ }
+
+ protected void assertContainsBeanType(boolean checkTheNumberOfTypes, IBean bean, String... typeNames) {
+ if(checkTheNumberOfTypes) {
+ assertEquals("Wrong number of types.", typeNames.length, bean.getLegalTypes().size());
+ }
+ for (String typeName : typeNames) {
+ Set<IParametedType> types = bean.getLegalTypes();
+ StringBuffer allTypes = new StringBuffer("[");
+ boolean found = false;
+ for (IParametedType type : types) {
+ allTypes.append(" ").append(type.getType().getFullyQualifiedName()).append(";");
+ if (typeName.equals(type.getType().getFullyQualifiedName())) {
+ found = true;
+ break;
+ }
}
+ allTypes.append("]");
+ assertTrue(bean.getResource().getFullPath() + " bean " + allTypes.toString() + " should have " + typeName + " type.", found);
}
- allTypes.append("]");
- fail(bean.getResource().getFullPath() + " bean " + allTypes.toString() + " should have " + typeName + " type.");
}
public static void assertContainsBeanClasses(Set<IBean> beans, String... beanClassNames) throws CoreException {
14 years, 7 months
JBoss Tools SVN: r22640 - in branches/3.2.helios/jsf: tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2010-06-08 12:41:16 -0400 (Tue, 08 Jun 2010)
New Revision: 22640
Modified:
branches/3.2.helios/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java
branches/3.2.helios/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
Log:
https://jira.jboss.org/browse/JBIDE-6433 - disabled dialog for a clarification of causes
Modified: branches/3.2.helios/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java
===================================================================
--- branches/3.2.helios/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java 2010-06-08 16:36:27 UTC (rev 22639)
+++ branches/3.2.helios/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java 2010-06-08 16:41:16 UTC (rev 22640)
@@ -26,7 +26,7 @@
public void start(BundleContext context) throws Exception {
super.start(context);
- ProjectNaturesChecker.getInstance();
+// ProjectNaturesChecker.getInstance();
}
public static JsfUiPlugin getDefault() {
Modified: branches/3.2.helios/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
--- branches/3.2.helios/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-06-08 16:36:27 UTC (rev 22639)
+++ branches/3.2.helios/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-06-08 16:41:16 UTC (rev 22640)
@@ -34,14 +34,14 @@
ELReferencesRenameTest.class), "org.jboss.tools.jsf.ui.test", //$NON-NLS-1$
new String[] { "projects/testJSFProject", }, //$NON-NLS-1$
new String[] { "testJSFProject" })); //$NON-NLS-1$
- suite.addTest(new ProjectImportTestSetup(new TestSuite(
- JSFNaturesInfoDialog_JBIDE5701.class),
- "org.jboss.tools.jsf.ui.test", "projects/naturesCheckTest", //$NON-NLS-1$ //$NON-NLS-2$
- "naturesCheckTest")); //$NON-NLS-1$
- suite.addTest(new ProjectImportTestSetup(new TestSuite(
- KbNaturesInfoDialog_JBIDE6125.class),
- "org.jboss.tools.jsf.ui.test", "projects/naturesCheckKBTest", //$NON-NLS-1$ //$NON-NLS-2$
- "naturesCheckKBTest")); //$NON-NLS-1$
+// suite.addTest(new ProjectImportTestSetup(new TestSuite(
+// JSFNaturesInfoDialog_JBIDE5701.class),
+// "org.jboss.tools.jsf.ui.test", "projects/naturesCheckTest", //$NON-NLS-1$ //$NON-NLS-2$
+// "naturesCheckTest")); //$NON-NLS-1$
+// suite.addTest(new ProjectImportTestSetup(new TestSuite(
+// KbNaturesInfoDialog_JBIDE6125.class),
+// "org.jboss.tools.jsf.ui.test", "projects/naturesCheckKBTest", //$NON-NLS-1$ //$NON-NLS-2$
+// "naturesCheckKBTest")); //$NON-NLS-1$
return new TestWizardsProject(suite);
}
}
\ No newline at end of file
14 years, 7 months
JBoss Tools SVN: r22639 - in trunk/jsf: tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2010-06-08 12:36:27 -0400 (Tue, 08 Jun 2010)
New Revision: 22639
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
Log:
https://jira.jboss.org/browse/JBIDE-6433 - dialog was disabled for clarification of causes.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java 2010-06-08 14:51:11 UTC (rev 22638)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiPlugin.java 2010-06-08 16:36:27 UTC (rev 22639)
@@ -26,7 +26,7 @@
public void start(BundleContext context) throws Exception {
super.start(context);
- ProjectNaturesChecker.getInstance();
+// ProjectNaturesChecker.getInstance();
}
public static JsfUiPlugin getDefault() {
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-06-08 14:51:11 UTC (rev 22638)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2010-06-08 16:36:27 UTC (rev 22639)
@@ -51,14 +51,14 @@
ELReferencesRenameTest.class), "org.jboss.tools.jsf.ui.test", //$NON-NLS-1$
new String[] { "projects/testJSFProject", }, //$NON-NLS-1$
new String[] { "testJSFProject" })); //$NON-NLS-1$
- suite.addTest(new ProjectImportTestSetup(new TestSuite(
- JSFNaturesInfoDialog_JBIDE5701.class),
- "org.jboss.tools.jsf.ui.test", "projects/naturesCheckTest", //$NON-NLS-1$ //$NON-NLS-2$
- "naturesCheckTest")); //$NON-NLS-1$
- suite.addTest(new ProjectImportTestSetup(new TestSuite(
- KbNaturesInfoDialog_JBIDE6125.class),
- "org.jboss.tools.jsf.ui.test", "projects/naturesCheckKBTest", //$NON-NLS-1$ //$NON-NLS-2$
- "naturesCheckKBTest")); //$NON-NLS-1$
+// suite.addTest(new ProjectImportTestSetup(new TestSuite(
+// JSFNaturesInfoDialog_JBIDE5701.class),
+// "org.jboss.tools.jsf.ui.test", "projects/naturesCheckTest", //$NON-NLS-1$ //$NON-NLS-2$
+// "naturesCheckTest")); //$NON-NLS-1$
+// suite.addTest(new ProjectImportTestSetup(new TestSuite(
+// KbNaturesInfoDialog_JBIDE6125.class),
+// "org.jboss.tools.jsf.ui.test", "projects/naturesCheckKBTest", //$NON-NLS-1$ //$NON-NLS-2$
+// "naturesCheckKBTest")); //$NON-NLS-1$
return new TestWizardsProject(suite);
}
}
\ No newline at end of file
14 years, 7 months
JBoss Tools SVN: r22638 - trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/util.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2010-06-08 10:51:11 -0400 (Tue, 08 Jun 2010)
New Revision: 22638
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/util/XulRunnerVpeUtils.java
Log:
https://jira.jboss.org/browse/JBIDE-6229
Implement DnD support for selected text in VPE
- Fixed an inaccuracy in the getTextSelectionBounds method.
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/util/XulRunnerVpeUtils.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/util/XulRunnerVpeUtils.java 2010-06-08 14:42:03 UTC (rev 22637)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/util/XulRunnerVpeUtils.java 2010-06-08 14:51:11 UTC (rev 22638)
@@ -139,9 +139,12 @@
int[] height = new int[1];
accessibleTextAncestor.getRangeExtents(startOffset[0], endOffset[0],
x, y, width, height, nsIAccessibleCoordinateType.COORDTYPE_PARENT_RELATIVE);
-
- nsIDOMNode ancestorParent = queryInterface(accessibleTextAncestor, nsIAccessNode.class)
- .getDOMNode().getParentNode();
+
+ nsIAccessible ancestorAccessibleParent
+ = queryInterface(accessibleTextAncestor, nsIAccessible.class).getParent();
+ nsIDOMNode ancestorParent
+ = queryInterface(ancestorAccessibleParent, nsIAccessNode.class).getDOMNode();
+
Rectangle ancestorParentBounds;
if (ancestorParent != null) {
ancestorParentBounds = getElementBounds(ancestorParent);
14 years, 7 months
JBoss Tools SVN: r22637 - branches/3.2.helios/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2010-06-08 10:42:03 -0400 (Tue, 08 Jun 2010)
New Revision: 22637
Modified:
branches/3.2.helios/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6420
Modified: branches/3.2.helios/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java
===================================================================
--- branches/3.2.helios/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java 2010-06-08 14:27:17 UTC (rev 22636)
+++ branches/3.2.helios/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java 2010-06-08 14:42:03 UTC (rev 22637)
@@ -534,7 +534,6 @@
return null;
}
- @Override
public void setAttribute(String attributeName, Set value) {
attributes.put(attributeName, value);
}
14 years, 7 months
JBoss Tools SVN: r22636 - in trunk/cdi/tests/org.jboss.tools.cdi.core.test: src/org/jboss/tools/cdi/core/test/tck and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-06-08 10:27:17 -0400 (Tue, 08 Jun 2010)
New Revision: 22636
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/lookup/typesafe/resolution/NumberProducer.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ResolutionByTypeTest.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ValidationTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6418
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/lookup/typesafe/resolution/NumberProducer.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/lookup/typesafe/resolution/NumberProducer.java 2010-06-08 13:57:24 UTC (rev 22635)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/lookup/typesafe/resolution/NumberProducer.java 2010-06-08 14:27:17 UTC (rev 22636)
@@ -17,6 +17,7 @@
package org.jboss.jsr299.tck.tests.lookup.typesafe.resolution;
import javax.enterprise.inject.Produces;
+import javax.inject.Inject;
class NumberProducer
{
@@ -31,4 +32,12 @@
return max;
}
-}
+ // JBT
+ @Inject
+ @Min
+ public double minInjection;
+
+ @Inject
+ @Max
+ public Double maxInjection;
+}
\ No newline at end of file
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ResolutionByTypeTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ResolutionByTypeTest.java 2010-06-08 13:57:24 UTC (rev 22635)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ResolutionByTypeTest.java 2010-06-08 14:27:17 UTC (rev 22636)
@@ -15,6 +15,8 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.IType;
import org.jboss.tools.cdi.core.IBean;
+import org.jboss.tools.cdi.core.IClassBean;
+import org.jboss.tools.cdi.core.IInjectionPoint;
import org.jboss.tools.cdi.core.IParametedType;
import org.jboss.tools.cdi.core.IProducerMethod;
import org.jboss.tools.cdi.core.IQualifierDeclaration;
@@ -96,6 +98,26 @@
/**
* Section 5.2 - Typesafe resolution
+ * i) Test with a primitive type.
+ *
+ * @throws CoreException
+ */
+ public void testResolveByTypeWithPrimitives() throws CoreException {
+ Set<IBean> beans = getBeans("java.lang.Double", "javax.enterprise.inject.Any");
+ // There is checks for 2 beans (not for 3) in TCK but actually there is one more bean in another package which matches. So let's check for 3 beans.
+ assertEquals("Wrong number of the beans", 3, beans.size());
+ IClassBean bean = getClassBean("JavaSource/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/NumberProducer.java");
+ assertNotNull("Bean can't be a null", bean);
+ Set<IInjectionPoint> injections = bean.getInjectionPoints();
+ assertEquals("Wrong number of the injection points", 2, injections.size());
+ for (IInjectionPoint injectionPoint : injections) {
+ beans = cdiProject.getBeans(true, injectionPoint);
+ assertEquals("Wrong number of the beans", 1, beans.size());
+ }
+ }
+
+ /**
+ * Section 5.2 - Typesafe resolution
* ld) Test with matching beans with matching qualifier with same annotation member value for each member which is not annotated @javax.enterprise.util.NonBinding.
*
* @throws CoreException
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ValidationTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ValidationTest.java 2010-06-08 13:57:24 UTC (rev 22635)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/ValidationTest.java 2010-06-08 14:27:17 UTC (rev 22636)
@@ -886,6 +886,32 @@
}
/**
+ * 5.2.1. Unsatisfied and ambiguous dependencies
+ * - If an unresolvable ambiguous dependency exists, the container automatically detects the problem and treats it as a deployment problem.
+ *
+ * @throws Exception
+ */
+ public void testAmbiguousDependency() throws Exception {
+ IFile file = tckProject.getFile("JavaSource/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/ambiguous/Farm_Broken.java");
+ AbstractResourceMarkerTest.assertMarkerIsCreated(file, AbstractResourceMarkerTest.MARKER_TYPE, CDIValidationMessages.AMBIGUOUS_INJECTION_POINTS, 25);
+ file = tckProject.getFile("JavaSource/org/jboss/jsr299/tck/tests/decorators/definition/inject/delegateField/TimestampLogger.java");
+ AbstractResourceMarkerTest.assertMarkerIsNotCreated(file, AbstractResourceMarkerTest.MARKER_TYPE, CDIValidationMessages.AMBIGUOUS_INJECTION_POINTS, 34);
+ }
+
+ /**
+ * 5.2.1. Unsatisfied and ambiguous dependencies
+ * - If an unsatisfied dependency exists, the container automatically detects the problem and treats it as a deployment problem.
+ *
+ * @throws Exception
+ */
+ public void testUnsatisfiedDependency() throws Exception {
+ IFile file = tckProject.getFile("JavaSource/org/jboss/jsr299/tck/tests/lookup/dependency/resolution/broken/unsatisfied/Bean_Broken.java");
+ AbstractResourceMarkerTest.assertMarkerIsCreated(file, AbstractResourceMarkerTest.MARKER_TYPE, CDIValidationMessages.UNSATISFIED_INJECTION_POINTS, 25);
+ file = tckProject.getFile("JavaSource/org/jboss/jsr299/tck/tests/decorators/definition/inject/delegateField/TimestampLogger.java");
+ AbstractResourceMarkerTest.assertMarkerIsNotCreated(file, AbstractResourceMarkerTest.MARKER_TYPE, CDIValidationMessages.UNSATISFIED_INJECTION_POINTS, 34);
+ }
+
+ /**
* 5.2.2. Legal injection point types
* - injection point type is a type variable
*
@@ -919,18 +945,6 @@
}
/**
- * 5.2.1. Unsatisfied and ambiguous dependencies
- * - If an unsatisfied or unresolvable ambiguous dependency exists, the container automatically detects the problem and treats it as a deployment problem.
- *
- * @throws Exception
- */
- public void testAmbiguousDependency() throws Exception {
- IFile file = tckProject.getFile("JavaSource/org/jboss/jsr299/tck/tests/decorators/definition/inject/delegateField/TimestampLogger.java");
- AbstractResourceMarkerTest.assertMarkerIsNotCreated(file, AbstractResourceMarkerTest.MARKER_TYPE, CDIValidationMessages.AMBIGUOUS_INJECTION_POINTS, 34);
- AbstractResourceMarkerTest.assertMarkerIsNotCreated(file, AbstractResourceMarkerTest.MARKER_TYPE, CDIValidationMessages.UNSATISFIED_INJECTION_POINTS, 34);
- }
-
- /**
* 10.4.2. Declaring an observer method
* - method has more than one parameter annotated @Observes
*
14 years, 7 months
JBoss Tools SVN: r22635 - in branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui: .settings and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2010-06-08 09:57:24 -0400 (Tue, 08 Jun 2010)
New Revision: 22635
Modified:
branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/.classpath
branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/.settings/org.eclipse.jdt.core.prefs
Log:
https://jira.jboss.org/browse/JBIDE-6420
Modified: branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/.classpath
===================================================================
--- branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/.classpath 2010-06-08 13:54:06 UTC (rev 22634)
+++ branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/.classpath 2010-06-08 13:57:24 UTC (rev 22635)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Modified: branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/.settings/org.eclipse.jdt.core.prefs 2010-06-08 13:54:06 UTC (rev 22634)
+++ branches/3.2.helios/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/.settings/org.eclipse.jdt.core.prefs 2010-06-08 13:57:24 UTC (rev 22635)
@@ -1,6 +1,10 @@
-#Thu Sep 24 16:20:05 EEST 2009
+#Tue Jun 08 16:42:31 EEST 2010
eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
org.eclipse.jdt.core.compiler.problem.deadCode=warning
@@ -9,6 +13,7 @@
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
@@ -62,3 +67,4 @@
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.6
14 years, 7 months