The rest of the TCK xml tests.

[JSR 303 TCK Result] WARNING only 245 of 258 (94.96%) TCK Tests Covered.
[JSR 303 TCK Result] 151 of 205 (73.66%) Pass with 34 Failures and 7 Errors.

Review at http://gwt-code-reviews.appspot.com/1573805

Review by: rjrjr@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10713 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/validation/client/AbstractGwtValidatorFactory.java b/user/src/com/google/gwt/validation/client/AbstractGwtValidatorFactory.java
index 3a37aba..90532e6 100644
--- a/user/src/com/google/gwt/validation/client/AbstractGwtValidatorFactory.java
+++ b/user/src/com/google/gwt/validation/client/AbstractGwtValidatorFactory.java
@@ -91,7 +91,7 @@
   }
 
   public final <T> T unwrap(Class<T> type) {
-    // TODO(nchalko implement
+    // TODO(nchalko) implement
     return null;
   }
 
diff --git a/user/test/com/google/gwt/validation/tck/XmlConfigurationGwtSuite.java b/user/test/com/google/gwt/validation/tck/XmlConfigurationGwtSuite.java
index 0418289..203725f 100644
--- a/user/test/com/google/gwt/validation/tck/XmlConfigurationGwtSuite.java
+++ b/user/test/com/google/gwt/validation/tck/XmlConfigurationGwtSuite.java
@@ -53,7 +53,6 @@
     suite
         .addTestSuite(TraversableResolverSpecifiedInValidationXmlGwtTest.class);
     suite.addTestSuite(XmlConfigurationGwtTest.class);
-
     return suite;
   }
 }
diff --git a/user/test/com/google/gwt/validation/tck/XmlConstraintDeclarationGwtSuite.java b/user/test/com/google/gwt/validation/tck/XmlConstraintDeclarationGwtSuite.java
new file mode 100644
index 0000000..ae2e0b4
--- /dev/null
+++ b/user/test/com/google/gwt/validation/tck/XmlConstraintDeclarationGwtSuite.java
@@ -0,0 +1,74 @@
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * 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 com.google.gwt.validation.tck;
+
+import junit.framework.Test;
+
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.ConfigurationViaXmlAndAnnotationsGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.ConfiguredBeanNotInClassPathGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.ConstraintDeclarationGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.DefaultSequenceDefinedInXmlGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.MandatoryNameAttributeGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.MissingMandatoryElementGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.ReservedElementNameGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.clazzlevel.ClassLevelOverridingGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.fieldlevel.ExcludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.fieldlevel.FieldLevelOverridingGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.fieldlevel.IncludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.fieldlevel.WrongFieldNameGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.propertylevel.ExcludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.propertylevel.IncludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.propertylevel.PropertyLevelOverridingGwtTest;
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.propertylevel.WrongPropertyNameGwtTest;
+import org.hibernate.jsr303.tck.util.TckTestSuiteWrapper;
+
+/**
+ * Tck Tests for the {@code xml configuration constraint declaration} package.
+ */
+public class XmlConstraintDeclarationGwtSuite {
+  public static Test suite() {
+    TckTestSuiteWrapper suite = new TckTestSuiteWrapper(
+        "TCK for GWT Validation, xml configuration constraint declaration package");
+    suite.addTestSuite(ConfigurationViaXmlAndAnnotationsGwtTest.class);
+    suite.addTestSuite(ConfiguredBeanNotInClassPathGwtTest.class);
+    suite.addTestSuite(ConstraintDeclarationGwtTest.class);
+    suite.addTestSuite(DefaultSequenceDefinedInXmlGwtTest.class);
+    suite.addTestSuite(MandatoryNameAttributeGwtTest.class);
+    suite.addTestSuite(MissingMandatoryElementGwtTest.class);
+    suite.addTestSuite(ReservedElementNameGwtTest.class);
+
+    // Class level
+    suite.addTestSuite(ClassLevelOverridingGwtTest.class);
+
+    // Field Level
+    suite
+        .addTestSuite(ExcludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest.class);
+    suite.addTestSuite(FieldLevelOverridingGwtTest.class);
+    suite
+        .addTestSuite(IncludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest.class);
+    suite.addTestSuite(WrongFieldNameGwtTest.class);
+
+    // Property Level
+    suite
+        .addTestSuite(ExcludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest.class);
+    suite
+        .addTestSuite(IncludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest.class);
+    suite.addTestSuite(PropertyLevelOverridingGwtTest.class);
+    suite.addTestSuite(WrongPropertyNameGwtTest.class);
+
+    return suite;
+  }
+}
diff --git a/user/test/com/google/gwt/validation/tck/XmlConstraintDefinitionGwtSuite.java b/user/test/com/google/gwt/validation/tck/XmlConstraintDefinitionGwtSuite.java
new file mode 100644
index 0000000..da40d65
--- /dev/null
+++ b/user/test/com/google/gwt/validation/tck/XmlConstraintDefinitionGwtSuite.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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 com.google.gwt.validation.tck;
+
+import junit.framework.Test;
+
+import org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdefinition.XmlConfiguredConstraintValidatorGwtTest;
+import org.hibernate.jsr303.tck.util.TckTestSuiteWrapper;
+
+/**
+ * Tck Tests for the {@code xml constraint definition} package.
+ */
+public class XmlConstraintDefinitionGwtSuite {
+  public static Test suite() {
+    TckTestSuiteWrapper suite = new TckTestSuiteWrapper(
+        "TCK for GWT Validation, xml constraint definition package");
+    suite.addTestSuite(XmlConfiguredConstraintValidatorGwtTest.class);
+
+    return suite;
+  }
+
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConfigurationViaXmlAndAnnotationsGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConfigurationViaXmlAndAnnotationsGwtTest.java
index 51ec544..a08f9fb 100644
--- a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConfigurationViaXmlAndAnnotationsGwtTest.java
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConfigurationViaXmlAndAnnotationsGwtTest.java
@@ -26,6 +26,7 @@
  */
 public class ConfigurationViaXmlAndAnnotationsGwtTest extends
     GWTTestCase {
+
   ConfigurationViaXmlAndAnnotationsTest d = new ConfigurationViaXmlAndAnnotationsTest();
 
   @Override
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConfiguredBeanNotInClassPathGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConfiguredBeanNotInClassPathGwtTest.java
new file mode 100644
index 0000000..aa869a9
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConfiguredBeanNotInClassPathGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link ConfiguredBeanNotInClassPathTest}.
+ */
+public class ConfiguredBeanNotInClassPathGwtTest extends
+    GWTTestCase {
+  ConfiguredBeanNotInClassPathTest d = new ConfiguredBeanNotInClassPathTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testExceptionIsThrownForUnknownBeanNameInXml() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConstraintDeclarationGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConstraintDeclarationGwtTest.java
new file mode 100644
index 0000000..3cd418f
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ConstraintDeclarationGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link ConstraintDeclarationTest}.
+ */
+public class ConstraintDeclarationGwtTest extends
+    GWTTestCase {
+  ConstraintDeclarationTest d = new ConstraintDeclarationTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testConstraintAnnotationsArePerDefaultIgnoredForXmlConfiguredEntities() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/DefaultSequenceDefinedInXmlGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/DefaultSequenceDefinedInXmlGwtTest.java
new file mode 100644
index 0000000..a885777
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/DefaultSequenceDefinedInXmlGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link DefaultSequenceDefinedInXmlTest}.
+ */
+public class DefaultSequenceDefinedInXmlGwtTest extends
+    GWTTestCase {
+  DefaultSequenceDefinedInXmlTest d = new DefaultSequenceDefinedInXmlTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testDefaultGroupDefinitionDefinedInEntityApplies() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/MandatoryNameAttributeGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/MandatoryNameAttributeGwtTest.java
new file mode 100644
index 0000000..ed48756
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/MandatoryNameAttributeGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link MandatoryNameAttributeTest}.
+ */
+public class MandatoryNameAttributeGwtTest extends
+    GWTTestCase {
+  MandatoryNameAttributeTest d = new MandatoryNameAttributeTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testNameAttributeIsMandatory() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/MissingMandatoryElementGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/MissingMandatoryElementGwtTest.java
new file mode 100644
index 0000000..58ec825
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/MissingMandatoryElementGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link MissingMandatoryElementTest}.
+ */
+public class MissingMandatoryElementGwtTest extends
+    GWTTestCase {
+  MissingMandatoryElementTest d = new MissingMandatoryElementTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testMissingMandatoryElementInConstraintDeclaration() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ReservedElementNameGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ReservedElementNameGwtTest.java
new file mode 100644
index 0000000..3888a31
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/ReservedElementNameGwtTest.java
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link ReservedElementNameTest}.
+ */
+public class ReservedElementNameGwtTest extends
+    GWTTestCase {
+  ReservedElementNameTest d = new ReservedElementNameTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testGroupIsNotAllowedAsElementName() {
+    fail("XML configuration is not supported");
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testMessageIsNotAllowedAsElementName() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/ClassLevelOverridingGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/ClassLevelOverridingGwtTest.java
new file mode 100644
index 0000000..61ea674
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/ClassLevelOverridingGwtTest.java
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.clazzlevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link ClassLevelOverridingTest}.
+ */
+public class ClassLevelOverridingGwtTest extends
+    GWTTestCase {
+  ClassLevelOverridingTest d = new ClassLevelOverridingTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testClassLevelAnnotationsApplied() {
+    fail("XML configuration is not supported");
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testIgnoreAnnotationsFromEnclosingBeanIsApplied() {
+    fail("XML configuration is not supported");
+  }
+
+  @NotSupported(reason = Reason.XML)
+ public void testIgnoreClassLevelAnnotations() {
+  fail("XML configuration is not supported");
+ }
+
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/ExcludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/ExcludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest.java
new file mode 100644
index 0000000..8af72b4
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/ExcludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.fieldlevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link ExcludeFieldLevelAnnotationsDueToBeanDefaultsTest}.
+ */
+public class ExcludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest extends
+    GWTTestCase {
+  ExcludeFieldLevelAnnotationsDueToBeanDefaultsTest d = 
+      new ExcludeFieldLevelAnnotationsDueToBeanDefaultsTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testIgnoreAnnotations() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/FieldLevelOverridingGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/FieldLevelOverridingGwtTest.java
new file mode 100644
index 0000000..5ab3fa1
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/FieldLevelOverridingGwtTest.java
@@ -0,0 +1,54 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.fieldlevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link FieldLevelOverridingTest}.
+ */
+public class FieldLevelOverridingGwtTest extends
+    GWTTestCase {
+  FieldLevelOverridingTest d = new FieldLevelOverridingTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testCascadedConfiguration() {
+    fail("XML configuration is not supported");
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testIgnoreAnnotations() {
+    fail("XML configuration is not supported");
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testIncludeAnnotations() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/IncludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/IncludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest.java
new file mode 100644
index 0000000..0df6d8f
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/IncludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.fieldlevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link IncludeFieldLevelAnnotationsDueToBeanDefaultsTest}.
+ */
+public class IncludeFieldLevelAnnotationsDueToBeanDefaultsGwtTest extends
+    GWTTestCase {
+  IncludeFieldLevelAnnotationsDueToBeanDefaultsTest d = new IncludeFieldLevelAnnotationsDueToBeanDefaultsTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testAnnotationsIncluded() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/WrongFieldNameGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/WrongFieldNameGwtTest.java
new file mode 100644
index 0000000..2b36ef3
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/WrongFieldNameGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.fieldlevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link WrongFieldNameTest}.
+ */
+public class WrongFieldNameGwtTest extends
+    GWTTestCase {
+  WrongFieldNameTest d = new WrongFieldNameTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testWrongFieldNameThrowsException() {
+    fail("XML configuration is not supported");
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/ExcludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/ExcludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest.java
new file mode 100644
index 0000000..f055e73
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/ExcludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.propertylevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link ExcludePropertyLevelAnnotationsDueToBeanDefaultsTest}.
+ */
+public class ExcludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest extends
+    GWTTestCase {
+  ExcludePropertyLevelAnnotationsDueToBeanDefaultsTest d = new ExcludePropertyLevelAnnotationsDueToBeanDefaultsTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testIgnoreAnnotations() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/IncludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/IncludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest.java
new file mode 100644
index 0000000..a9c4f38
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/IncludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.propertylevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link IncludePropertyLevelAnnotationsDueToBeanDefaultsTest}.
+ */
+public class IncludePropertyLevelAnnotationsDueToBeanDefaultsGwtTest extends
+    GWTTestCase {
+  IncludePropertyLevelAnnotationsDueToBeanDefaultsTest d = new IncludePropertyLevelAnnotationsDueToBeanDefaultsTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testAnnotationsIncluded() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/PropertyLevelOverridingGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/PropertyLevelOverridingGwtTest.java
new file mode 100644
index 0000000..7779ede
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/PropertyLevelOverridingGwtTest.java
@@ -0,0 +1,54 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.propertylevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link PropertyLevelOverridingTest}.
+ */
+public class PropertyLevelOverridingGwtTest extends
+    GWTTestCase {
+  PropertyLevelOverridingTest d = new PropertyLevelOverridingTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testCascadedConfiguration() {
+    fail("XML configuration is not supported");
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testIgnoreAnnotations() {
+    fail("XML configuration is not supported");
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testIncludeAnnotations() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/WrongPropertyNameGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/WrongPropertyNameGwtTest.java
new file mode 100644
index 0000000..50545e1
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/WrongPropertyNameGwtTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.propertylevel;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link WrongPropertyNameTest}.
+ */
+public class WrongPropertyNameGwtTest extends
+    GWTTestCase {
+  WrongPropertyNameTest d = new WrongPropertyNameTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testWrongPropertyNameThrowsException() {
+    fail("XML configuration is not supported");
+  }
+}
diff --git a/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdefinition/XmlConfiguredConstraintValidatorGwtTest.java b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdefinition/XmlConfiguredConstraintValidatorGwtTest.java
new file mode 100644
index 0000000..f718e2c
--- /dev/null
+++ b/user/test/org/hibernate/jsr303/tck/tests/xmlconfiguration/constraintdefinition/XmlConfiguredConstraintValidatorGwtTest.java
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2011 Google Inc.
+ * 
+ * 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.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdefinition;
+
+import com.google.gwt.junit.client.GWTTestCase;
+
+import org.hibernate.jsr303.tck.util.client.NonTckTest;
+import org.hibernate.jsr303.tck.util.client.NotSupported;
+import org.hibernate.jsr303.tck.util.client.NotSupported.Reason;
+
+/**
+ * Wraps {@link XmlConfiguredConstraintValidatorTest}.
+ */
+public class XmlConfiguredConstraintValidatorGwtTest extends
+    GWTTestCase {
+  XmlConfiguredConstraintValidatorTest d = new XmlConfiguredConstraintValidatorTest();
+
+  @Override
+  public String getModuleName() {
+    return null;
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testExcludeExistingValidators() {
+    fail("XML configuration is not supported");
+  }
+
+  @NotSupported(reason = Reason.XML)
+  public void testIncludeExistingValidators() {
+    fail("XML configuration is not supported");
+  }
+
+  @NonTckTest
+  public void testThereMustBeOnePassingTest() {
+  }
+}