To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/20367ec0-5066-4a29-979d-e70bde0c91d3%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
+1 could not run it against all our projects, but I saw no problem so far.
Will try with custom test rules tomorrow.
Thanks
Michel
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/1ce4530b-024a-4959-83bb-b0d7a50e0f33%40googlegroups.com.
@Rule public ExpectedException expectedException = none();
or even
@Rule public final ExpectedException expectedException = ExpectedException.none();
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/37dcd150-c27d-47cb-9901-dfcc9b2922db%40googlegroups.com.
@Category(SystemIntegrationTest.class) public class MyJagacyTest {
@Rule public ClientConfigurationRule rule = new ClientConfigurationRule(this); @ConfigureClient(credentials=CredentialsType.FULL_ACCESS, target="target1", sessionName="session1") public Client client1; @ConfigureClient(credentials=CredentialsType.FULL_ACCESS, target="target2", sessionName="session2") public Client client2;
@Test public void method_should_doSomething_with_client1() { // here test code for client1. } @Test public void method_should_doSomethingElse_with_client1() {// here test code for client1.
} @Test public void method_should_doSomething_with_client2() {// here test code for client2.
} }
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/f886767f-2f98-4618-bf02-89736bad008e%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/91c6ef52-b019-49b3-8414-2ce6562c42f2%40googlegroups.com.
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release. An API bearing this annotation is exempt from any compatibility guarantees made by its containing library. Note that the presence of this annotation implies nothing about the quality or performance of the API in question, only the fact that it is not "API-frozen."
It is generally safe for applications to depend on beta APIs, at the cost of some extra work during upgrades. However it is generally inadvisable for libraries (which get included on users' CLASSPATHs, outside the library developers' control) to do so.