Update of /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/manifest
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv15882/input/javasrc/biz/xsoftware/manifest
Modified Files:
TestManifestInfo.java ManifestInfo.java
Log Message:
fixed a bug in ignore... ported the examples
Index: TestManifestInfo.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/manifest/TestManifestInfo.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestManifestInfo.java 19 Feb 2006 19:20:51 -0000 1.2
--- TestManifestInfo.java 7 Aug 2006 15:52:45 -0000 1.3
***************
*** 29,33 ****
super(arg0);
}
! public void setUp() {
String jarLoc = System.getProperty("jar.name");
if(jarLoc != null) //for tests run from ant
--- 29,34 ----
super(arg0);
}
! @Override
! public void setUp() {
String jarLoc = System.getProperty("jar.name");
if(jarLoc != null) //for tests run from ant
Index: ManifestInfo.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/manifest/ManifestInfo.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ManifestInfo.java 27 Jun 2005 03:40:35 -0000 1.1
--- ManifestInfo.java 7 Aug 2006 15:52:45 -0000 1.2
***************
*** 124,128 ****
* from out of the manifest. Uses the class's package to retrieve
* the manifest version info.
- * @param c The Class on whose package to use to get version info.
*/
public ManifestInfo() throws IOException {
--- 124,127 ----
***************
*** 171,175 ****
* @see java.lang.Object#toString()
*/
! public String toString() {
String manifestInfo = "\nManifest information...\n";
--- 170,175 ----
* @see java.lang.Object#toString()
*/
! @Override
! public String toString() {
String manifestInfo = "\nManifest information...\n";
***************
*** 188,196 ****
public interface ManifestUtil {
public File getFile(URL url);
! /**
! * @param manifest
! * @return
! */
! public String getMainClass(Manifest manifest);
public void exit(int code);
--- 188,193 ----
public interface ManifestUtil {
public File getFile(URL url);
!
! public String getMainClass(Manifest manifest);
public void exit(int code);
|