8344942: Template-Based Testing Framework #22483
JDK-8344942
687bec46
openjdk
changed the title JDK-8344942 8344942: Template-Based Testing Framework 20 days ago
stub
82347d86
experiment with finding local variable
991c884d
parse local variables and replacements
4a876e5f
improve parsing
bbf89608
some early stubs
f17ccb85
renaming
57a44375
fix syntax issues
5a5588f9
add ClassScope
8cb212d5
adding code, newline, indentation
23172b2e
add exception
ad460f15
nicely split templated and nonTemplated
1f5a755e
start handling templated
4d46a522
parse replacement
a899a2a3
wip parse replacement
21641afe
parse key-value pair for generator
ba7e120a
stub for generator call
f092ee95
stub of code stream
323653df
CodeStream toString
b7f980c4
handle replacement repeats
7a9e63ab
prepare for recursive generator call
a019e650
add code generator library
c68ffb76
first code generator with lambda
0e4da3ac
comments
4ce33f90
refactor scope to a class
f5988302
class -> base scope refactor
b413f4e8
stub for SelectorCodeGenerator
e42eb39a
choose
1dcf3c98
fuel for nesting
73860c02
refactor indentation
5a2f0719
improve indentation handling
d3c734df
add split
713d1573
programmatic, and start on variables
72988ca2
variable sampling wip
2ff5845d
wip adding variables
e1744b56
add local variables
823a22c8
variable sampling works - not yet mutability
3858a3a0
improve templates
8da4f83c
declare as static
83ce5a8a
variable load/store
27afa770
check empty variable name
6e9ffb2b
more ideas
51a07048
parse scope open/close
6e811416
add stub for method and class scope
fc2a12b0
inject class/method scopes in template
90980428
idea
fee1a5b2
refactor indentation a little
6b3411ed
refactoring and wip on dispatch
ac9b120d
impl dispatch
820e039a
rm totalVariables optimization - won't work with dispatch/prepend
c95bc3bb
refactor to be able to pass param and variable names
a78e27c3
pass parameters and variable names as parameters
835b0aaf
update ideas
e90bd64c
fix order of dispatched blocks
da9b5409
add variables to class and method scope
091c6dff
wip scope tracing
61dbd3b1
set debug context
0b9d215a
more tracing for scopes
ce4c55b6
better int example, and proper int_con impl
f4035deb
scope for parameters get
d4202f1c
verify parameter list
e6329bcb
refactor finding method/class scope
fad1e2c3
move comments
0f9ca93f
simplify single template instantiation
9cb56789
parameter test
8cd9543e
TestInstantiationOfManyTests wip
d5a93af5
parameters for TestClassInstantiator
5a4016d2
list of parameters for cross-product
f4d07e59
refactor parameters cross product
485c7379
instantiate templates selectively
cbfd5d14
shared replacement state for bundled templates
a883ff11
repeat instantiation
a58ae440
custom library example + some library refactoring
2a164f6e
repeat wip
40f4788d
instantiator for CodeGenerator, and working repeat
d4e106ea
cleanup
638f5b9f
create base klass
cfd1a4f9
pass replacements as arguments/parameters
4769110e
generate klasses and subklasses
f027cba4
add fields
a9554e15
allocate from random class and set random field
5008137e
TestListOfOperators.java
71306ea9
update ideas / todos
5ecaa762
test generators
d0ebd25d
fill and special ints
8dc7020f
mixed int generator
d7057095
add long generators
0117bda9
first parts of verify
485d748b
verify all array types and native memory segment
92368860
compare object array, i.e. recursive array
d383c207
recursive refactor for Verify
65edcf48
pass context refactoring
47de91e8
unbox verify
ac0508ed
compact test
81f23703
non-equal tests
637aaae9
cleanup
79048ff8
verify example
29a904cf
initialize test values
34977f57
rm files of other PRs
ef8d8a50
update ideas
e7a13fb7
some cleanup
c39c302c
refactor name and fuel cost
99a73ecf
more documentation
24246dd8
renaming
57c83dfe
more docs
f27b0290
even more documentation
6f1f0ade
documentation for exception
c65e4a32
desc for Template
a0f70506
better documentation
0423cd00
more docs for template
d59da0cd
more documentation for selector
0b3a9a8c
small refactor and more docs
81ffd000
even more docs
9add1522
more docs for parameters
1a9d6fd2
more docs and more final
4f9db165
more documentation
57d5d382
even more docs
a79b8461
refactoring
62761240
readme stub
2b0979c2
more readme v2
cae46cb7
more links
8c5d2e55
simple example for readme
b27489a4
more readme
3dcfa224
more docs
ecf24631
more docs
be8c24ca
some basic testing for template
0c22a203
more testing for template
c8dbef6d
extend testing more
88699454
custom library template instantiation
5b3f9596
add todo
ac176bef
add test for TestClassInstantiator
60774725
test some first library calls
0da2a8ae
add dispatch test
e393eb51
add testClassInstantiatorAndDispatch
e4a2bf69
cleanup library, convert TestWIP to TestRandomCode
5c15ed38
small refactor
ef856ed6
testing choose
b911a930
test variable definition and sampling, refactor library a little for it
8e97043c
refactor def_var/field
895219b2
rename to add_var
dae124f0
fix variable test
3060a41c
fix whitespace and rename code to method_code
bdccc589
temporarily add generators so we can already use them
8bcf8c6c
refactor error messages for parameters.get and refactor int_con with …
c6b1a8c1
refactor and more documentation
1529784f
add testIntCon
994999ad
add testLongCon
b374e40a
TestRandomConstants add long test, need to add L to long_con
4626282a
testFuel
756d9ad3
move random code generation to the corresponding test
5b4014fe
loop example, must refactor local variable definition
eaee3a02
some recursive call tests
b424fb08
add test for sampling field
1d780774
rename final -> immutable
d2baed43
sample from mutable/immutable
ed46d8f1
more random code
899df4c0
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub