Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-11-07 16:05:33 -0500
committerMegumi Telles2016-12-13 11:52:54 -0500
commit8ccdca3d77bab4618b836526dc0a5171d07a01cb (patch)
tree86d378e30b15b723af06d65a88ebc6da3fa01212
parent24bdeac024607798dfe5eacea0f6b13f99168527 (diff)
downloadorg.eclipse.osee-8ccdca3d77bab4618b836526dc0a5171d07a01cb.tar.gz
org.eclipse.osee-8ccdca3d77bab4618b836526dc0a5171d07a01cb.tar.xz
org.eclipse.osee-8ccdca3d77bab4618b836526dc0a5171d07a01cb.zip
bug: Fix WordTempleteRendererTest field code test
-rw-r--r--plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/ui/skynet/WordTemplateRendererTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/ui/skynet/WordTemplateRendererTest.java b/plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/ui/skynet/WordTemplateRendererTest.java
index b7bf5ae9e1..198c0fc06e 100644
--- a/plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/ui/skynet/WordTemplateRendererTest.java
+++ b/plugins/org.eclipse.osee.client.integration.tests/src/org/eclipse/osee/client/integration/tests/integration/ui/skynet/WordTemplateRendererTest.java
@@ -598,10 +598,8 @@ public class WordTemplateRendererTest {
try {
String contents = getFileAsString(resultPath);
basicDocumentCheck(contents, "", false, true);
- Assert.assertTrue("Field Code Diff not as expected", contents.contains(
- "<w:rStyle w:val=\"Hyperlink\"/></w:rPr><w:t>Hardware</w:t></w:r><aml:annotation aml:id=\"8\" w:type=\"Word.Insertion\""));
- Assert.assertTrue("Field Code Diff not as expected", contents.contains(
- "<aml:content><w:r><w:rPr><w:rStyle w:val=\"Hyperlink\"/></w:rPr><w:t> Functions</w:t></w:r></aml:content></aml:annotation>"));
+ Assert.assertTrue("Field Code Diff not as expected",
+ contents.contains("<w:fldChar w:fldCharType=\"begin\"/>"));
} catch (IOException ex) {
// Do nothing - test failed
}

Back to the top