Update of /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24217/input/javasrc/biz/xsoftware/mock
Modified Files:
Behavior.java BehaviorMethod.java MethodSignature.java
ExpectFailedException.java CloningBehavior.java
CalledMethod.java MockLogHandler.java
Log Message:
- Adding Apache License header
- Javadoc cleanup
Index: BehaviorMethod.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock/BehaviorMethod.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BehaviorMethod.java 23 May 2008 19:06:08 -0000 1.1
--- BehaviorMethod.java 11 Feb 2009 16:29:02 -0000 1.2
***************
*** 1,2 ****
--- 1,16 ----
+ /*
+ * Copyright 2009 mocklib.sourceforge.net
+ *
+ * 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.
+ */
package biz.xsoftware.mock;
Index: MethodSignature.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock/MethodSignature.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MethodSignature.java 23 May 2008 19:06:09 -0000 1.1
--- MethodSignature.java 11 Feb 2009 16:29:02 -0000 1.2
***************
*** 1,2 ****
--- 1,16 ----
+ /*
+ * Copyright 2009 mocklib.sourceforge.net
+ *
+ * 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.
+ */
package biz.xsoftware.mock;
Index: MockLogHandler.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock/MockLogHandler.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MockLogHandler.java 23 May 2008 19:06:08 -0000 1.1
--- MockLogHandler.java 11 Feb 2009 16:29:02 -0000 1.2
***************
*** 1,2 ****
--- 1,16 ----
+ /*
+ * Copyright 2009 mocklib.sourceforge.net
+ *
+ * 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.
+ */
package biz.xsoftware.mock;
Index: CloningBehavior.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock/CloningBehavior.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CloningBehavior.java 15 May 2007 22:36:42 -0000 1.2
--- CloningBehavior.java 11 Feb 2009 16:29:02 -0000 1.3
***************
*** 1,2 ****
--- 1,16 ----
+ /*
+ * Copyright 2009 mocklib.sourceforge.net
+ *
+ * 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.
+ */
package biz.xsoftware.mock;
***************
*** 22,26 ****
public interface CloningBehavior extends Behavior
{
-
-
}
--- 36,38 ----
Index: ExpectFailedException.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock/ExpectFailedException.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ExpectFailedException.java 23 May 2008 19:06:07 -0000 1.3
--- ExpectFailedException.java 11 Feb 2009 16:29:02 -0000 1.4
***************
*** 1,7 ****
/*
! * Created on Apr 24, 2004
! *
! * To change the template for this generated file go to
! * Window - Preferences - Java - Code Generation - Code and Comments
*/
package biz.xsoftware.mock;
--- 1,15 ----
/*
! * Copyright 2009 mocklib.sourceforge.net
! *
! * 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.
*/
package biz.xsoftware.mock;
***************
*** 14,28 ****
*
* @author Dean Hiller
*/
public class ExpectFailedException extends RuntimeException {
-
- /**
- *
- */
private static final long serialVersionUID = 1L;
/**
* Expect failed because an event never came and waiting finally timed out.
*/
public static final String TIMED_OUT = "timed out waiting for method";
/**
* Expect failed because a method you did not list in expected methods was called after
--- 22,35 ----
*
* @author Dean Hiller
+ * @since Apr 24, 2004
*/
public class ExpectFailedException extends RuntimeException {
private static final long serialVersionUID = 1L;
+
/**
* Expect failed because an event never came and waiting finally timed out.
*/
public static final String TIMED_OUT = "timed out waiting for method";
+
/**
* Expect failed because a method you did not list in expected methods was called after
***************
*** 31,34 ****
--- 38,42 ----
public static final String UNEXPECTED_CALL_AFTER =
"Another method that was not expected nor ignored was called after all the expected method calls";
+
/**
* Expect failed because a method you did not list in expected methods was called
***************
*** 37,40 ****
--- 45,49 ----
public static final String UNEXPECTED_CALL_BEFORE =
"Another method that was not expected nor ignored was called before all the expected method calls were called";
+
/**
* Expect failed because you expected no methods to be called, but a method was called.
***************
*** 45,49 ****
private final CalledMethod[] methods;
-
/**
* Constructor for Expects that fail with a reason and message.
--- 54,57 ----
Index: Behavior.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock/Behavior.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Behavior.java 23 May 2008 19:06:06 -0000 1.7
--- Behavior.java 11 Feb 2009 16:29:02 -0000 1.8
***************
*** 1,2 ****
--- 1,16 ----
+ /*
+ * Copyright 2009 mocklib.sourceforge.net
+ *
+ * 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.
+ */
package biz.xsoftware.mock;
***************
*** 48,52 ****
* console
*
! * @author Dean Hiller, Brian Freeman
*/
public interface Behavior {
--- 62,67 ----
* console
*
! * @author Dean Hiller
! * @author Brian Freeman
*/
public interface Behavior {
Index: CalledMethod.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock/CalledMethod.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CalledMethod.java 23 May 2008 19:06:07 -0000 1.4
--- CalledMethod.java 11 Feb 2009 16:29:02 -0000 1.5
***************
*** 1,2 ****
--- 1,16 ----
+ /*
+ * Copyright 2009 mocklib.sourceforge.net
+ *
+ * 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.
+ */
package biz.xsoftware.mock;
***************
*** 9,13 ****
* This object contains information about a MockObject method when it is called
*
! * @author Dean Hiller, Brian Freeman
* @since Aug 12, 2004
*/
--- 23,28 ----
* This object contains information about a MockObject method when it is called
*
! * @author Dean Hiller
! * @author Brian Freeman
* @since Aug 12, 2004
*/
|