Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid W. Miller2014-07-22 20:35:12 +0000
committerRoberto E. Escobar2014-08-28 23:59:46 +0000
commit0ecd86975f79ccfd60b97eb49b7fab8baf9682d6 (patch)
treea92febfef8bec80c85bb60154dcd1099f4a11f2d /plugins/org.eclipse.osee.template.engine.test
parent9ac55539ce1092699c80a8b2ca9cf138b1ad5875 (diff)
downloadorg.eclipse.osee-0ecd86975f79ccfd60b97eb49b7fab8baf9682d6.tar.gz
org.eclipse.osee-0ecd86975f79ccfd60b97eb49b7fab8baf9682d6.tar.xz
org.eclipse.osee-0ecd86975f79ccfd60b97eb49b7fab8baf9682d6.zip
refinement[ats_ATS10815]: Clarify PageFactory creation with rules
Diffstat (limited to 'plugins/org.eclipse.osee.template.engine.test')
-rw-r--r--plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/PageCreatorTest.java2
-rw-r--r--plugins/org.eclipse.osee.template.engine.test/src/org/eclipse/osee/template/engine/html/ArtifactTypeSelectExpected.html2
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;

Back to the top