[jboss-svn-commits] JBL Code SVN: r13410 - 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
Thu Jul 12 14:20:59 EDT 2007
Author: tirelli
Date: 2007-07-12 14:20:58 -0400 (Thu, 12 Jul 2007)
New Revision: 13410
Modified:
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java
Log:
JBRULES-593: uncommenting test cases
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-07-12 18:01:52 UTC (rev 13409)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java 2007-07-12 18:20:58 UTC (rev 13410)
@@ -111,7 +111,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" ) ) );
@@ -138,12 +138,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 );
}
@@ -173,7 +173,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();
@@ -219,7 +219,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();
@@ -254,7 +254,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" ) ) );
@@ -300,7 +300,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 );
@@ -322,7 +322,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" ) );
@@ -348,7 +348,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();
@@ -371,7 +371,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();
@@ -395,7 +395,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();
@@ -429,7 +429,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();
@@ -465,7 +465,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" ) ) );
@@ -497,7 +497,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 );
@@ -515,7 +515,7 @@
cell.getValue() );
}
- public void xxxtestNesting() throws Exception {
+ public void testNesting() throws Exception {
Person p = new Person();
p.setName( "Michael" );
@@ -557,7 +557,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();
@@ -598,7 +598,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();
@@ -615,7 +615,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();
@@ -640,7 +640,7 @@
list.get( 0 ) );
}
- public void xxxtestJaninoEval() throws Exception {
+ public void testJaninoEval() throws Exception {
final PackageBuilderConfiguration config = new PackageBuilderConfiguration();
config.setCompiler( PackageBuilderConfiguration.JANINO );
final PackageBuilder builder = new PackageBuilder( config );
@@ -667,7 +667,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();
@@ -688,7 +688,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();
@@ -721,7 +721,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();
@@ -754,7 +754,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();
@@ -776,7 +776,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();
@@ -803,7 +803,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();
@@ -832,7 +832,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();
@@ -890,7 +890,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();
@@ -958,7 +958,7 @@
list.get( 5 ) );
}
- 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();
@@ -985,7 +985,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();
@@ -1018,7 +1018,7 @@
}
- public void xxxtestErrorsParser() throws Exception {
+ public void testErrorsParser() throws Exception {
final DrlParser parser = new DrlParser();
assertEquals( 0,
parser.getErrors().size() );
@@ -1031,7 +1031,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();
@@ -1054,7 +1054,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" ) ) );
@@ -1084,7 +1084,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();
@@ -1110,7 +1110,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();
@@ -1132,7 +1132,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();
@@ -1154,7 +1154,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();
@@ -1176,7 +1176,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();
@@ -1198,7 +1198,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();
@@ -1219,7 +1219,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();
@@ -1293,7 +1293,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" ) ) );
@@ -1379,7 +1379,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();
@@ -1414,7 +1414,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();
@@ -1448,7 +1448,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" ) ) );
@@ -1464,7 +1464,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();
@@ -1496,7 +1496,7 @@
}
- public void xxxtestSerializable() throws Exception {
+ public void testSerializable() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_Serializable.drl" ) );
@@ -1565,7 +1565,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();
@@ -1584,7 +1584,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();
@@ -1603,7 +1603,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" ) ) );
@@ -1654,7 +1654,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();
@@ -1692,7 +1692,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" ) ) );
@@ -1707,7 +1707,7 @@
assertEquals( new InsertedObject( "value1"), 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" ) ) );
@@ -1733,7 +1733,7 @@
assertEquals( new InsertedObject( "value2"), 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.
@@ -1767,7 +1767,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();
@@ -1785,7 +1785,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" ) );
@@ -1878,7 +1878,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();
@@ -1963,7 +1963,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();
@@ -1986,7 +1986,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" ) ) );
@@ -2025,7 +2025,7 @@
nonmatchlist.size() );
}
- public void xxxtestDeclaringAndUsingBindsInSamePattern() throws Exception {
+ public void testDeclaringAndUsingBindsInSamePattern() throws Exception {
final RuleBaseConfiguration config = new RuleBaseConfiguration();
config.setRemoveIdentities( true );
@@ -2057,7 +2057,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" ) ) );
@@ -2075,7 +2075,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" ) ) );
@@ -2110,7 +2110,7 @@
list.size() );
}
- public void xxxtestDeclarationUsage() throws Exception {
+ public void testDeclarationUsage() throws Exception {
try {
final PackageBuilder builder = new PackageBuilder();
@@ -2129,7 +2129,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();
@@ -2159,7 +2159,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" ) ) );
@@ -2167,7 +2167,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();
@@ -2197,7 +2197,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();
@@ -2221,7 +2221,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();
@@ -2267,7 +2267,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();
@@ -2278,7 +2278,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();
@@ -2292,7 +2292,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();
@@ -2328,7 +2328,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();
@@ -2385,7 +2385,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();
@@ -2414,7 +2414,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();
@@ -2503,7 +2503,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();
@@ -2527,7 +2527,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();
@@ -2542,7 +2542,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();
@@ -2580,7 +2580,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();
@@ -2608,7 +2608,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();
@@ -2635,7 +2635,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();
@@ -2668,7 +2668,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();
@@ -2694,7 +2694,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();
@@ -2725,7 +2725,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();
@@ -2784,7 +2784,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();
@@ -2827,7 +2827,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();
@@ -2855,7 +2855,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();
@@ -2863,7 +2863,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();
@@ -2891,7 +2891,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();
@@ -2950,7 +2950,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();
@@ -3001,7 +3001,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();
@@ -3047,7 +3047,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" ) ) );
@@ -3086,7 +3086,7 @@
assertEquals( "not memberOf", 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" ) ) );
@@ -3113,7 +3113,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" ) ) );
@@ -3146,7 +3146,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" ) ) );
@@ -3173,7 +3173,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();
@@ -3192,7 +3192,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();
@@ -3213,7 +3213,7 @@
results.size() );
}
- public void xxxtestMergingDifferentPackages() throws Exception {
+ public void testMergingDifferentPackages() throws Exception {
// using the same builder
try {
final PackageBuilder builder = new PackageBuilder();
@@ -3228,7 +3228,7 @@
}
}
- public void xxxtestMergingDifferentPackages2() throws Exception {
+ public void testMergingDifferentPackages2() throws Exception {
// using different builders
try {
final PackageBuilder builder1 = new PackageBuilder();
@@ -3271,7 +3271,7 @@
}
}
- public void xxxtestRuleReplacement() throws Exception {
+ public void testRuleReplacement() throws Exception {
// test rule replacement
try {
final PackageBuilder builder1 = new PackageBuilder();
More information about the jboss-svn-commits
mailing list