[jboss-svn-commits] JBL Code SVN: r12463 - in labs/jbossrules/trunk/drools-compiler/src: test/java/org/drools/integrationtests and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Jun 11 15:24:32 EDT 2007
Author: mark.proctor at jboss.com
Date: 2007-06-11 15:24:32 -0400 (Mon, 11 Jun 2007)
New Revision: 12463
Modified:
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELConsequenceBuilder.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java
Log:
-fixed MVEL api change
-removed xxx from MiscTest tests
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELConsequenceBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELConsequenceBuilder.java 2007-06-11 19:18:42 UTC (rev 12462)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELConsequenceBuilder.java 2007-06-11 19:24:32 UTC (rev 12463)
@@ -151,8 +151,8 @@
Interceptor {
public int doBefore(ASTNode node,
VariableResolverFactory factory) {
- Object object = ((WithNode) node).getContext().getValue( null,
- factory );
+ Object object = ((WithNode) node). getNestedStatement().getValue( null,
+ factory );
FactHandle handle = ((DroolsMVELFactory) factory).getWorkingMemory().getFactHandle( object );
((DroolsMVELFactory) factory).getWorkingMemory().modifyRetract( handle, null, null );
return 0;
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-06-11 19:18:42 UTC (rev 12462)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java 2007-06-11 19:24:32 UTC (rev 12463)
@@ -106,7 +106,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" ) ) );
@@ -133,12 +133,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 );
}
@@ -168,7 +168,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();
@@ -214,7 +214,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();
@@ -249,7 +249,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" ) ) );
@@ -295,7 +295,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 );
@@ -317,7 +317,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" ) );
@@ -343,7 +343,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();
@@ -366,7 +366,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();
@@ -390,7 +390,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();
@@ -424,7 +424,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();
@@ -460,7 +460,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" ) ) );
@@ -492,7 +492,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 );
@@ -510,7 +510,7 @@
cell.getValue() );
}
- 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();
@@ -551,7 +551,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();
@@ -568,7 +568,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();
@@ -593,7 +593,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 );
@@ -620,7 +620,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();
@@ -641,7 +641,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();
@@ -674,7 +674,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();
@@ -707,7 +707,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();
@@ -729,7 +729,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();
@@ -756,7 +756,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();
@@ -785,7 +785,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();
@@ -840,7 +840,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();
@@ -908,7 +908,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();
@@ -935,7 +935,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();
@@ -968,7 +968,7 @@
}
- public void xxxtestErrorsParser() throws Exception {
+ public void testErrorsParser() throws Exception {
final DrlParser parser = new DrlParser();
assertEquals( 0,
parser.getErrors().size() );
@@ -981,7 +981,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();
@@ -1004,7 +1004,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" ) ) );
@@ -1034,7 +1034,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();
@@ -1060,7 +1060,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();
@@ -1082,7 +1082,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();
@@ -1104,7 +1104,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();
@@ -1126,7 +1126,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();
@@ -1148,7 +1148,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();
@@ -1169,7 +1169,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();
@@ -1243,7 +1243,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" ) ) );
@@ -1329,7 +1329,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();
@@ -1364,7 +1364,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();
@@ -1398,7 +1398,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" ) ) );
@@ -1414,7 +1414,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();
@@ -1446,7 +1446,7 @@
}
- public void xxxtestSerializable() throws Exception {
+ public void testSerializable() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_Serializable.drl" ) );
@@ -1512,7 +1512,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();
@@ -1531,7 +1531,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();
@@ -1550,7 +1550,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" ) ) );
@@ -1601,7 +1601,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();
@@ -1639,7 +1639,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" ) ) );
@@ -1654,7 +1654,7 @@
assertEquals( new AssertedObject( "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" ) ) );
@@ -1680,7 +1680,7 @@
assertEquals( new AssertedObject( "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.
@@ -1714,7 +1714,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();
@@ -1732,7 +1732,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" ) );
@@ -1825,7 +1825,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();
@@ -1910,7 +1910,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();
@@ -1933,7 +1933,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" ) ) );
@@ -1972,7 +1972,7 @@
nonmatchlist.size() );
}
- public void xxxtestDeclaringAndUsingBindsInSamePattern() throws Exception {
+ public void testDeclaringAndUsingBindsInSamePattern() throws Exception {
final RuleBaseConfiguration config = new RuleBaseConfiguration();
config.setRemoveIdentities( true );
@@ -2004,7 +2004,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" ) ) );
@@ -2022,7 +2022,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" ) ) );
@@ -2057,7 +2057,7 @@
list.size() );
}
- public void xxxtestDeclarationUsage() throws Exception {
+ public void testDeclarationUsage() throws Exception {
try {
final PackageBuilder builder = new PackageBuilder();
@@ -2076,7 +2076,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();
@@ -2106,7 +2106,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" ) ) );
@@ -2114,7 +2114,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();
@@ -2144,7 +2144,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();
@@ -2168,7 +2168,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();
@@ -2214,7 +2214,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();
@@ -2225,7 +2225,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();
@@ -2239,7 +2239,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();
@@ -2275,7 +2275,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();
@@ -2332,7 +2332,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();
@@ -2361,7 +2361,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();
@@ -2450,7 +2450,7 @@
wm.assertObject( 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();
@@ -2474,7 +2474,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();
@@ -2489,7 +2489,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();
@@ -2527,7 +2527,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();
@@ -2555,7 +2555,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();
@@ -2582,7 +2582,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();
@@ -2615,7 +2615,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();
@@ -2641,7 +2641,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();
@@ -2672,7 +2672,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();
@@ -2725,7 +2725,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();
@@ -2768,7 +2768,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();
@@ -2796,7 +2796,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();
@@ -2804,7 +2804,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();
More information about the jboss-svn-commits
mailing list