aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.core.test
AgeCommit message (Collapse)Author
2017-06-27Revert "Add ClassnameMatcher in preparation to pass into Instrumenter for ↵Jeff Gaston
filtering" This reverts commit bbe2e9a9b2c9f829bc5e906c218244205c5bfbab. Reason for revert: moving filtering out of Jacoco and into Make Change-Id: I58b9c4eb1fc6d6984cf7cb4b9dd74bdbcf4f8956
2017-06-15Add ClassnameMatcher in preparation to pass into Instrumenter for filteringJeff Gaston
Change-Id: I17f66e03a2ae2d2177132e54ffb14815c24b4f13
2017-06-15Move WildcardMatcher into new 'matcher' packageJeff Gaston
Change-Id: If7997e60d9fbcc53c297793530eeafa97b38d7ee
2017-05-22Merge remote-tracking branch 'aosp/upstream-pull-525' into masterandroid-o-preview-3Jeff Gaston
* aosp/upstream-pull-525: Increase checked size for build result Fix description. Remove unnecessary .gitignore New option -quiet for all commands Tests for XML documentation generator. Test and documentation for multiple values. Adjust test case names to new conventions. Command to print version. Update documentation for command line interface Close ServerSocket in tests. Wrap long usage lines in documentation. Make sure the build runs with Java 5. Flush output automatically Use -dest for option name as output can be folder or file. Correct test method naming. Remove obsolete, commented configuration. Github #525: Simple Command Line Interface Change-Id: Ia4c47f78760fc756ecc029ff4bc21d265e22d82a
2017-05-09Add filter for private empty constructors that do not have arguments (#529)Evgeny Mandrikov
2017-05-08Merge branch 'master' into issue-525upstream-pull-525Marc R. Hoffmann
2017-05-04Add input name to IOException if unable to read during instrumentation (#527)Evgeny Mandrikov
2017-04-28Github #525: Simple Command Line InterfaceMarc R. Hoffmann
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-02-27Fix test about "bad cycles" with interfaces for JDK8u152 (#492)Evgeny Mandrikov
2017-02-06Prepare for next development iterationEvgeny Mandrikov
2017-02-05Prepare release v0.7.9Evgeny Mandrikov
2017-02-05Consolidate .gitignore files (#485)Evgeny Mandrikov
2017-01-17Generate OSGi Manifests (#211)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-04Test that "ClassFormatError: Short length on BootstrapMethods" fixed by ASM ↵Evgeny Mandrikov
upgrade (#462)
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-12-11Prepare for next development iterationEvgeny Mandrikov
2016-12-10Prepare release v0.7.8Evgeny Mandrikov
2016-11-14To prevent regressions add test for annotation with an initializer (#460)Evgeny Mandrikov
2016-11-02Remove obsolete build config files (#458)Marc R. Hoffmann
Since we don't use Tycho starting from commit c58a91d2701fe0bc81f958e715801f4705d60b4a there is no need for PDE/Tycho specific build configuration.
2016-09-12Update comments about "bad cycles" with interfaces (#448)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).
2016-06-06Prepare for next development iterationEvgeny Mandrikov
2016-06-06Prepare release v0.7.7Evgeny Mandrikov
2016-05-27Upgrade to ASM 5.1 (#417)Evgeny Mandrikov
2016-05-23GitHub #300: Allow standard Maven build with any JDK.Marc R. Hoffmann
Test cases which require source level > 1.5 get separate source folders. These source folders are only considered if the corresponding "bytecode.version" property is specified for integration tests. The standard JaCoCo build targets Java 1.5 and will not execute any of these tests (regardless of the JDK version used for building).
2016-05-20Add experimental support for Java 9 class files (#406)Evgeny Mandrikov
2016-05-14Add location to IOException when unable to read input during analysis (#400)Evgeny Mandrikov
2016-04-19Fix compiler warning after plexus-utils upgrade (#402)Marc R. Hoffmann
Fix compiler warnings after plexus-utils upgrade