Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2011-02-28 16:35:26 -0500
committerRyan D. Brooks2011-02-28 16:35:26 -0500
commit5f2c7dc480ee7ca052b9ffd9fc8cd9178703d960 (patch)
treef5d5a5f948d5017f66235ce6dad385b8d31f90b1 /plugins/org.eclipse.osee.framework.skynet.core.test
parente5c5143a0100f67e3ca636e810e0a45d47933898 (diff)
downloadorg.eclipse.osee-5f2c7dc480ee7ca052b9ffd9fc8cd9178703d960.tar.gz
org.eclipse.osee-5f2c7dc480ee7ca052b9ffd9fc8cd9178703d960.tar.xz
org.eclipse.osee-5f2c7dc480ee7ca052b9ffd9fc8cd9178703d960.zip
refactor: Rename OperationReporter to OperationLogger
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core.test')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/importing/parsers/WordMLExtractorDelegateTableOfContentsTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/importing/parsers/WordMLExtractorDelegateTableOfContentsTest.java b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/importing/parsers/WordMLExtractorDelegateTableOfContentsTest.java
index fb1f513481..40a98895fb 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/importing/parsers/WordMLExtractorDelegateTableOfContentsTest.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/importing/parsers/WordMLExtractorDelegateTableOfContentsTest.java
@@ -15,7 +15,7 @@ import java.io.InputStream;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import junit.framework.Assert;
-import org.eclipse.osee.framework.core.operation.OperationReporter;
+import org.eclipse.osee.framework.core.operation.OperationLogger;
import org.eclipse.osee.framework.jdk.core.util.Lib;
import org.eclipse.osee.framework.skynet.core.importing.parsers.WordOutlineExtractorDelegate;
import org.junit.Test;
@@ -33,11 +33,11 @@ public final class WordMLExtractorDelegateTableOfContentsTest {
private static final String TABLE_OF_CONTENTS_FILE = "tableOfContentsHyperlinkTest.xml";
private final WordOutlineExtractorDelegate delegate = new WordOutlineExtractorDelegate();
- private class TestOperationReporter extends OperationReporter {
+ private class TestOperationLogger extends OperationLogger {
public final StringBuilder warningMsgs = new StringBuilder();
@Override
- public void report(String... row) {
+ public void log(String... row) {
for (String warningMessage : row) {
warningMsgs.append(warningMessage);
}
@@ -48,17 +48,17 @@ public final class WordMLExtractorDelegateTableOfContentsTest {
public void tableOfContentsLinksInput() throws Exception {
delegate.initialize();
- TestOperationReporter reporter = new TestOperationReporter();
+ TestOperationLogger logger = new TestOperationLogger();
Matcher matcher = PARAGRAPHREGEX.matcher(getFileAsString(TABLE_OF_CONTENTS_FILE));
boolean foundSomething = false;
while (matcher.find()) {
foundSomething = true;
- delegate.processContent(reporter, null, false, false, null, null, null, matcher.group(), false);
+ delegate.processContent(logger, null, false, false, null, null, null, matcher.group(), false);
}
Assert.assertTrue("Warnings generated and Table of Contents in WordML should be detected",
- reporter.warningMsgs.length() > 0);
+ logger.warningMsgs.length() > 0);
Assert.assertTrue(foundSomething);
}

Back to the top