Author: vishwanathk Date: Thu Apr 18 17:48:11 2013 New Revision: 1469491 URL: http://svn.apache.org/r1469491 Log: TOMEE-898 Thanks for the patch, David Salter ! Move the class from default package to the right package
Added: tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/ tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/superbiz/ tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/superbiz/designbycontract/ tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/superbiz/designbycontract/OlympicGamesTest.java (contents, props changed) - copied, changed from r1469443, tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/OlympicGamesTest.java Removed: tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/OlympicGamesTest.java Copied: tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/superbiz/designbycontract/OlympicGamesTest.java (from r1469443, tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/OlympicGamesTest.java) URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/superbiz/designbycontract/OlympicGamesTest.java?p2=tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/superbiz/designbycontract/OlympicGamesTest.java&p1=tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/OlympicGamesTest.java&r1=1469443&r2=1469491&rev=1469491&view=diff ============================================================================== --- tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/OlympicGamesTest.java (original) +++ tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/superbiz/designbycontract/OlympicGamesTest.java Thu Apr 18 17:48:11 2013 @@ -1,4 +1,4 @@ -/* +package org.superbiz.designbycontract;/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. @@ -21,8 +21,6 @@ import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; -import org.superbiz.designbycontract.OlympicGamesManager; -import org.superbiz.designbycontract.PoleVaultingManager; import javax.ejb.EJB; import javax.ejb.EJBException; @@ -31,11 +29,8 @@ import javax.naming.Context; import javax.validation.ConstraintViolationException; import java.util.Properties; -import static junit.framework.Assert.assertEquals; -import static junit.framework.Assert.assertTrue; -import static junit.framework.Assert.fail; +import static junit.framework.Assert.*; -// TODO This needs to be in a non-default package public class OlympicGamesTest { private static Context context; Propchange: tomee/tomee/trunk/examples/bean-validation-design-by-contract/src/test/java/org/superbiz/designbycontract/OlympicGamesTest.java ------------------------------------------------------------------------------ svn:executable = *