[jboss-cvs] JBossAS SVN: r84696 - projects/bootstrap/trunk/src/test/java/org/jboss/bootstrap.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 24 22:30:15 EST 2009


Author: ALRubinger
Date: 2009-02-24 22:30:14 -0500 (Tue, 24 Feb 2009)
New Revision: 84696

Added:
   projects/bootstrap/trunk/src/test/java/org/jboss/bootstrap/ServerConfigExposition.java
Log:
[JBBOOT-6] Move the test to a proper location, expose some ServerConfig properties as public to tests only

Added: projects/bootstrap/trunk/src/test/java/org/jboss/bootstrap/ServerConfigExposition.java
===================================================================
--- projects/bootstrap/trunk/src/test/java/org/jboss/bootstrap/ServerConfigExposition.java	                        (rev 0)
+++ projects/bootstrap/trunk/src/test/java/org/jboss/bootstrap/ServerConfigExposition.java	2009-02-25 03:30:14 UTC (rev 84696)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+  *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bootstrap;
+
+/**
+ * ServerConfigHelper
+ * 
+ * Exposes to tests package-private areas of ServerConfig
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+public class ServerConfigExposition
+{
+   public static String getNativeDirProperty(BaseServerConfig config)
+   {
+      return config.getNativeDirProperty();
+   }
+}




More information about the jboss-cvs-commits mailing list