On Wed, Apr 4, 2012 at 11:46 AM, Charith Wickramarachchi <char...@wso2.com>wrote:
> Hi Subesh, > > Here i only want to exclude only this test Class. But Looks like In G-reg > there are no testng.xml > Hi Charith, Yes, we don't use testng.xml. Adding an exclusion entry <exclude>**/*SchemaTestCase</exclude> to integration/registry/tests/pom.xml would do. Thanks > > thanks, > Charith > > On Wed, Apr 4, 2012 at 11:24 AM, Charith Wickramarachchi <char...@wso2.com > > wrote: > >> >> >> On Wed, Apr 4, 2012 at 11:13 AM, Subash Chaturanga <sub...@wso2.com>wrote: >> >>> >>> Hi Charith, >>> >>> On Mon, Apr 2, 2012 at 11:52 PM, <char...@wso2.com> wrote: >>> >>>> Author: charith >>>> Date: Mon Apr 2 14:22:36 2012 >>>> New Revision: 124600 >>>> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=124600 >>>> >>>> Log: >>>> commenting SchemaTestCase >>>> >>> >>> When commenting a test, unless there is a very specific reason, please >>> add it to the integration module exclusion list in the pom. There, it has >>> more visibility and clear for everyone to directly identify which tests are >>> not running at the moment. I just noticed this exclusion as I saw the L1 >>> raised regarding this. >>> >>> >> >> >> Hi Subash , >> >> Thanks for pointing this out. I'll do the change >> >> regards, >> Charith >> >> >> >> >>> Thanks >>> >>> >>>> Modified: >>>> >>>> carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/org/wso2/carbon/registry/governance/api/test/SchemaTestCase.java >>>> >>>> Modified: >>>> carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/org/wso2/carbon/registry/governance/api/test/SchemaTestCase.java >>>> URL: >>>> http://wso2.org/svn/browse/wso2/carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/org/wso2/carbon/registry/governance/api/test/SchemaTestCase.java?rev=124600&r1=124599&r2=124600&view=diff >>>> >>>> ============================================================================== >>>> --- >>>> carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/org/wso2/carbon/registry/governance/api/test/SchemaTestCase.java >>>> (original) >>>> +++ >>>> carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/org/wso2/carbon/registry/governance/api/test/SchemaTestCase.java >>>> Mon Apr 2 14:22:36 2012 >>>> @@ -35,7 +35,7 @@ >>>> >>>> private Registry registry; >>>> >>>> - @BeforeClass(groups = {"wso2.greg"}) >>>> + //@BeforeClass(groups = {"wso2.greg"}) >>>> public void initTest() { >>>> registry = TestUtils.getRegistry(); >>>> try { >>>> @@ -46,7 +46,7 @@ >>>> } >>>> } >>>> >>>> - @Test(groups = {"wso2.greg"}) >>>> + //@Test(groups = {"wso2.greg"}) >>>> public void testAddSchema() throws Exception { >>>> SchemaManager schemaManager = new SchemaManager(registry); >>>> >>>> @@ -101,7 +101,7 @@ >>>> Assert.assertNull(deletedSchema); >>>> } >>>> >>>> - @Test(groups = {"wso2.greg"}) >>>> + //@Test(groups = {"wso2.greg"}) >>>> public void testAddSchemaFromContent() throws Exception { >>>> SchemaManager schemaManager = new SchemaManager(registry); >>>> byte[] bytes = null; >>>> @@ -132,7 +132,7 @@ >>>> >>>> Assert.assertTrue(registry.resourceExists("/trunk/schemas/org/bar/purchasing/newPurchasing.xsd")); >>>> } >>>> >>>> - @Test(groups = {"wso2.greg"}) >>>> + //@Test(groups = {"wso2.greg"}) >>>> public void testAddSchemaFromContentNoName() throws Exception { >>>> SchemaManager schemaManager = new SchemaManager(registry); >>>> byte[] bytes = null; >>>> _______________________________________________ >>>> Commits mailing list >>>> comm...@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/commits >>>> >>> >>> >>> >>> -- >>> >>> Subash Chaturanga >>> Software Engineer >>> WSO2 Inc. http://wso2.com >>> >>> email - sub...@wso2.com >>> phone - 077 2225922 >>> >>> >> >> >> -- >> Charith Dhanushka Wickramarachchi >> Software Engineer >> WSO2 Inc >> http://wso2.com/ >> http://wso2.org/ >> >> blog >> http://charithwiki.blogspot.com/ >> >> twitter >> http://twitter.com/charithwiki >> >> Mobile : 0776706568 >> >> >> > > > -- > Charith Dhanushka Wickramarachchi > Software Engineer > WSO2 Inc > http://wso2.com/ > http://wso2.org/ > > blog > http://charithwiki.blogspot.com/ > > twitter > http://twitter.com/charithwiki > > Mobile : 0776706568 > > > -- Subash Chaturanga Software Engineer WSO2 Inc. http://wso2.com email - sub...@wso2.com phone - 077 2225922
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev