From do-not-reply at jboss.org Fri Feb 17 07:34:39 2012 Content-Type: multipart/mixed; boundary="===============5425911797789062770==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: exo-jcr-commits at lists.jboss.org Subject: [exo-jcr-commits] exo-jcr SVN: r5664 - jcr/branches/1.15.x/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/impl. Date: Fri, 17 Feb 2012 07:34:39 -0500 Message-ID: <201202171234.q1HCYdo1005340@svn01.web.mwc.hst.phx2.redhat.com> --===============5425911797789062770== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: tolusha Date: 2012-02-17 07:34:38 -0500 (Fri, 17 Feb 2012) New Revision: 5664 Added: jcr/branches/1.15.x/exo.jcr.component.core/src/test/java/org/exoplatform= /services/jcr/impl/TesterRepositoryCheckController.java Log: EXOJCR-1755: refactoring RepositoryCheckController Added: jcr/branches/1.15.x/exo.jcr.component.core/src/test/java/org/exoplat= form/services/jcr/impl/TesterRepositoryCheckController.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- jcr/branches/1.15.x/exo.jcr.component.core/src/test/java/org/exoplatfor= m/services/jcr/impl/TesterRepositoryCheckController.java = (rev 0) +++ jcr/branches/1.15.x/exo.jcr.component.core/src/test/java/org/exoplatfor= m/services/jcr/impl/TesterRepositoryCheckController.java 2012-02-17 12:34:3= 8 UTC (rev 5664) @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2012 eXo Platform SAS. + * + * 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.exoplatform.services.jcr.impl; + +import org.exoplatform.services.jcr.core.ManageableRepository; + +import java.io.File; + +/** + * For testing purpose. Returns last log file to have possibility to delet= e. + * = + * @author Anatoliy Bazko + * @version $Id: TesterRepositoryCheckController.java 34360 2009-07-22 23:= 58:59Z tolusha $ + */ +public class TesterRepositoryCheckController extends RepositoryCheckContro= ller +{ + public TesterRepositoryCheckController(ManageableRepository repository) + { + super(repository); + } + + public File getLastLogFile() + { + return new File(lastReport.getReportPath()); + } +} --===============5425911797789062770==--