From 60e1bf48ec07aeb93477914f6951353723aaf2d7 Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Tue, 8 Dec 2009 15:27:52 +0000 Subject: [PATCH] LMS-1275 minor: fix tests SVN: 13750 --- .../generic/shared/util/WebClientFilesUpdater.java | 2 +- .../generic/shared/util/WebClientFilesUpdaterTest.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/util/WebClientFilesUpdater.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/util/WebClientFilesUpdater.java index b56fd7f69c8..239ae1015b5 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/util/WebClientFilesUpdater.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/util/WebClientFilesUpdater.java @@ -44,7 +44,7 @@ public final class WebClientFilesUpdater @Private static final String SOURCE_TAG_TEMPLATE = "<source path=\"plugin/%1$s/client/web/client\"/>\n" - + "\t\t<source path=\"plugin/%1$s/shared/basic\"/>"; + + " <source path=\"plugin/%1$s/shared/basic\"/>"; @Private static final String SCRIPT_TAG_TEMPLATE = "<script src=\"%s-dictionary.js\"/>"; diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/util/WebClientFilesUpdaterTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/util/WebClientFilesUpdaterTest.java index 4a4e32dd505..13a1dec63b7 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/util/WebClientFilesUpdaterTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/util/WebClientFilesUpdaterTest.java @@ -108,12 +108,12 @@ public final class WebClientFilesUpdaterTest extends AbstractFileSystemTestCase assertEquals(OPENBIS_GWT_XML_FILE_CONTENT, FileUtils.readFileToString(openBISGwtXmlFile)); filesUpdater.updateOpenBISGwtXmlFile(); assertEquals("<!-- Automatically generated part - START -->\n" - + " <!-- Demo plugin -->\n" - + " <script src=\"demo-dictionary.js\"/>\n" + + " <!-- Demo plugin -->\n" + " <script src=\"demo-dictionary.js\"/>\n" + " <public path=\"plugin/demo/client/web/public\"/>\n" + " <source path=\"plugin/demo/client/web/client\"/>\n" - + " <!-- Automatically generated part - END -->\n", - FileUtils.readFileToString(openBISGwtXmlFile)); + + " <source path=\"plugin/demo/shared/basic\"/>\n" + + " <!-- Automatically generated part - END -->\n", FileUtils + .readFileToString(openBISGwtXmlFile)); } @Test -- GitLab