[jboss-svn-commits] JBL Code SVN: r25198 - labs/jbossrules/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/modeldriven.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Feb 10 06:26:43 EST 2009


Author: Rikkola
Date: 2009-02-10 06:26:42 -0500 (Tue, 10 Feb 2009)
New Revision: 25198

Removed:
   labs/jbossrules/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/modeldriven/HumanReadableTest.java
Log:
Removing this test, pretty useless and there is no easy way to make it work with the i18n.

Deleted: labs/jbossrules/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/modeldriven/HumanReadableTest.java
===================================================================
--- labs/jbossrules/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/modeldriven/HumanReadableTest.java	2009-02-10 10:47:34 UTC (rev 25197)
+++ labs/jbossrules/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/modeldriven/HumanReadableTest.java	2009-02-10 11:26:42 UTC (rev 25198)
@@ -1,52 +0,0 @@
-package org.drools.guvnor.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.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-import junit.framework.TestCase;
-
-public class HumanReadableTest extends TestCase {
-
-    public void testOperatorMapping() {
-
-        assertEquals("is not equal to", HumanReadable.getOperatorDisplayName("!="));
-        assertEquals("is equal to", HumanReadable.getOperatorDisplayName("=="));
-        assertEquals("xxx", HumanReadable.getOperatorDisplayName("xxx"));
-        assertEquals("sounds like", HumanReadable.getOperatorDisplayName("soundslike" ));
-    }
-
-    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("Insert", HumanReadable.getActionDisplayName( "assert" ));
-        assertEquals("foo", HumanReadable.getActionDisplayName( "foo" ));
-    }
-
-
-
-
-
-
-}
\ No newline at end of file




More information about the jboss-svn-commits mailing list