mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-10 18:15:58 +01:00
aec648c34b
Ensuring that the node has no items in transientNotificationOnlyNodeWithoutItemTest() is not right. An implementation is free to create an item with an ID and return it. The item is just not guaranteed to be persistent. Also add a dummy payload to transientNotificationOnlyNodeWithItemTest().
34 lines
1.2 KiB
Groovy
34 lines
1.2 KiB
Groovy
apply plugin: 'application'
|
|
|
|
description = """\
|
|
Smack integration tests."""
|
|
|
|
mainClassName = 'org.igniterealtime.smack.inttest.SmackIntegrationTestFramework'
|
|
applicationDefaultJvmArgs = ["-enableassertions"]
|
|
|
|
dependencies {
|
|
compile project(':smack-java7')
|
|
compile project(':smack-tcp')
|
|
compile project(':smack-extensions')
|
|
compile project(':smack-experimental')
|
|
compile project(':smack-omemo')
|
|
compile project(':smack-openpgp')
|
|
compile project(':smack-debug')
|
|
compile project(path: ":smack-omemo", configuration: "testRuntime")
|
|
compile 'org.reflections:reflections:0.9.11'
|
|
compile 'eu.geekplace.javapinning:java-pinning-java7:1.1.0-alpha1'
|
|
// Note that the junit-vintage-engine runtime dependency is not
|
|
// directly required, but it declares a dependency to
|
|
// junit:junit:4.12, which we currently need in sinttest, since it
|
|
// (ab)uses @Before from org.junit
|
|
compile "org.junit.vintage:junit-vintage-engine:$junitVersion"
|
|
compile 'junit:junit:4.12'
|
|
// Add Junit 5 API for e.g. assertThrows()
|
|
implementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
testCompile "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"
|
|
}
|
|
|
|
run {
|
|
// Pass all system properties down to the "application" run
|
|
systemProperties System.getProperties()
|
|
}
|