Hello,

the integration test case
org.gradle.api.plugins.quality.CheckstylePluginIntegrationTest."analyze
bad code"() does not pass with de Locale (and some others) because it
checks for an exception message, that is localized.
    failure.error.contains("Name 'class1' must match pattern")

When I build gradle the :codeQuality:integTest fails because of that.
What is the preffered solution?
1) Test for the German message, too
  || failure.error.contains("'class1' entspricht nicht dem Muster")
2) Add an annotation that this test is only run with "en" locale
3) Load the localized message from checkstyle code, which adds a
dependency to that jar
4) Other?

Best regards,
Harald

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to