From: Miggi <mig...@go...> - 2010-11-15 18:58:05
|
So...I've tried to cross-compile some JUnit-test which runs under android an these are the errors I receive: [xmlvm.ajavac] /Users/svp/Desktop/TennisMathDummy/src/com/tennismath/test/dummy/ForecasterTest.java:3: package org.junit does not exist [xmlvm.ajavac] import org.junit.Assert; [xmlvm.ajavac] ^ [xmlvm.ajavac] /Users/svp/Desktop/TennisMathDummy/src/com/tennismath/test/dummy/ForecasterTest.java:4: package org.junit does not exist [xmlvm.ajavac] import org.junit.Before; [xmlvm.ajavac] ^ [xmlvm.ajavac] /Users/svp/Desktop/TennisMathDummy/src/com/tennismath/test/dummy/ForecasterTest.java:5: package org.junit does not exist [xmlvm.ajavac] import org.junit.Test; [xmlvm.ajavac] ^ [xmlvm.ajavac] /Users/svp/Desktop/TennisMathDummy/src/com/tennismath/test/dummy/ForecasterTest.java:13: cannot find symbol [xmlvm.ajavac] symbol : class Before [xmlvm.ajavac] location: class com.tennismath.test.dummy.ForecasterTest [xmlvm.ajavac] @Before [xmlvm.ajavac] ^ [xmlvm.ajavac] /Users/svp/Desktop/TennisMathDummy/src/com/tennismath/test/dummy/ForecasterTest.java:18: cannot find symbol [xmlvm.ajavac] symbol : class Test [xmlvm.ajavac] location: class com.tennismath.test.dummy.ForecasterTest [xmlvm.ajavac] @Test [xmlvm.ajavac] ^ [xmlvm.ajavac] /Users/svp/Desktop/TennisMathDummy/src/com/tennismath/test/dummy/ForecasterTest.java:20: cannot find symbol [xmlvm.ajavac] symbol : variable Assert [xmlvm.ajavac] location: class com.tennismath.test.dummy.ForecasterTest [xmlvm.ajavac] Assert.assertNotNull(forecaster.forecast()); [xmlvm.ajavac] ^ [xmlvm.ajavac] 6 errors BUILD FAILED /Users/svp/Desktop/TennisMathDummy/nbproject/xcode.xml:179: The following error occurred while executing this line: /Users/svp/Desktop/TennisMathDummy/nbproject/androidsupport.xml:77: Compile failed; see the compiler error output for details. I hope these are the informations you want to see, Arno ;) Greetings, Miggi |