diff options
author | David W. Miller | 2014-07-22 20:35:12 +0000 |
---|---|---|
committer | Roberto E. Escobar | 2014-08-28 23:59:46 +0000 |
commit | 0ecd86975f79ccfd60b97eb49b7fab8baf9682d6 (patch) | |
tree | a92febfef8bec80c85bb60154dcd1099f4a11f2d /plugins/org.eclipse.osee.template.engine.test | |
parent | 9ac55539ce1092699c80a8b2ca9cf138b1ad5875 (diff) | |
download | org.eclipse.osee-0ecd86975f79ccfd60b97eb49b7fab8baf9682d6.tar.gz org.eclipse.osee-0ecd86975f79ccfd60b97eb49b7fab8baf9682d6.tar.xz org.eclipse.osee-0ecd86975f79ccfd60b97eb49b7fab8baf9682d6.zip |
refinement[ats_ATS10815]: Clarify PageFactory creation with rules
Change-Id: I722036e3872c80e518bf1ff3b76e74e375850a76
Diffstat (limited to 'plugins/org.eclipse.osee.template.engine.test')
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/PageCreatorTest.java b/plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/PageCreatorTest.java index 61b0c8cb275..8f20b656341 100644 --- a/plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/PageCreatorTest.java +++ b/plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/PageCreatorTest.java @@ -92,7 +92,7 @@ public class PageCreatorTest { String results = page.realizePage(RealizePage_MainPageHtml); Assert.assertEquals(expected, results); - page = PageFactory.newPageCreator(registry, RealizePage_ValuesHtml, new String[0]); + page = PageFactory.newPageCreator(registry, RealizePage_ValuesHtml); results = page.realizePage(RealizePage_MainPageHtml); Assert.assertEquals(expected, results); diff --git a/plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/html/ArtifactTypeSelectExpected.html b/plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/html/ArtifactTypeSelectExpected.html index 00ec13a9370..d35d4cc4a50 100644 --- a/plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/html/ArtifactTypeSelectExpected.html +++ b/plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/html/ArtifactTypeSelectExpected.html @@ -12,7 +12,7 @@ function typeSelected() { if(available.selectedIndex > -1) { var index = available.selectedIndex var text = availableOptions[index].text; - if (text) { + if (!text) { return; } var foundIt = false; |