- 
        1. ClassLoader tests WAS: Running one-test or equivalent on AOPclebert.suconic Mar 21, 2006 7:09 PM (in response to clebert.suconic)Actually, what I would like to create a test case that does: 
 - create a ClassLoader,
 - test AOP on loaded classes
 - release reference to the classLoader
 - Verify if the class was loaded or not
 So, if I create a regular URLClassLoader(WithAllTheClassPathINeed), would AOP still work, or should I do any playing with Agents/ClassLoaders?
- 
        2. Re: Running one-test or equivalent on AOP projectkabirkhan Mar 22, 2006 4:40 AM (in response to clebert.suconic)If you are using loadtime aop you need to use either the SystemClassLoader or the -javaagent or -Xbootclasspath mechanisms. 
 The tests are in the main buiild.xml, which I have started some refactoring of to make it a more modular. There still is no one-test though
- 
        3. Re: Running one-test or equivalent on AOP projectclebert.suconic Mar 22, 2006 12:24 PM (in response to clebert.suconic)Don't you have an easier way to run individual tests? 
 I mean, I would expect you to use some low grain target to run your tests when you are developing. How do you run tests while developing?
- 
        4. Re: Running one-test or equivalent on AOP projectkabirkhan Mar 22, 2006 12:29 PM (in response to clebert.suconic)In eclipse: 
 Check this out
 http://wiki.jboss.org/wiki/Wiki.jsp?page=DebuggingJBossAOPInEclipse
 To do loadtime weaving, you can pass in the -javaagent or whatever flag as well
- 
        5. Re: Running one-test or equivalent on AOP projectkabirkhan Mar 23, 2006 3:32 AM (in response to clebert.suconic)I've added the two following targets: 
 *precompiled-test
 *loadtime-test
 They will run a single test in the "most common" mode. Note that the precompiled-test one will need a clean and recompile of the test classes if you want to run it again, so I guess the most useful is loadtime-test.
 Example usage:
 $ build.sh one-precompiled-test -Dtest=precedence
 will run all the tests found under org.jboss.test.aop.precedence. (most org.jboss.test.aop directories have only one test)
 
    