lttng-ust-java-tests.git
9 years agoDetach the test name printing listener after the test is run
Alexandre Montplaisir [Thu, 30 Jul 2015 20:23:00 +0000 (16:23 -0400)] 
Detach the test name printing listener after the test is run

Or else they keep piling up, and the message "Now running test XYZ"
is displayed several times.

9 years agoProvide default createSession() factory method
Alexandre Montplaisir [Thu, 30 Jul 2015 03:37:43 +0000 (23:37 -0400)] 
Provide default createSession() factory method

Users may not care what backend is actually used, we can provide
a default one.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMove the "LTTng control" to separate packages
Alexandre Montplaisir [Thu, 30 Jul 2015 00:19:28 +0000 (20:19 -0400)] 
Move the "LTTng control" to separate packages

This could move to its own project eventually?

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoIsolate the functions for executing shell commands in a new ShellUtils
Alexandre Montplaisir [Wed, 29 Jul 2015 23:25:51 +0000 (19:25 -0400)] 
Isolate the functions for executing shell commands in a new ShellUtils

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoAdd a TestRunner that will print test names to stdout
Alexandre Montplaisir [Wed, 29 Jul 2015 22:52:11 +0000 (18:52 -0400)] 
Add a TestRunner that will print test names to stdout

Eases debugging a bunch.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoEcho the commands being executed
Alexandre Montplaisir [Wed, 29 Jul 2015 21:07:14 +0000 (17:07 -0400)] 
Echo the commands being executed

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoAdd Javadoc and related settings
Alexandre Montplaisir [Mon, 27 Jul 2015 22:15:03 +0000 (18:15 -0400)] 
Add Javadoc and related settings

Always better to clearly identify what test does what.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoAdd copyright header to all source files
Alexandre Montplaisir [Mon, 27 Jul 2015 22:03:32 +0000 (18:03 -0400)] 
Add copyright header to all source files

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoActually add the profile to run the benchmarks
Alexandre Montplaisir [Sat, 25 Jul 2015 06:51:34 +0000 (02:51 -0400)] 
Actually add the profile to run the benchmarks

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoAdd a README and a LICENSE
Alexandre Montplaisir [Sat, 25 Jul 2015 06:29:33 +0000 (02:29 -0400)] 
Add a README and a LICENSE

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoConvert to a Maven project
Alexandre Montplaisir [Fri, 24 Jul 2015 22:39:36 +0000 (18:39 -0400)] 
Convert to a Maven project

That way it can run in other environments than the author's
Eclipse workspace.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoAdd multi-session tests
Alexandre Montplaisir [Fri, 24 Jul 2015 08:58:25 +0000 (04:58 -0400)] 
Add multi-session tests

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoTurn LttngSession(Control) into a non-static class
Alexandre Montplaisir [Fri, 24 Jul 2015 07:43:03 +0000 (03:43 -0400)] 
Turn LttngSession(Control) into a non-static class

By managing session objects, the session management becomes much
less verbose in the tests. Additionally, it becomes clear that
the @Before method has to create the session, and the @After has
to close it. And AutoCloseable rocks, as usual.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoAdd log4j and legacy-API tests
Alexandre Montplaisir [Fri, 24 Jul 2015 04:31:50 +0000 (00:31 -0400)] 
Add log4j and legacy-API tests

We can re-use the existing tests into an abstract class.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoAdd some integration tests for JUL
Alexandre Montplaisir [Fri, 24 Jul 2015 00:53:57 +0000 (20:53 -0400)] 
Add some integration tests for JUL

as well as more functionality to LttngSessionControl.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoRename the project to a general ust-java-tests
Alexandre Montplaisir [Thu, 23 Jul 2015 15:22:44 +0000 (11:22 -0400)] 
Rename the project to a general ust-java-tests

This can hold both unit/integration tests as well as
benchmarks. Reshuffle the package names a bit to do so.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoAdd benchmarks for old LTTng-JUL API vs. new one
Alexandre Montplaisir [Tue, 21 Jul 2015 20:12:53 +0000 (16:12 -0400)] 
Add benchmarks for old LTTng-JUL API vs. new one

Also move the tests in subpackages.

9 years agoSwitch to use the Lttng-Ust Java Agent API, refactor using JUnit
Alexandre Montplaisir [Tue, 21 Jul 2015 00:01:52 +0000 (20:01 -0400)] 
Switch to use the Lttng-Ust Java Agent API, refactor using JUnit

12 years agoCommit latest version
Alexandre Montplaisir [Mon, 11 Jun 2012 02:08:17 +0000 (22:08 -0400)] 
Commit latest version

12 years agoInitial commit
Alexandre Montplaisir [Fri, 4 May 2012 04:51:39 +0000 (00:51 -0400)] 
Initial commit

This page took 0.026506 seconds and 4 git commands to generate.