Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3137

Refactor TestUtil by removing methods that read system properties

    Details

      Description

      This task involves removing the following methods from TestUtil.java:

      TestUtil.java
      public static String getContainer()
      public static String getContainer(String defaultContainer)
      public static String getHost()
      public static String getHost(String defaultHost)
      public static String getPort()
      public static String getPort(String defaultPort)
      public static String getSystemPropertyOrDefault(String propertyName, String defaultValue)
      

      And also to delete the following constant, replacing it with a Maven system property named "default.base.url":

      TestUtil.java
      public static final String DEFAULT_BASE_URL = "http://" + TestUtil.getHost() + ":" + TestUtil.getPort();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neil.griffin Neil Griffin
                Reporter:
                neil.griffin Neil Griffin
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package
                  test-selenium-0.6.0