Project

General

Profile

Activity

From 09/29/2022 to 10/28/2022

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

10/14/2022

03:32 PM Feature #6237: OEUnit support
Current implementation was developed in assumption that the @discover@ method of a test engine is called by the test ... Vladimir Tsichevski
02:43 PM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Test inheritance is implemented in @OEUnit@: not only the methods in the class are disc...
Vladimir Tsichevski
01:46 PM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Annotations conversion bug found: wrong Java annotation generated: @@BeforeAll@ instead...
Vladimir Tsichevski
01:34 PM Feature #6237: OEUnit support
Annotations conversion bug found: wrong Java annotation generated: @@BeforeAll@ instead of @@BeforeEach@ and @@After... Vladimir Tsichevski
11:47 AM Feature #6237: OEUnit support
Test inheritance is implemented in @OEUnit@: not only the methods in the class are discovered, but also methods in su... Vladimir Tsichevski
10:12 AM Feature #6237: OEUnit support
Greg Shah wrote:
> > I think, we will not support these, instead the declarative approach will be used, so the same ...
Vladimir Tsichevski
10:11 AM Feature #6237: OEUnit support
> I think, we will not support these, instead the declarative approach will be used, so the same class will look like... Greg Shah
10:06 AM Feature #6237: OEUnit support
@OEUnit@ supports dynamic test suites, for example:... Vladimir Tsichevski

10/13/2022

04:18 PM Feature #6237: OEUnit support
Greg Shah wrote:
> The key question that must be answered about OEUnit and ABLUnit is whether each test or each te...
Vladimir Tsichevski
03:45 PM Feature #6237: OEUnit support
In @OEUnit@ test methods annotated with @@Ignore@, are not executed, but a test result with the status @Ignored@ is g... Vladimir Tsichevski
02:48 PM Feature #6237: OEUnit support
@OEUnit@ runs the after tests methods even when the before test methods and tests methods sequence ended prematurely ... Vladimir Tsichevski
02:36 PM Feature #6237: OEUnit support
@OEUnit@ has two more annotations: @DataProvider@ and @Fixture@. We probably need learn their meaning and add the sup... Vladimir Tsichevski
02:32 PM Feature #6237: OEUnit support
At least, @OEUnit@ discovers test recursively (when a test class is a test suite, references classes may be test suit... Vladimir Tsichevski
08:29 AM Feature #6237: OEUnit support
> I suppose FWD expects that everything is executed in some top-level 4gl procedure. In our case we have no such proc... Greg Shah

10/12/2022

06:14 PM Feature #6237: OEUnit support
Now tests can be executed remotely. See @6237-remote.diff@.
Here it is how it looks when running the @Run as... > ...
Vladimir Tsichevski

10/05/2022

05:48 PM Feature #6237: OEUnit support
Yes, I assumed as much. It is exactly why I suggested that we create a new thread to execute @ClientCore.start()@ in... Greg Shah
03:31 PM Feature #6237: OEUnit support
Greg Shah wrote:
> As part of my suggestion in #6237-61, I was assuming that the test engine client would "Define th...
Vladimir Tsichevski
03:27 PM Feature #6237: OEUnit support
As part of my suggestion in #6237-61, I was assuming that the test engine client would "Define the lambda as a execut... Greg Shah
03:00 PM Feature #6237: OEUnit support
I see some problem here.
The JUnit5 testing life cycle assumes the program is being called from outside multiple t...
Vladimir Tsichevski

10/04/2022

06:51 AM Feature #6237: OEUnit support
To pass test descriptors over network, we need to make them @Serializable@ or @Externalizable@. Original POS test des... Vladimir Tsichevski

10/03/2022

12:59 PM Feature #6237: OEUnit support
I have no objection to the bootstrap cfg approach. Greg Shah
12:09 PM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> I think, we can use the @BootstrapConfig@ to pass the test engine discover request data...
Vladimir Tsichevski
10:20 AM Feature #6237: OEUnit support
I think, we can use the @BootstrapConfig@ to pass the test engine discover request data from test runner (e.g. Eclips... Vladimir Tsichevski
09:13 AM Feature #6237: OEUnit support
One more change required for the JUnin5 framework would able to discover the custom test engine.
See @6237-addon.d...
Vladimir Tsichevski

09/30/2022

02:05 PM Feature #6237: OEUnit support
Greg Shah wrote:
> As list of pending changes as noted by Vladimir via email:
>
> [...]
>
> For changes 1 thro...
Vladimir Tsichevski

09/29/2022

02:03 PM Feature #6237: OEUnit support
As list of pending changes as noted by Vladimir via email:... Greg Shah
11:46 AM Feature #6237: OEUnit support
Greg Shah wrote:
> > So we need to either disable the Jupiter engine somehow (which I failed to find out how), or us...
Vladimir Tsichevski
08:10 AM Feature #6237: OEUnit support
> So we need to either disable the Jupiter engine somehow (which I failed to find out how), or use our own markup for... Greg Shah
05:09 AM Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Vladimir Tsichevski wrote:
>
> > The little problem with Eclipse is that it always u...
Vladimir Tsichevski
 

Also available in: Atom