[testedby-commit] [testedby] r190 committed - adding classes

0 views
Skip to first unread message

test...@googlecode.com

unread,
May 2, 2010, 5:07:48 AM5/2/10
to testedb...@googlegroups.com
Revision: 190
Author: maestri.stefano
Date: Sun May 2 02:07:27 2010
Log: adding classes
http://code.google.com/p/testedby/source/detail?r=190

Added:

/trunk/src/test/java/it/javalinux/testedby/testsupport/ClassUnderTestThreeAnnotationOnClass.java

/trunk/src/test/java/it/javalinux/testedby/testsupport/ClassUnderTestThreeAnnotationOnMethod.java
/trunk/src/test/java/it/javalinux/testedby/testsupport/TestClassThree.java

=======================================
--- /dev/null
+++
/trunk/src/test/java/it/javalinux/testedby/testsupport/ClassUnderTestThreeAnnotationOnClass.java
Sun May 2 02:07:27 2010
@@ -0,0 +1,39 @@
+/*
+ * Stefano Maestri, javalinuxlabs.org Copyright 2008, and individual
contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.
+ */
+package it.javalinux.testedby.testsupport;
+
+import it.javalinux.testedby.annotations.TestedBy;
+
+/**
+ * @author Stefano Maestri stefano...@javalinux.it
+ *
+ */
+@TestedBy(testClass = "TestClassThree", testMethod = "testMethodOne")
+public class ClassUnderTestThreeAnnotationOnClass {
+
+ public void methodOne() {
+
+ }
+
+ public void methodTwo() {
+
+ }
+}
=======================================
--- /dev/null
+++
/trunk/src/test/java/it/javalinux/testedby/testsupport/ClassUnderTestThreeAnnotationOnMethod.java
Sun May 2 02:07:27 2010
@@ -0,0 +1,39 @@
+/*
+ * Stefano Maestri, javalinuxlabs.org Copyright 2008, and individual
contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.
+ */
+package it.javalinux.testedby.testsupport;
+
+import it.javalinux.testedby.annotations.TestedBy;
+
+/**
+ * @author Stefano Maestri stefano...@javalinux.it
+ *
+ */
+public class ClassUnderTestThreeAnnotationOnMethod {
+
+ @TestedBy(testClass = "TestClassThree")
+ public void methodOne() {
+
+ }
+
+ public void methodTwo() {
+
+ }
+}
=======================================
--- /dev/null
+++
/trunk/src/test/java/it/javalinux/testedby/testsupport/TestClassThree.java
Sun May 2 02:07:27 2010
@@ -0,0 +1,43 @@
+/*
+ * Stefano Maestri, javalinuxlabs.org Copyright 2008, and individual
contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.
+ */
+package it.javalinux.testedby.testsupport;
+
+import static org.junit.Assert.fail;
+
+import org.junit.Test;
+
+/**
+ * @author Stefano Maestri stefano...@javalinux.it
+ *
+ */
+
+public class TestClassThree {
+
+ @Test
+ public void testMethodOne() {
+ fail();
+ }
+
+ @Test
+ public void testMethodTwo() {
+
+ }
+}

--
You received this message because you are subscribed to the Google Groups "testedby-commit" group.
To post to this group, send email to testedb...@googlegroups.com.
To unsubscribe from this group, send email to testedby-comm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testedby-commit?hl=en.

Reply all
Reply to author
Forward
0 new messages