Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-12-06 18:51:39 -0500
committerChristopher Frost2012-12-06 18:51:39 -0500
commit0ff9c39c034dc8199222334caf4c03084113ba02 (patch)
tree173991fbbaf17ac12142eae4be0ebc6b1eeabcf1 /org.eclipse.virgo.management.console
parent867559cb6189d097fbc56e71fe3f88e083f1e821 (diff)
downloadorg.eclipse.virgo.kernel-0ff9c39c034dc8199222334caf4c03084113ba02.tar.gz
org.eclipse.virgo.kernel-0ff9c39c034dc8199222334caf4c03084113ba02.tar.xz
org.eclipse.virgo.kernel-0ff9c39c034dc8199222334caf4c03084113ba02.zip
395085 - Fixing the tests
Diffstat (limited to 'org.eclipse.virgo.management.console')
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/logging.js1
-rw-r--r--org.eclipse.virgo.management.console/src/test/java/org/eclipse/virgo/management/console/stubs/objects/Util.java6
2 files changed, 5 insertions, 2 deletions
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/logging.js b/org.eclipse.virgo.management.console/src/main/webapp/js/logging.js
index d8127314..39b593e1 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/logging.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/logging.js
@@ -36,7 +36,6 @@ var LoggerList = function(loggerList){
$.each(loggerList, function(index, loggerName){
var row = new Array(loggerName, '', '');
-
var td = $('<td />', {'class' : 'logger-update','onClick': 'loggingHandler.update("' + loggerName + '")'});
row.push(td.text('update'));
self.rows.push(row);
diff --git a/org.eclipse.virgo.management.console/src/test/java/org/eclipse/virgo/management/console/stubs/objects/Util.java b/org.eclipse.virgo.management.console/src/test/java/org/eclipse/virgo/management/console/stubs/objects/Util.java
index 69a4e770..9a500cf9 100644
--- a/org.eclipse.virgo.management.console/src/test/java/org/eclipse/virgo/management/console/stubs/objects/Util.java
+++ b/org.eclipse.virgo.management.console/src/test/java/org/eclipse/virgo/management/console/stubs/objects/Util.java
@@ -62,7 +62,11 @@ public class Util {
this.pageReady = true;
}
- public Object getCurrentHost(){
+ public Object getHost(){
+ return Context.javaToJS("hostPrefix", SCOPE);
+ }
+
+ public Object getHostAndAdminPath(){
return Context.javaToJS("hostPrefix", SCOPE);
}

Back to the top