Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
JDF-461 - Fix Testes and added a missing header
Browse files Browse the repository at this point in the history
  • Loading branch information
rafabene committed Aug 26, 2013
1 parent 63a9069 commit dd7b0aa
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 20 deletions.
15 changes: 15 additions & 0 deletions src/main/resources/org/jboss/jdf/stacks/client/config.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# JBoss, Home of Professional Open Source
# Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
# contributors by the @authors tag. See the copyright.txt in the
# distribution for a full listing of individual contributors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
jdf.stacks.client.repo=https\://raw.github.com/jboss-jdf/jdf-stack/${stacks.branch}/stacks.yaml
jdf.prestacks.client.repo=https\://raw.github.com/jboss-jdf/jdf-stack/${stacks.branch}/pre-stacks.yaml

36 changes: 16 additions & 20 deletions src/main/resources/stacks.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#JBoss, Home of Professional Open Source
# Copyright 2011, Red Hat, Inc., and individual contributors
# by the @authors tag. See the copyright.txt in the distribution for a
# full listing of individual contributors.

# This is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.

# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public
# License along with this software; if not, write to the Free
# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA, or see the FSF site: http://www.fsf.org.
# JBoss, Home of Professional Open Source
# Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
# contributors by the @authors tag. See the copyright.txt in the
# distribution for a full listing of individual contributors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.#All Rules


licenses:
- &lgpl http://www.gnu.org/copyleft/lesser.txt
Expand Down Expand Up @@ -254,7 +250,7 @@ availableBoms:
###############################
- &jboss-javaee-6_0-with-spring
id: jboss-javaee-6_0-with-spring
name: JJava EE 6 with Spring
name: Java EE 6 with Spring
description: Dependency Management for Java EE 6 Specification APIs with Spring
groupId: org.jboss.bom
artifactId: jboss-javaee-6.0-with-spring
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public void testSystemProperty() {
Assert.fail("Should fail with a not valid URL from system Property");
} catch (IllegalStateException e) {
Assert.assertNotNull("Should fail with a not valid URL from system Property", e);
}finally{
//Reset System property after this test
System.getProperties().remove(DefaultStacksClientConfiguration.REPO_PROPERTY);
}
}

Expand Down

0 comments on commit dd7b0aa

Please sign in to comment.