Skip to content

tck: osgi-test instead of the test.support base class - #30

Open
stbischof wants to merge 1 commit into
osgi:mainfrom
stbischof:tck-osgi-test
Open

stbischof wants to merge 1 commit into
osgi:mainfrom
stbischof:tck-osgi-test

Conversation

@stbischof

Copy link
Copy Markdown
Contributor
  • osgi-test instead of the test.support base class: AnnotationsTestCase injects the BundleContext with osgi-test and takes the test method name from TestInfo instead of extending the test.support AbstractOSGiTestCase; the expected attribute maps come from osgi-test's Dictionaries instead of test.support's Maps. osgi-test 1.4.0-SNAPSHOT. The run no longer carries JUnit 3/4. Strings stays on test.support, see tck/TEST-SUPPORT.md. Where the same methods of the tested object are called, the assertions say what they check (hasSize, isEmpty, isInstanceOf, ...). The run no longer carries the unused Awaitility, Hamcrest, Mockito, byte-buddy-agent and Objenesis.

Needs osgi-test 1.4.0-SNAPSHOT from Central snapshots. Full build with the TCK: 23 tests, 0 failures.

AnnotationsTestCase injects the BundleContext with osgi-test and takes
the test method name from TestInfo instead of extending the test.support
AbstractOSGiTestCase; the expected attribute maps come from osgi-test's
Dictionaries instead of test.support's Maps. osgi-test 1.4.0-SNAPSHOT.
The run no longer carries JUnit 3/4. Strings stays on test.support, see
tck/TEST-SUPPORT.md.

Where the same methods of the tested object are called, the assertions
say what they check (hasSize, isEmpty, isInstanceOf, ...). The run no
longer carries the unused Awaitility, Hamcrest, Mockito,
byte-buddy-agent and Objenesis.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant