-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DROOLS-7088] Property reactivity discrepancy between executable mode… (
#4585) (#4800) * [DROOLS-7088] Property reactivity discrepancy between executable model and non executable model with a capitalized property - unit tests * - fixed non-exec-model - added more tests - added import
- Loading branch information
Showing
3 changed files
with
147 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...ols-model-compiler/src/test/java/org/drools/modelcompiler/domain/VariousCasePropFact.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* Copyright 2022 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.drools.modelcompiler.domain; | ||
|
||
public class VariousCasePropFact { | ||
|
||
private String value; // lower only | ||
private String MyTarget; // upper + lower | ||
private String URL; // upper + upper | ||
private String 名前; // multibyte | ||
private String My名前; // upper + lower + multibyte | ||
public String MyPublicTarget; // public field : upper + lower | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public void setValue(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getMyTarget() { | ||
return MyTarget; | ||
} | ||
|
||
public void setMyTarget(String myTarget) { | ||
MyTarget = myTarget; | ||
} | ||
|
||
public String getURL() { | ||
return URL; | ||
} | ||
|
||
public void setURL(String uRL) { | ||
URL = uRL; | ||
} | ||
|
||
public String get名前() { | ||
return 名前; | ||
} | ||
|
||
public void set名前(String 名前) { | ||
this.名前 = 名前; | ||
} | ||
|
||
public String getMy名前() { | ||
return My名前; | ||
} | ||
|
||
public void setMy名前(String my名前) { | ||
My名前 = my名前; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters