• Home
  • History
  • Annotate
  • only in /external/junit-params/src/main/java/junitparams/internal/
History log of /external/junit-params/src/main/java/junitparams/internal/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c27747cb9107b2e81c50baccf20a96719f96baf1 26-May-2017 Paul Duffin <paulduffin@google.com> Fix JUnitParamsRunner so it works with CTS sharding am: b03560c325 am: 2f41cd20c0 am: f58521195e
am: 55edd63fa3

Bug:38419944
Change-Id: Idb0cf19a4fb6d7e9b6161a708c8c582f4393fdc4
(cherry picked from commit bf41e5d5462598381b2fe3ce7e0d5303450a4ca6)
eferredErrorFrameworkMethod.java
escribableFrameworkMethod.java
nstanceFrameworkMethod.java
nvokableFrameworkMethod.java
nvokeNonParameterisedMethod.java
nvokeParameterisedMethod.java
ethodBlockSupplier.java
onParameterisedFrameworkMethod.java
arameterisedFrameworkMethod.java
arameterisedTestClassRunner.java
arameterisedTestMethodRunner.java
arametrizedTestMethodsFilter.java
estMethod.java
ea07fbcef796fdacd3110b41eec7a6c6e55044fc 14-Dec-2016 Paul Duffin <paulduffin@google.com> Partially revert "Patch to make it compile against JUnit 4.10 and run on Android"

This partially reverts commit 6774bdc0447b72a618eab51772685010afd5647a.

Bug: 33613916
Test: make checkbuild
Change-Id: Iac008952ff1a0e6f89d8862e817a8b2480dcbb28
nvokeParameterisedMethod.java
estMethod.java
6774bdc0447b72a618eab51772685010afd5647a 20-Jul-2016 Paul Duffin <paulduffin@google.com> Patch to make it compile against JUnit 4.10 and run on Android

The main issues are:
* JUnit 4.10 does not support giving Description instances a
unique id, separate to its display name.
* JUnit 4.10's BlockJUnit4ClassRunner.validateFields(List)
method is private so cannot be overridden.
* JUnit 4.10 requires test classes to be static.
* JUnit 4.10 has no assertNotEquals() methods.
* Some of the tests need to be run from the project's root
directory in order to access file system resources. As a
result those tests do not work when run on the device and so
they are marked with @Ignore.

Bug: 30244565
Test: Ran the junit-params-test using vogar
Change-Id: I8f1bd602d07bedec1340373ad5747e3565ce617d
nvokeParameterisedMethod.java
estMethod.java
f60f4ca1e64958be1baa4988ac48f97903d14eaf 15-Jul-2016 Paul Duffin <paulduffin@google.com> Workaround Android's lack of java.beans.PropertyEditor/Manager

The classes are used to allow developers to customize
JUnitParams' handling of conversion from literal String values
to the type of parameters required by the parameterized test
methods.

This simply removes the code that uses the classes. That means
developers who require custom data types will have to accept
String parameters in their parameterized test methods and do the
conversions manually.

Bug: 30244565
Change-Id: I0dd479591d6fb60f0a08025c51ab3c9494c1bda2
Test: Once it compiles the tests will be run.
nvokeParameterisedMethod.java
e91f13f29b06462b03b1f757f206ab4d44e374b2 15-Jul-2016 Paul Duffin <paulduffin@google.com> Workaround Android's lack of javax.lang.model.type.NullType

The NullType class is used as a default value to indicate that
the @Parameters source attribute has not been explicitly set.
As such while it is externally visible it is not something that
clients would be depending upon. Clients are highly unlikely to
either check the source attribute themselves, or specify a value
of Void.class so this change should be safe.

Bug: 30244565
Test: Once it compiles the tests will be run.
Change-Id: If2d1c73e81aabc98f1431206279e82e9e043f4c0
arameters/ParametersFromExternalClassMethod.java
arameters/ParametersFromExternalClassProvideMethod.java
arameters/ParametersFromTestClassMethod.java
fd1f9491413fcdbfae3cbd43651db31fdabce41a 12-Jul-2016 Paul Duffin <paulduffin@google.com> Initial checkin of JUnitParams-1.0.5

Adds README.version, README.google, MODULE_LICENSE_APACHE2 files
as required by the process (see b/30087411).

The code does not yet compile; it requires patching to work with
Android API and JUnit 4.10. Those patches will be added in
separate commits to make it easy to identify the Android
specific changes. All the changes will be submitted together.

Bug: 30244565
Change-Id: Icf556377478c3afdd644c5e4db0ff18898f496ae
Test: Once it compiles the tests will be run.
nvokeParameterisedMethod.java
arameterisedTestClassRunner.java
arameterisedTestMethodRunner.java
arametrizedTestMethodsFilter.java
estMethod.java
tils.java
nnotation/CustomParametersDescriptor.java
nnotation/FrameworkMethodAnnotations.java
arameters/ParametersFromCustomProvider.java
arameters/ParametersFromExternalClassMethod.java
arameters/ParametersFromExternalClassProvideMethod.java
arameters/ParametersFromTestClassMethod.java
arameters/ParametersFromValue.java
arameters/ParametersReader.java
arameters/ParametrizationStrategy.java
arameters/ParamsFromMethodCommon.java