rfe11815: Callimachus auditing tests

With this change, the test.callimachus package now includes tests to
verify that an AG Callimachus repository is an Auditing repository.

make prepush passes.
make java doc runs clean.

No release note, test suite only.

Change-Id: Ieab1e319cc823665e5bd2161054bd7c0202761c8
Reviewed-on: https://gerrit.franz.com:9080/2498
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Gary Warren King <gwking@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11841: add AuditingPurgeTest and update repository-auditing library

With this change, the Callimachus repository-auditing library and test
code have been updated to use openrdf-alibaba-2.0-rc5.jar, and a new
AGAuditingPurgeTest was added.

Tests can be run using:

ant test-junit -Dtest=test.callimachus.AGAuditingPurgeTest
ant test-junit -Dtest=test.callimachus.AGAuditingTest

make prepush passes
make javadoc runs clean

No release note, test suite only.

Change-Id: I7dcc0ec55c84df5cb07fd141b9fa92251072ebf0
Reviewed-on: https://gerrit.franz.com:9080/2521
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Gary Warren King <gwking@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11868: prepush tests for DEFAULT and default dataset behavior

Added SparqlDefaultTest and SparqlDefaultDatasetTest to prepush
tests to verify that AG stores behave like Sesame stores w.r.t
the DEFAULT graph and default dataset behavior, respectively.

make prepush passes.

Just tests, no release note needed.

Change-Id: I3cfe51ccd2868db086bfb5d6e147aa835252200d
Reviewed-on: https://gerrit.franz.com:9080/2579
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11869: tests for Literal/Resource results and context passing

Added tests LiteralAndResourceResultsTest and ContextsVarargsTest to
test and demo how to get Literal/URI/BNode instances from results,
and various ways of passing contexts as varags or a Resource array
to help clarify and avoid pitfalls.

make prepush passes.

Just tests, no release note needed.

Change-Id: I0e45b99789503e56fe10557c5046569c6f2bf296
Reviewed-on: https://gerrit.franz.com:9080/2580
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11876: update the Sesame SPARQL Update test suite

This change updates the Sesame SPARQL Update tests in AGSparqlUpdateTest
and adds AGSparqlUpdateConformanceTest to run DAWG update tests.

Tests can be run using:

$ ant sparql-update-tests

which (by default) runs a local copy of 63 approved DAWG tests followed
by (coincidentally) 63 additional openrdf update tests.

Just tests, no release note needed.

Change-Id: I1c8a80036340e149ef643564394951dfef30d13e
Reviewed-on: https://gerrit.franz.com:9080/2583
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11878: testTriggerAuditing updated

With this change, AGCallimachusTest.testTriggerAuditing has been
updated for current Callimachus store auditing behavior.

AGCallimachusTest was added to prepush tests as a sanity check
for Callimachus support.  make prepush passes.

Auditing and AuditingPurge tests can now also be run using:

% ant callimachus-tests

No release note needed, these are test suite modifications.

Change-Id: I8319a6c9b2b9725d26755985bd5e4df4161648c9
Reviewed-on: https://gerrit.franz.com:9080/2598
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
bug21413: delete lingering repo in DynamicCatalogTests

Deleting a dynamic catalog doesn't delete the repos in that
catalog.  With this change, the java test now deletes the
repo in the catalog before deleting the catalog.

make prepush passes

Change-Id: I88656c4006ff3fea0c98c52bab85d4779cf43707
Reviewed-on: https://gerrit.franz.com:9080/2613
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11898: Add repo.setTransactional(false); to Callimachus tests

tests added    : no
tests run      : only the Callimachus ones
performance    : none
release note   : none, internal change to testing only
fast trackable : YES

The tests do not succeed without this switch.

Change-Id: I3f01bdffb0124d731f48ae1f7ec2d610b43010f1
Reviewed-on: https://gerrit.franz.com:9080/2618
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11524: upgrade to jena 2.7.2 jars

<release-note>
With this change, the Java client has been upgraded to use
Jena 2.7.2 jars.
</release-note>

ant jena-compliance-tests pass.
make prepush passes.
make javadoc runs clean.
ant jena-tutorial runs clean.
make dist works, both tutorials run in Eclipse.

Change-Id: I1a90d46d968c2ed3232bea04b1cbf93bd1f99ac4
Reviewed-on: https://gerrit.franz.com:9080/2622
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11692: support automatic duplicate suppression

<release-note>
With this change, an AGRepository now supports several modes for automatic
duplicate suppression at commit-time.  See javadoc for details in methods
get/setDuplicateSuppressionPolicy.
</release-note>

added a prepush test for automatic duplicate suppression.
make prepush passes.
make javadoc runs clean.

Change-Id: I159551ef271ea81f238538f26302fbe693174c27
Reviewed-on: https://gerrit.franz.com:9080/2623
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe11906: support materialization

<release-note>
With this change, the Java client now supports materialization, allowing
inferences to be generated and added to a repository in a transactional
fashion.  See the Javadoc for AGMaterializer#newInstance() to acquire a
configurable materializer, and AGRepositoryConnection#materialize to run
the materializer.
<release-note>

added prepush test AGMaterializerTests
make prepush passes
make javadoc runs clean.

Change-Id: I97cbb592a100f6df4e1974fa7e1fc83b1766400c
Reviewed-on: https://gerrit.franz.com:9080/2641
Reviewed-by: John O'Rourke <jor@franz.com>
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
Resolve conflicts in 4.9 to 4.9.1 merge

Change-Id: I930b81bbd70455db025f76accb19548d87efd659