[jboss-svn-commits] JBL Code SVN: r14523 - labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Aug 24 07:27:29 EDT 2007
Author: mark.proctor at jboss.com
Date: 2007-08-24 07:27:29 -0400 (Fri, 24 Aug 2007)
New Revision: 14523
Modified:
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java
Log:
-removed xxx from all passing tests. added FIXME to the one failing test.
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java 2007-08-24 10:44:46 UTC (rev 14522)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java 2007-08-24 11:27:29 UTC (rev 14523)
@@ -118,7 +118,7 @@
config );
}
- public void xxxtestGlobals() throws Exception {
+ public void testGlobals() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "globals_rule_test.drl" ) ) );
@@ -145,12 +145,12 @@
list.get( 0 ) );
}
- public void xxxtestFieldBiningsAndEvalSharing() throws Exception {
+ public void testFieldBiningsAndEvalSharing() throws Exception {
final String drl = "test_FieldBindingsAndEvalSharing.drl";
evalSharingTest( drl );
}
- public void xxxtestFieldBiningsAndPredicateSharing() throws Exception {
+ public void testFieldBiningsAndPredicateSharing() throws Exception {
final String drl = "test_FieldBindingsAndPredicateSharing.drl";
evalSharingTest( drl );
}
@@ -180,7 +180,7 @@
list.size() );
}
- public void xxxtestFactBindings() throws Exception {
+ public void testFactBindings() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_FactBindings.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -226,7 +226,7 @@
event.getObject() );
}
- public void xxxtestNullHandling() throws Exception {
+ public void testNullHandling() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_NullHandling.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -261,7 +261,7 @@
}
- public void xxxtestEmptyPattern() throws Exception {
+ public void testEmptyPattern() throws Exception {
// pre build the package
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_EmptyPattern.drl" ) ) );
@@ -307,7 +307,7 @@
return ruleBase;
}
- public void xxxtestExplicitAnd() throws Exception {
+ public void testExplicitAnd() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_ExplicitAnd.drl" ) );
final RuleBase ruleBase = loadRuleBase( reader );
@@ -329,7 +329,7 @@
list.size() );
}
- public void xxxtestHelloWorld() throws Exception {
+ public void testHelloWorld() throws Exception {
// read in the source
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "HelloWorld.drl" ) );
@@ -355,7 +355,7 @@
}
- public void xxxtestLiteral() throws Exception {
+ public void testLiteral() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "literal_rule_test.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -378,7 +378,7 @@
list.get( 0 ) );
}
- public void xxxtestLiteralWithBoolean() throws Exception {
+ public void testLiteralWithBoolean() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "literal_with_boolean.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -402,7 +402,7 @@
list.get( 0 ) );
}
- public void xxxtestFactTemplate() throws Exception {
+ public void testFactTemplate() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_FactTemplate.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -436,7 +436,7 @@
}
- public void xxxtestPropertyChangeSupport() throws Exception {
+ public void testPropertyChangeSupport() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_PropertyChange.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -472,7 +472,7 @@
}
- public void xxxtestBigDecimal() throws Exception {
+ public void testBigDecimal() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "big_decimal_and_comparable.drl" ) ) );
@@ -504,7 +504,7 @@
list.size() );
}
- public void xxxtestCell() throws Exception {
+ public void testCell() throws Exception {
final Cell cell1 = new Cell( 9 );
final Cell cell = new Cell( 0 );
@@ -522,7 +522,7 @@
cell.getValue() );
}
- public void xxxtestNesting() throws Exception {
+ public void testNesting() throws Exception {
Person p = new Person();
p.setName( "Michael" );
@@ -571,7 +571,7 @@
}
- public void xxxtestOr() throws Exception {
+ public void testOr() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "or_test.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -612,7 +612,7 @@
}
- public void xxxtestQuery() throws Exception {
+ public void testQuery() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "simple_query_test.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -629,7 +629,7 @@
results.size() );
}
- public void xxxtestEval() throws Exception {
+ public void testEval() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "eval_rule_test.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -654,7 +654,7 @@
list.get( 0 ) );
}
- public void xxxtestJaninoEval() throws Exception {
+ public void testJaninoEval() throws Exception {
final PackageBuilderConfiguration config = new PackageBuilderConfiguration();
JavaDialectConfiguration javaConf = (JavaDialectConfiguration) config.getDialectConfiguration( "java" );
javaConf.setCompiler( JavaDialectConfiguration.JANINO );
@@ -683,7 +683,7 @@
list.get( 0 ) );
}
- public void xxxtestEvalMore() throws Exception {
+ public void testEvalMore() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "eval_rule_test_more.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -704,7 +704,7 @@
list.get( 0 ) );
}
- public void xxxtestReturnValue() throws Exception {
+ public void testReturnValue() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "returnvalue_rule_test.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -737,7 +737,7 @@
list.get( 1 ) );
}
- public void xxxtestPredicate() throws Exception {
+ public void testPredicate() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "predicate_rule_test.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -770,7 +770,7 @@
list.get( 1 ) );
}
- public void xxxtestNullBehaviour() throws Exception {
+ public void testNullBehaviour() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "null_behaviour.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -792,7 +792,7 @@
}
- public void xxxtestNullConstraint() throws Exception {
+ public void testNullConstraint() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "null_constraint.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -819,7 +819,7 @@
}
- public void xxxtestImportFunctions() throws Exception {
+ public void testImportFunctions() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_ImportFunctions.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -848,7 +848,7 @@
list.get( 3 ) );
}
- public void xxxtestBasicFrom() throws Exception {
+ public void testBasicFrom() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_From.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -906,7 +906,7 @@
list3.get( 0 ) );
}
- public void xxxtestFromWithParams() throws Exception {
+ public void testFromWithParams() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_FromWithParams.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -974,7 +974,7 @@
list.get( 5 ) );
}
- public void xxxtestFromWithNewConstructor() throws Exception {
+ public void testFromWithNewConstructor() throws Exception {
DrlParser parser = new DrlParser();
PackageDescr descr = parser.parse( new InputStreamReader( getClass().getResourceAsStream( "test_FromWithNewConstructor.drl" ) ) );
PackageBuilder builder = new PackageBuilder();
@@ -983,7 +983,7 @@
pkg.checkValidity();
}
- public void xxxtestWithInvalidRule() throws Exception {
+ public void testWithInvalidRule() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "invalid_rule.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1010,7 +1010,7 @@
}
- public void xxxtestErrorLineNumbers() throws Exception {
+ public void testErrorLineNumbers() throws Exception {
// this test aims to test semantic errors
// parser errors are another test case
final PackageBuilder builder = new PackageBuilder();
@@ -1043,7 +1043,7 @@
}
- public void xxxtestErrorsParser() throws Exception {
+ public void testErrorsParser() throws Exception {
final DrlParser parser = new DrlParser();
assertEquals( 0,
parser.getErrors().size() );
@@ -1056,7 +1056,7 @@
assertFalse( first.getMessage().equals( "" ) );
}
- public void xxxtestFunction() throws Exception {
+ public void testFunction() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_FunctionInConsequence.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1079,7 +1079,7 @@
list.get( 0 ) );
}
- public void xxxtestAssertRetract() throws Exception {
+ public void testAssertRetract() throws Exception {
// postponed while I sort out KnowledgeHelperFixer
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "assert_retract.drl" ) ) );
@@ -1109,7 +1109,7 @@
}
- public void xxxtestPredicateAsFirstPattern() throws Exception {
+ public void testPredicateAsFirstPattern() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "predicate_as_first_pattern.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1135,7 +1135,7 @@
provolone.getPrice() );
}
- public void xxxtestConsequenceException() throws Exception {
+ public void testConsequenceException() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_ConsequenceException.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1157,7 +1157,7 @@
}
}
- public void xxxtestFunctionException() throws Exception {
+ public void testFunctionException() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_FunctionException.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1179,7 +1179,7 @@
}
}
- public void xxxtestEvalException() throws Exception {
+ public void testEvalException() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_EvalException.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1201,7 +1201,7 @@
}
}
- public void xxxtestPredicateException() throws Exception {
+ public void testPredicateException() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_PredicateException.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1223,7 +1223,7 @@
}
}
- public void xxxtestReturnValueException() throws Exception {
+ public void testReturnValueException() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_ReturnValueException.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1244,7 +1244,7 @@
}
}
- public void xxxtestMultiRestrictionFieldConstraint() throws Exception {
+ public void testMultiRestrictionFieldConstraint() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_MultiRestrictionFieldConstraint.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1318,7 +1318,7 @@
assertTrue( list4.contains( chili1 ) );
}
- public void xxxtestDumpers() throws Exception {
+ public void testDumpers() throws Exception {
final DrlParser parser = new DrlParser();
final PackageDescr pkg = parser.parse( new InputStreamReader( getClass().getResourceAsStream( "test_Dumpers.drl" ) ) );
@@ -1404,7 +1404,7 @@
list.get( 2 ) );
}
- public void xxxtestContainsCheese() throws Exception {
+ public void testContainsCheese() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_ContainsCheese.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1439,7 +1439,7 @@
list.get( 1 ) );
}
- public void xxxtestStaticFieldReference() throws Exception {
+ public void testStaticFieldReference() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_StaticField.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1473,7 +1473,7 @@
list.get( 1 ) );
}
- public void xxxtestDuplicateRuleNames() throws Exception {
+ public void testDuplicateRuleNames() throws Exception {
PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_DuplicateRuleName1.drl" ) ) );
@@ -1489,7 +1489,7 @@
}
- public void xxxtestNullValuesIndexing() throws Exception {
+ public void testNullValuesIndexing() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_NullValuesIndexing.drl" ) );
final PackageBuilder builder = new PackageBuilder();
@@ -1521,7 +1521,7 @@
}
- public void xxxtestSerializable() throws Exception {
+ public void testSerializable() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_Serializable.drl" ) );
@@ -1591,7 +1591,7 @@
assertTrue( IteratorToList.convert( workingMemory.iterateObjects() ).contains( new Person( "help" ) ) );
}
- public void xxxtestEmptyRule() throws Exception {
+ public void testEmptyRule() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_EmptyRule.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1610,7 +1610,7 @@
assertTrue( list.contains( "fired2" ) );
}
- public void xxxtestjustEval() throws Exception {
+ public void testjustEval() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_NoPatterns.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -1629,7 +1629,7 @@
assertTrue( list.contains( "fired3" ) );
}
- public void xxxtestOrWithBinding() throws Exception {
+ public void testOrWithBinding() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_OrWithBindings.drl" ) ) );
@@ -1680,7 +1680,7 @@
return bytes;
}
- public void xxxtestJoinNodeModifyObject() throws Exception {
+ public void testJoinNodeModifyObject() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_JoinNodeModifyObject.drl" ) );
final PackageBuilder builder = new PackageBuilder();
@@ -1718,7 +1718,7 @@
}
}
- public void xxxtestQuery2() throws Exception {
+ public void testQuery2() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_Query.drl" ) ) );
@@ -1735,7 +1735,7 @@
results.get( 0 ).get( 0 ) );
}
- public void xxxtestQueryWithParams() throws Exception {
+ public void testQueryWithParams() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_QueryWithParams.drl" ) ) );
@@ -1772,7 +1772,7 @@
results.get( 0 ).get( 0 ) );
}
- public void xxxtestTwoQuerries() throws Exception {
+ public void testTwoQuerries() throws Exception {
// @see JBRULES-410 More than one Query definition causes an incorrect
// Rete network to be built.
@@ -1806,7 +1806,7 @@
results.size() );
}
- public void xxxtestInsurancePricingExample() throws Exception {
+ public void testInsurancePricingExample() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "insurance_pricing_example.drl" ) );
final RuleBase ruleBase = loadRuleBase( reader );
final WorkingMemory wm = ruleBase.newStatefulSession();
@@ -1824,7 +1824,7 @@
policy.getBasePrice() );
}
- public void xxxtestLLR() throws Exception {
+ public void testLLR() throws Exception {
// read in the source
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_JoinNodeModifyTuple.drl" ) );
@@ -1917,7 +1917,7 @@
wm.fireAllRules();
}
- public void xxxtestDoubleQueryWithExists() throws Exception {
+ public void testDoubleQueryWithExists() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_DoubleQueryWithExists.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2002,7 +2002,7 @@
queryResults.size() );
}
- public void xxxtestFunctionWithPrimitives() throws Exception {
+ public void testFunctionWithPrimitives() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_FunctionWithPrimitives.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2025,7 +2025,7 @@
list.get( 0 ) );
}
- public void xxxtestReturnValueAndGlobal() throws Exception {
+ public void testReturnValueAndGlobal() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_ReturnValueAndGlobal.drl" ) ) );
@@ -2064,7 +2064,7 @@
nonmatchlist.size() );
}
- public void xxxtestDeclaringAndUsingBindsInSamePattern() throws Exception {
+ public void testDeclaringAndUsingBindsInSamePattern() throws Exception {
final RuleBaseConfiguration config = new RuleBaseConfiguration();
config.setRemoveIdentities( true );
@@ -2096,7 +2096,7 @@
sensors.size() );
}
- public void xxxtestMissingImports() {
+ public void testMissingImports() {
try {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_missing_import.drl" ) ) );
@@ -2114,7 +2114,7 @@
}
}
- public void xxxtestNestedConditionalElements() throws Exception {
+ public void testNestedConditionalElements() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_NestedConditionalElements.drl" ) ) );
@@ -2149,7 +2149,7 @@
list.size() );
}
- public void xxxtestDeclarationUsage() throws Exception {
+ public void testDeclarationUsage() throws Exception {
try {
final PackageBuilder builder = new PackageBuilder();
@@ -2168,7 +2168,7 @@
}
}
- public void xxxtestUnbalancedTrees() throws Exception {
+ public void testUnbalancedTrees() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_UnbalancedTrees.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2198,7 +2198,7 @@
// success
}
- public void xxxtestImportConflict() throws Exception {
+ public void testImportConflict() throws Exception {
final RuleBase ruleBase = getRuleBase();
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_ImportConflict.drl" ) ) );
@@ -2206,7 +2206,7 @@
ruleBase.addPackage( pkg );
}
- public void xxxtestPrimitiveArray() throws Exception {
+ public void testPrimitiveArray() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_primitiveArray.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2236,7 +2236,7 @@
}
- public void xxxtestEmptyIdentifier() throws Exception {
+ public void testEmptyIdentifier() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_emptyIdentifier.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2260,7 +2260,7 @@
result.size() );
}
- public void xxxtestDuplicateVariableBinding() throws Exception {
+ public void testDuplicateVariableBinding() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_duplicateVariableBinding.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2306,7 +2306,7 @@
((Integer) result.get( "test3" + brie.getType() )).intValue() );
}
- public void xxxtestDuplicateVariableBindingError() throws Exception {
+ public void testDuplicateVariableBindingError() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_duplicateVariableBindingError.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2317,7 +2317,7 @@
pkg.getErrorSummary().split( "\n" ).length );
}
- public void xxxtestShadowProxyInHirarchies() throws Exception {
+ public void testShadowProxyInHirarchies() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_ShadowProxyInHirarchies.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2331,7 +2331,7 @@
workingMemory.fireAllRules();
}
- public void xxxtestSelfReference() throws Exception {
+ public void testSelfReference() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_SelfReference.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2367,7 +2367,7 @@
assertTrue( results.contains( item2 ) );
}
- public void xxxtestNumberComparisons() throws Exception {
+ public void testNumberComparisons() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_NumberComparisons.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2424,7 +2424,7 @@
}
- public void xxxtestSkipModify() throws Exception {
+ public void testSkipModify() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_skipModify.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2453,7 +2453,7 @@
results.size() );
}
- public void xxxtestEventModel() throws Exception {
+ public void testEventModel() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_EventModel.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2542,7 +2542,7 @@
wm.insert( cheddar );
}
- public void xxxtestImplicitDeclarations() throws Exception {
+ public void testImplicitDeclarations() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_implicitDeclarations.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2566,7 +2566,7 @@
results.size() );
}
- public void xxxtestCastingInsideEvals() throws Exception {
+ public void testCastingInsideEvals() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_castsInsideEval.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2581,7 +2581,7 @@
workingMemory.fireAllRules();
}
- public void xxxtestMemberOfAndNotMemberOf() throws Exception {
+ public void testMemberOfAndNotMemberOf() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_memberOf.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2619,7 +2619,7 @@
list.get( 1 ) );
}
- public void xxxtestContainsInArray() throws Exception {
+ public void testContainsInArray() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_contains_in_array.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2647,7 +2647,7 @@
list.get( 1 ) );
}
- public void xxxtestCollectNodeSharing() throws Exception {
+ public void testCollectNodeSharing() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_collectNodeSharing.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2674,7 +2674,7 @@
((List) list.get( 0 )).size() );
}
- public void xxxtestNodeSharingNotExists() throws Exception {
+ public void testNodeSharingNotExists() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_nodeSharingNotExists.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2707,7 +2707,7 @@
}
- public void xxxtestNullBinding() throws Exception {
+ public void testNullBinding() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_nullBindings.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2733,7 +2733,7 @@
}
- public void xxxtestModifyRetractWithFunction() throws Exception {
+ public void testModifyRetractWithFunction() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_RetractModifyWithFunction.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2764,7 +2764,7 @@
}
- public void xxxtestConstraintConnectors() throws Exception {
+ public void testConstraintConnectors() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_ConstraintConnectors.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2827,7 +2827,7 @@
}
- public void xxxtestMatchesNotMatchesCheese() throws Exception {
+ public void testMatchesNotMatchesCheese() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_MatchesNotMatches.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2870,7 +2870,7 @@
list.get( 1 ) );
}
- public void xxxtestAutomaticBindings() throws Exception {
+ public void testAutomaticBindings() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_AutoBindings.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2899,7 +2899,7 @@
list.get( 0 ) );
}
- public void xxxtestAutomaticBindingsErrors() throws Exception {
+ public void testAutomaticBindingsErrors() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_AutoBindingsErrors.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2907,7 +2907,7 @@
assertNotNull( pkg.getErrorSummary() );
}
- public void xxxtestQualifiedFieldReference() throws Exception {
+ public void testQualifiedFieldReference() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_QualifiedFieldReference.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -2936,7 +2936,7 @@
list.get( 0 ) );
}
- public void xxxtestEvalRewrite() throws Exception {
+ public void testEvalRewrite() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_EvalRewrite.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3002,7 +3002,7 @@
}
- public void xxxtestMapAccess() throws Exception {
+ public void testMapAccess() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_MapAccess.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3033,7 +3033,7 @@
}
- public void xxxtestHalt() throws Exception {
+ public void testHalt() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_halt.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3057,7 +3057,7 @@
}
}
- public void xxxtestFireLimit() throws Exception {
+ public void testFireLimit() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_fireLimit.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3105,7 +3105,7 @@
}
- public void xxxtestGlobals2() throws Exception {
+ public void testGlobals2() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_globalsAsConstraints.drl" ) ) );
@@ -3148,7 +3148,7 @@
results.get( 1 ) );
}
- public void xxxtestEqualitySupport() throws Exception {
+ public void testEqualitySupport() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_equalitySupport.drl" ) ) );
@@ -3178,7 +3178,7 @@
}
- public void xxxtestCharComparisons() throws Exception {
+ public void testCharComparisons() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_charComparisons.drl" ) ) );
@@ -3215,7 +3215,7 @@
}
- public void xxxtestAlphaNodeSharing() throws Exception {
+ public void testAlphaNodeSharing() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_alphaNodeSharing.drl" ) ) );
@@ -3246,7 +3246,7 @@
}
- public void xxxtestFunctionCallingFunction() throws Exception {
+ public void testFunctionCallingFunction() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_functionCallingFunction.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3265,7 +3265,7 @@
list.size() );
}
- public void xxxtestSelfReference2() throws Exception {
+ public void testSelfReference2() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_SelfReference2.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3286,7 +3286,7 @@
results.size() );
}
- public void xxxtestMergingDifferentPackages() throws Exception {
+ public void testMergingDifferentPackages() throws Exception {
// using the same builder
try {
final PackageBuilder builder = new PackageBuilder();
@@ -3301,7 +3301,7 @@
}
}
- public void xxxtestMergingDifferentPackages2() throws Exception {
+ public void testMergingDifferentPackages2() throws Exception {
// using different builders
try {
final PackageBuilder builder1 = new PackageBuilder();
@@ -3348,7 +3348,7 @@
}
}
- public void xxxtestRuleReplacement() throws Exception {
+ public void testRuleReplacement() throws Exception {
// test rule replacement
try {
final PackageBuilder builder1 = new PackageBuilder();
@@ -3396,7 +3396,7 @@
}
}
- public void xxxtestOutOfMemory() throws Exception {
+ public void testOutOfMemory() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_OutOfMemory.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3414,7 +3414,7 @@
//Thread.currentThread().wait();
}
- public void xxxtestBindingsOnConnectiveExpressions() throws Exception {
+ public void testBindingsOnConnectiveExpressions() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_bindings.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3440,7 +3440,7 @@
results.get( 1 ) );
}
- public void xxxtestMultipleFroms() throws Exception {
+ public void testMultipleFroms() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_multipleFroms.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3472,7 +3472,7 @@
((List) results.get( 1 )).size() );
}
- public void xxxtestNullHashing() throws Exception {
+ public void testNullHashing() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_NullHashing.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3498,7 +3498,7 @@
results.size() );
}
- public void xxxtestDefaultBetaConstrains() throws Exception {
+ public void testDefaultBetaConstrains() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_DefaultBetaConstraint.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3611,7 +3611,7 @@
}
- public void xxxtestBooleanWrapper() throws Exception {
+ public void testBooleanWrapper() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_BooleanWrapper.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3646,7 +3646,7 @@
}
- public void xxxtestCrossProductRemovingIdentityEquals() throws Exception {
+ public void testCrossProductRemovingIdentityEquals() throws Exception {
PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( MiscTest.class.getResourceAsStream( "test_CrossProductRemovingIdentityEquals.drl" ) ) );
@@ -3707,7 +3707,7 @@
list2.get( 5 ) );
}
- public void xxxtestIterateObjects() throws Exception {
+ public void testIterateObjects() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_IterateObjects.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3734,7 +3734,8 @@
events.next() );
}
- public void testEvalRewriteWithSpecialOperators() throws Exception {
+ // FIXME
+ public void FIXMEtestEvalRewriteWithSpecialOperators() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_EvalRewriteWithSpecialOperators.drl" ) ) );
final Package pkg = builder.getPackage();
@@ -3809,7 +3810,7 @@
}
- public void xxxtestImportColision() throws Exception {
+ public void testImportColision() throws Exception {
final PackageBuilder builder = new PackageBuilder();
final PackageBuilder builder2 = new PackageBuilder();
@@ -3832,7 +3833,7 @@
workingMemory.fireAllRules();
}
- public void xxxtestAutovivificationOfVariableRestrictions() throws Exception {
+ public void testAutovivificationOfVariableRestrictions() throws Exception {
final PackageBuilder builder = new PackageBuilder();
builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_AutoVivificationVR.drl" ) ) );
final Package pkg = builder.getPackage();
More information about the jboss-svn-commits
mailing list