[jboss-svn-commits] JBL Code SVN: r14772 - labs/jbossrules/trunk/drools-jbrms/src/test/java/org/drools/brms/client/modeldriven.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Aug 31 01:28:13 EDT 2007
Author: michael.neale at jboss.com
Date: 2007-08-31 01:28:13 -0400 (Fri, 31 Aug 2007)
New Revision: 14772
Modified:
labs/jbossrules/trunk/drools-jbrms/src/test/java/org/drools/brms/client/modeldriven/HumanReadableTest.java
Log:
I wasn't drunk when I forgot to adjust this test. Honest. Just lazy. Its friday, been a hard week.
Modified: labs/jbossrules/trunk/drools-jbrms/src/test/java/org/drools/brms/client/modeldriven/HumanReadableTest.java
===================================================================
--- labs/jbossrules/trunk/drools-jbrms/src/test/java/org/drools/brms/client/modeldriven/HumanReadableTest.java 2007-08-31 05:25:14 UTC (rev 14771)
+++ labs/jbossrules/trunk/drools-jbrms/src/test/java/org/drools/brms/client/modeldriven/HumanReadableTest.java 2007-08-31 05:28:13 UTC (rev 14772)
@@ -1,13 +1,13 @@
package org.drools.brms.client.modeldriven;
/*
* Copyright 2005 JBoss Inc
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -24,28 +24,28 @@
public void testOperatorMapping() {
assertEquals("is not equal to", HumanReadable.getOperatorDisplayName("!="));
- assertEquals("is equal to", HumanReadable.getOperatorDisplayName("=="));
+ assertEquals("is equal to", HumanReadable.getOperatorDisplayName("=="));
assertEquals("xxx", HumanReadable.getOperatorDisplayName("xxx"));
}
-
+
public void testCEMapping() {
assertEquals("There is no", HumanReadable.getCEDisplayName( "not" ));
assertEquals("There exists", HumanReadable.getCEDisplayName( "exists" ));
assertEquals("Any of", HumanReadable.getCEDisplayName( "or" ));
assertEquals("xxx", HumanReadable.getCEDisplayName( "xxx" ));
-
+
}
-
+
public void testActionMapping() {
- assertEquals("Assert", HumanReadable.getActionDisplayName( "assert" ));
+ assertEquals("Insert", HumanReadable.getActionDisplayName( "assert" ));
assertEquals("foo", HumanReadable.getActionDisplayName( "foo" ));
}
-
-
-
-
-
-
+
+
+
+
+
+
}
\ No newline at end of file
More information about the jboss-svn-commits
mailing list