Project

General

Profile

Activity

From 10/16/2022 to 11/14/2022

11/14/2022

03:05 PM Feature #6237: OEUnit support
Greg Shah wrote:
> We need to be able to specify the bootstrap configuration path/filename for a given test run.
...
Vladimir Tsichevski
01:07 PM Feature #6237: OEUnit support
The latest diff @6237-215-14360.diff@. Vladimir Tsichevski
12:56 PM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> We should add support for the classroot selector in the engine. This selector is not us...
Vladimir Tsichevski
11:39 AM Feature #6237: OEUnit support
We should add support for the classroot selector in the engine. This selector is not used by Eclipse test launcher (E... Vladimir Tsichevski

11/11/2022

04:53 PM Feature #6237: OEUnit support
Greg Shah wrote:
> We need to be able to specify the bootstrap configuration path/filename for a given test run. Di...
Vladimir Tsichevski
04:40 PM Feature #6237: OEUnit support
Greg Shah wrote:
> Unpack and rethrow it in the calling code on the client.
It works!
!6237-211.png!
Vladimir Tsichevski
03:20 PM Feature #6237: OEUnit support
Unpack and rethrow it in the calling code on the client. Greg Shah
02:06 PM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> My proposal is to follow the same way, and let the assertions library, implemented in...
Vladimir Tsichevski

11/09/2022

07:46 AM Feature #6237: OEUnit support
We need to be able to specify the bootstrap configuration path/filename for a given test run. Different test runs in... Greg Shah
06:41 AM Feature #6237: OEUnit support
Greg Shah wrote:
> Some questions:
>
> * How do we register our test engine with these launchers?
> ** Eclipse
...
Vladimir Tsichevski
06:12 AM Feature #6237: OEUnit support
Some questions:
* How do we register our test engine with these launchers?
** Eclipse
** ant
** gradle
** JUni...
Greg Shah

11/08/2022

06:06 PM Feature #6237: OEUnit support
Greg Shah wrote:
> Are you saying there is absolutely no way to ever pass configuration from some launcher to our ...
Vladimir Tsichevski
04:16 PM Feature #6237: OEUnit support
> There is no such thing as "direct JUnit invocation".
I'm talking about command line launching of JUnit.
> The...
Greg Shah
04:07 PM Feature #6237: OEUnit support
Greg Shah wrote:
> From #6237-61 above:
>
> I want to reuse our existing approaches to configuration (e.g. using ...
Vladimir Tsichevski
02:32 PM Feature #6237: OEUnit support
From #6237-61 above:
> Gather the necessary configuration (a @BootstrapConfig@ instance) to pass to the @ClientCor...
Greg Shah
01:13 PM Feature #6237: OEUnit support
I see some potential problem: the test engine has no access to the command-line parameters, since these parameters ar... Vladimir Tsichevski
12:35 PM Feature #6237: OEUnit support
The problem with referencing Java class names in test suite Java sources resolved in @6237-200-14353.diff@.
Now th...
Vladimir Tsichevski
07:38 PM Feature #6237: OEUnit support
> No, I do not propose using Java exceptions instead of legacy exceptions. Instead, at the server our test engine wil... Greg Shah

11/07/2022

06:17 PM Feature #6237: OEUnit support
Greg Shah wrote:
> Although I see the value in this idea, I wonder if using the JUnit exception instead of the legac...
Vladimir Tsichevski
06:00 PM Feature #6237: OEUnit support
Although I see the value in this idea, I wonder if using the JUnit exception instead of the legacy exception will hav... Greg Shah
03:38 PM Feature #6237: OEUnit support
The expected legacy exception handling implemented both in conversion and runtime.
The diff is @6237-196-14352.diff@.
Vladimir Tsichevski
03:34 PM Feature #6237: OEUnit support
JUnit5 Jupiter engine uses the @org.opentest4j@ package, namely the @AssertionFailedError@ from this package to store... Vladimir Tsichevski
02:33 PM Feature #6237: OEUnit support
Problem: if the test method throws a legacy exception, it is now returned to the client, but the legacy exception is ... Vladimir Tsichevski

11/02/2022

04:43 PM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> In @ABLUnit@ it is valid to use instance methods (no static) as "before all" and "after...
Vladimir Tsichevski
01:21 PM Feature #6237: OEUnit support
In @ABLUnit@ it is valid to use instance methods (no static) as "before all" and "after all" behavior. We need to add... Vladimir Tsichevski

11/01/2022

05:01 PM Feature #6237: OEUnit support
Greg Shah wrote:
> Please fix it in our conversion (generate only one annotation and merge the data).
This is fix...
Vladimir Tsichevski
03:57 PM Bug #6901: Event handling - ON ANYWHERE
There are two issues with conversion of @ON@ statement in regards to @ANYWHERE@ option found during debugging of even... Marian Edu
03:57 PM Bug #6901 (Test): Event handling - ON ANYWHERE
Marian Edu

10/31/2022

10:01 AM Feature #6237: OEUnit support
Please fix it in our conversion (generate only one annotation and merge the data). Greg Shah

10/30/2022

04:51 PM Feature #6237: OEUnit support
4gl allows multiple annotations of the same type for the same element. This is used in some customer code to implemen... Vladimir Tsichevski

10/28/2022

05:07 PM Feature #6237: OEUnit support
Issues #6237-187 (automatic disabling the engine) and #6237-186 (@@TestSuite@ support) resolved in the patch @6237-18... Vladimir Tsichevski

10/27/2022

05:29 PM Feature #6237: OEUnit support
FWD test engine instantiation requires a connection to a FWD server. If this connection fails, the engine creation en... Vladimir Tsichevski
12:35 PM Support #6848: TRPL questions and issues
As the temporary workaround (just to continue the development), I can use the Java class names in the legacy 4gl sour... Vladimir Tsichevski
04:39 AM Support #6848: TRPL questions and issues
Constantin Asofiei wrote:
> Vladimir Tsichevski wrote:
> > Here I need to know the Java class names for legacy clas...
Vladimir Tsichevski

10/26/2022

05:09 PM Support #6848: TRPL questions and issues
Vladimir Tsichevski wrote:
> Here I need to know the Java class names for legacy classes @unittests.SimpleTestOEUnit...
Constantin Asofiei
04:20 PM Support #6848: TRPL questions and issues
Greg Shah wrote:
> Please just read the @pkgname@ and @classname@ annotations from the root node of the AST. You sh...
Vladimir Tsichevski
02:35 PM Bug #6889: rollback the files as 'unconverted' if (incremental) conversion fails.
When incremental conversion is ran, once the parse phase finishes, a file is marked 'converted'. But, incremental co... Constantin Asofiei
02:34 PM Bug #6889 (Test): rollback the files as 'unconverted' if (incremental) conversion fails.
Constantin Asofiei
01:37 PM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> @OEUnit@ supports dynamic test suites, for example:
>
> [...]
>
> I think, we wil...
Vladimir Tsichevski

10/21/2022

04:12 PM Feature #6237: OEUnit support
For now, keep using the Java names. Greg Shah
12:57 PM Feature #6237: OEUnit support
Greg Shah wrote:
> Vladimir Tsichevski wrote:
> > Question: shall we use legacy names as display names or converted...
Vladimir Tsichevski
12:49 PM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Question: shall we use legacy names as display names or converted Java class and method...
Greg Shah
12:46 PM Feature #6237: OEUnit support
The updates in @6237-182-r14314.diff@:
# Legacy procedures-based tests support added: conversion and runtime.
# T...
Vladimir Tsichevski
12:22 PM Feature #6237: OEUnit support
Question: shall we use legacy names as display names or converted Java class and method names? Vladimir Tsichevski

10/20/2022

10:24 AM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> I think, the correct code is:
>
> [...]
Yes, the config needs to be marked 'persist...
Constantin Asofiei
10:23 AM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Constantin Asofiei wrote:
> > Vladimir, what exactly are you trying to achieve? Gener...
Constantin Asofiei
10:13 AM Feature #6237: OEUnit support
Constantin Asofiei wrote:
> For example: @new InvokeConfig(<program>).setProcedureHandle(h).run(arguments);@.
I...
Vladimir Tsichevski
09:00 AM Feature #6237: OEUnit support
Constantin Asofiei wrote:
> Vladimir, what exactly are you trying to achieve? Generate Java code? Write Java code b...
Vladimir Tsichevski
06:35 AM Feature #6237: OEUnit support
Vladimir, what exactly are you trying to achieve? Generate Java code? Write Java code by hand?
Direct usage of @C...
Constantin Asofiei

10/19/2022

05:40 PM Feature #6237: OEUnit support
I am implementing the procedure-based unit tests for @ABLUnit@, and I do not know the proper way to create procedure ... Vladimir Tsichevski
05:13 PM Feature #6237: OEUnit support
Unlike JUnit5, @OEUnit@ uses a single instance to run all instance-related test methods in the class (JUnit5 by defau... Vladimir Tsichevski
08:50 AM Feature #6237: OEUnit support
Issues #6237-156, #6237-163 and #6237-170 now fixed in @6237-173-r14306.diff@. The diff is against the FWD rev. 14306. Vladimir Tsichevski
08:35 AM Feature #6237: OEUnit support
Greg Shah wrote:
> > The first method is not possible, since there is no such place in the custom test engine code, ...
Vladimir Tsichevski
08:00 AM Feature #6237: OEUnit support
> The first method is not possible, since there is no such place in the custom test engine code, where all root test ... Greg Shah
07:54 AM Support #6848: TRPL questions and issues
Please just read the @pkgname@ and @classname@ annotations from the root node of the AST. You should not be converti... Greg Shah

10/18/2022

05:14 PM Feature #6237: OEUnit support
Another problem to solve related to test method discovery:
# the user requests running a Java package as JUnit Tes...
Vladimir Tsichevski
04:18 PM Support #6848: TRPL questions and issues
I need to convert legacy class names to converted Java class name (simple names and FQN). Which library method should... Vladimir Tsichevski
11:34 AM Support #6848: TRPL questions and issues
> I need to either find the place in the code, in which the prog.symbol can be converted to java symbol and fix it
...
Greg Shah
11:32 AM Support #6848: TRPL questions and issues
Greg Shah wrote:
> The @SYMBOL@ you are referencing may be the @prog.symbol@ type. Notice this is in the @prog@ (fo...
Vladimir Tsichevski
10:49 AM Support #6848: TRPL questions and issues
The @SYMBOL@ you are referencing may be the @prog.symbol@ type. Notice this is in the @prog@ (for @Progress@) namesp... Greg Shah
10:05 AM Support #6848: TRPL questions and issues
Greg Shah wrote:
> We wouldn't get very far in conversion if we couldn't emit symbols or data types. The authoritat...
Vladimir Tsichevski

10/17/2022

07:22 PM Support #6848: TRPL questions and issues
We wouldn't get very far in conversion if we couldn't emit symbols or data types. The authoritative source of how Ja... Greg Shah
07:07 PM Support #6848: TRPL questions and issues
I need to create a Java annotation of the following type:... Vladimir Tsichevski
06:15 PM Support #6848: TRPL questions and issues
@dbref/collect_refs.xml@ is currently disabled code and was left there on purpose. It is intended to identify refere... Greg Shah
04:28 PM Support #6848: TRPL questions and issues
About the legacy annotation attribute values.
Annotations containing attributes can look like this:...
Vladimir Tsichevski
03:57 PM Support #6848: TRPL questions and issues
I found, that to convert a Java array to @java.util.List@, the @createListFromObject@ library function can be used.
...
Vladimir Tsichevski
03:29 PM Support #6848: TRPL questions and issues
Questions about the TRPL language should be posted and discussed here. Vladimir Tsichevski
03:27 PM Support #6848 (New): TRPL questions and issues
Vladimir Tsichevski
08:16 AM Feature #6237: OEUnit support
Greg Shah wrote:
> Think about it and try to estimate the changes that are needed.
OK
Vladimir Tsichevski
07:52 AM Feature #6237: OEUnit support
Think about it and try to estimate the changes that are needed. Greg Shah
07:46 AM Feature #6237: OEUnit support
Greg Shah wrote:
> > We will need to support dynamic tests then: the tests which are created in runtime by executing...
Vladimir Tsichevski
07:20 AM Feature #6237: OEUnit support
> We will need to support dynamic tests then: the tests which are created in runtime by executing customer 4gl code. ... Greg Shah
07:12 AM Feature #6237: OEUnit support
Greg Shah wrote:
> Vladimir Tsichevski wrote:
> > Greg Shah wrote:
> > > > I think, we will not support these, ins...
Vladimir Tsichevski
07:05 AM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Greg Shah wrote:
> > > I think, we will not support these, instead the declarative app...
Greg Shah
 

Also available in: Atom