aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.core.test/src/org
AgeCommit message (Collapse)Author
2018-01-19Fix a couple of jacoco unit tests.Pete Gillin
This updates the jacoco unit tests to reflect http://ag/904368 and http://aosp/275076. Test: mvn clean install -Djdk.version=1.9 -Dbytecode.version=1.9 (in org.jacoco.build/) Change-Id: I67824ac804f577edc0cedcba7619f25d90455d04
2018-01-01Happy New Year 2018!Evgeny Mandrikov
2018-01-01Restore exec files compatibility regarding Java 9 class files (#636)Evgeny Mandrikov
2017-12-28Offline instrumentation should not damage module-info (#634)Evgeny Mandrikov
2017-12-20Instrumentation should not damage structured locking (#627)Allen Hair
2017-12-19Add filter for duplicates of finally blocks (#604)Evgeny Mandrikov
2017-12-05Fix typosEvgeny Mandrikov
2017-11-15Add build with JDK 10-eaEvgeny Mandrikov
2017-11-01Fix test that doesn't pass bytecode verification of Eclipse OpenJ9 JVMEvgeny Mandrikov
"JVMCFRE107 offset out of range in jump bytecode"
2017-10-19Upgrade ASM to 6.0 (#600)Roberto Araujo
2017-10-17Add filter for methods annotated with @groovy.transform.Generated (#610)Michael Hoffmann
2017-10-09Descriptive names for all tests in FrameSnapshotTest (#609)Marc R. Hoffmann
2017-10-09Add test of ASM bug 317792 (#607)Evgeny Mandrikov
2017-10-07Update links to ASM issuesEvgeny Mandrikov
2017-10-07Add test of ASM bug 317793 (#606)Evgeny Mandrikov
2017-10-04Apply naming convention and add missing testsMarc R. Hoffmann
2017-09-30Suppress compiler warningMarc R. Hoffmann
2017-09-29Yak shaving: add ability to merge coverage of several instructions (#601)Evgeny Mandrikov
This is required for implementation of filter of duplicate blocks that compilers generate for `finally`.
2017-09-25Yak shaving: determine covered branches for each instruction (#598)Evgeny Mandrikov
This is required for merge of coverage information from several instructions that cover different branches, which in his turn is required for implementation of filter of duplicate blocks that compilers generate for `finally`.
2017-09-24Add filter for bytecode that javac generates for String in switch (#596)Evgeny Mandrikov
2017-08-15Fix assertions for JDK 8 >= u152 (#576)Evgeny Mandrikov
2017-05-25Add location to IOException when unable to read stream during analysisEvgeny Mandrikov
2017-05-25ExecDumpClient should report error when no data is retrieved (#538)Marc R. Hoffmann
2017-05-09Add filter for private empty constructors that do not have arguments (#529)Evgeny Mandrikov
2017-05-04Add input name to IOException if unable to read during instrumentation (#527)Evgeny Mandrikov
2017-04-22Add filter for try-with-resources statement (#500)Evgeny Mandrikov
2017-04-04Fix compiler warnings reported in Eclipse (#514)Marc R. Hoffmann
2017-04-03Use new filtering API for existing filter of methods in enums (#512)Evgeny Mandrikov
2017-04-03Add filter for methods annotated with @lombok.Generated (#513)Marc R. Hoffmann
Based on initial contribution by RĂ¼diger zu Dohna.
2017-04-03Use new filtering API for existing filter of synthetic methods (#511)Evgeny Mandrikov
2017-03-28Add internal API for filters and filter for synchronized statement (#501)Evgeny Mandrikov
2017-03-28Separate test scenarios in different methods (#504)Marc R. Hoffmann
There are side effects between subsequent control structures for different compilers. To avoid such effects test code is separated in different methods.
2017-03-22Use isJDKCompiler constant to validate all cases (#503)Marc R. Hoffmann
2017-03-20Tests can detect that they were compiled by ECJ (#497)Evgeny Mandrikov
2017-02-27Exclude enum methods "values" and "valueOf" from reports (#491)Evgeny Mandrikov
2017-01-17MethodAnalyzerTest should not violate contracts of ASM API (#480)Evgeny Mandrikov
In particular visitLineNumber methods must be called after the labels passed as arguments have been visited. This is important because otherwise test does not simulate behavior of reading from bytecode.
2017-01-16Add missing assertions (#477)Evgeny Mandrikov
Most of them demonstrate difference between ECJ and JDK compilers in generation of bytecode for try-catch-finally.
2017-01-04Do not recompute frames in case of large methods (#177)Evgeny Mandrikov
Upgrade ASM to 5.2 to do so.
2017-01-04Add missing test case that is described in documentation (#475)Evgeny Mandrikov
2017-01-03Happy New Year 2017!Evgeny Mandrikov
2016-12-15Fix build failure with JDK 9 EA b148 (#470)Evgeny Mandrikov
2016-12-14Make FORMAT_VERSION non-constantBrett Kail
If a constant expression is assigned to a static final variable, javac will inline the constant value in the caller, which means constants should only be used for values that will never change. Otherwise, calling code must be recompiled when upgrading to a new version of the library even if the caller would otherwise not require any changes.
2016-12-14Move JaCoCo.ASM_API_VERSION to InstrSupportBrett Kail
2016-11-14To prevent regressions add test for annotation with an initializer (#460)Evgeny Mandrikov
2016-08-18Assert execution order in validation tests with type cycles (#443)Marc R. Hoffmann
The method execution order in type cycles depends on the JVM implementation. This validation ensure our test setup produce the required scenarios.
2016-08-17Improve ValidationTestBase (#440)Marc R. Hoffmann
- Allow multiple classes to be instrumented from a package - Common validation test base for "bad cycles test" - Use "main(String[])" method as common execution interface - Use identifiers for all line tags
2016-08-16Do not add members into interfaces with only abstract and clinit methods (#441)Evgeny Mandrikov
2016-08-16Do not violate JVMS regarding initialization of final fields (#434)Evgeny Mandrikov
Without this change instrumented classes can't pass checks and cause IllegalAccessError starting from OpenJDK 9 EA b127 (see https://bugs.openjdk.java.net/browse/JDK-8157181).
2016-08-01Execute core tests with bytecode version 9 (#411)Evgeny Mandrikov
And build using two different versions of JDK 9 EA in Travis: * `9-ea` - currently under testing and hence failures are allowed while we investigate them * `9-ea-stable` - tested previously and hence failures are not allowed, so that to verify that new changes do not introduce regressions For example fixes on our side were required for the changes introduced in JDK 9 EA b119 and b122 and still required for b127.
2016-06-24Fix instrumentation of interfaces with default methods (#428)Evgeny Mandrikov
Without this change instrumented classes can't pass consistency checks for a constant pool and cause IncompatibleClassChangeError starting with OpenJDK 9 EA b122 (see https://bugs.openjdk.java.net/browse/JDK-8145148).