Created
August 29, 2009 22:10
-
-
Save groves/177698 to your computer and use it in GitHub Desktop.
JUnit happily runs a clamp class from ant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from junit.framework import TestCase | |
from clamp import Clamp, java, jvoid | |
class TestJUnit(Clamp, TestCase): | |
@java(jvoid) | |
def testAddition(self): | |
self.assertEquals(4, 1 + 3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
integrationtest: | |
[exec] Compiling 1 proxies to /Users/groves/dev/clamp/build/integration-classes | |
[junit] Testsuite: clampjunit.TestJUnit | |
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.007 sec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment