Skip to Content.
Sympa Menu

perfsonar-dev - [GEANT/SA2/ps-java-services] r5608 - in trunk/perfsonar-java-base2/src: main/java/org/perfsonar/base2/service/configuration/migration/grammar/function test/java/org/perfsonar/base2/service/configuration/migration

Subject: perfsonar development work

List archive

[GEANT/SA2/ps-java-services] r5608 - in trunk/perfsonar-java-base2/src: main/java/org/perfsonar/base2/service/configuration/migration/grammar/function test/java/org/perfsonar/base2/service/configuration/migration


Chronological Thread 
  • From:
  • To:
  • Subject: [GEANT/SA2/ps-java-services] r5608 - in trunk/perfsonar-java-base2/src: main/java/org/perfsonar/base2/service/configuration/migration/grammar/function test/java/org/perfsonar/base2/service/configuration/migration
  • Date: Wed, 28 Apr 2010 14:42:02 +0100

Author: psnc.pietrzak
Date: 2010-04-28 14:42:02 +0100 (Wed, 28 Apr 2010)
New Revision: 5608

Modified:

trunk/perfsonar-java-base2/src/main/java/org/perfsonar/base2/service/configuration/migration/grammar/function/IndexerFunction.java

trunk/perfsonar-java-base2/src/test/java/org/perfsonar/base2/service/configuration/migration/TemplateEngineTest.java
Log:
Bug fix in test case

Modified:
trunk/perfsonar-java-base2/src/main/java/org/perfsonar/base2/service/configuration/migration/grammar/function/IndexerFunction.java
===================================================================
---
trunk/perfsonar-java-base2/src/main/java/org/perfsonar/base2/service/configuration/migration/grammar/function/IndexerFunction.java
2010-04-28 12:26:01 UTC (rev 5607)
+++
trunk/perfsonar-java-base2/src/main/java/org/perfsonar/base2/service/configuration/migration/grammar/function/IndexerFunction.java
2010-04-28 13:42:02 UTC (rev 5608)
@@ -10,8 +10,8 @@
* @author <a
href="mailto:">Blazej
Pietrzak</a>
*
*/
-class IndexerFunction implements Executor {
- protected IndexerFunction() { }
+public class IndexerFunction implements Executor {
+ public IndexerFunction() { }

private static int index = 0;


Modified:
trunk/perfsonar-java-base2/src/test/java/org/perfsonar/base2/service/configuration/migration/TemplateEngineTest.java
===================================================================
---
trunk/perfsonar-java-base2/src/test/java/org/perfsonar/base2/service/configuration/migration/TemplateEngineTest.java
2010-04-28 12:26:01 UTC (rev 5607)
+++
trunk/perfsonar-java-base2/src/test/java/org/perfsonar/base2/service/configuration/migration/TemplateEngineTest.java
2010-04-28 13:42:02 UTC (rev 5608)
@@ -8,6 +8,7 @@

import
org.perfsonar.base2.service.configuration.migration.ConfigFilesCollection;
import org.perfsonar.base2.service.configuration.migration.TemplateEngine;
+import
org.perfsonar.base2.service.configuration.migration.grammar.function.IndexerFunction;

import junit.framework.TestCase;

@@ -46,6 +47,7 @@
} catch (IOException ex) { }
}
public void testCreateFromTemplate() throws IOException {
+ new IndexerFunction().reset();
assertEquals(new File(getConfigPath() + File.separator +
"expected.xml"), engine.createFileFromTemplate(new File(getConfigPath() +
File.separator + "configuration.xml.template"), getConfigPath() +
File.separator + "configuration.xml"));
assertTrue(new File(getConfigPath() + File.separator +
"configuration.xml").delete());
}



  • [GEANT/SA2/ps-java-services] r5608 - in trunk/perfsonar-java-base2/src: main/java/org/perfsonar/base2/service/configuration/migration/grammar/function test/java/org/perfsonar/base2/service/configuration/migration, svn-noreply, 04/28/2010

Archive powered by MHonArc 2.6.16.

Top of Page