[x3d-public] FW: X3DJSAIL build. Junit jar missing.

John Carlson yottzumm at gmail.com
Thu Jun 28 20:38:22 PDT 2018


Perhaps you want assertEquals?  Not sure.

John

On Thu, Jun 28, 2018, 8:32 PM John Carlson <yottzumm at gmail.com> wrote:

> I was able to execute tests with fixes to the 2 build.xml’s but the tests
> failed.
>
>
>
> John
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Don Brutzman <brutzman at nps.edu>
> *Sent: *Thursday, June 28, 2018 7:06 PM
> *To: *John Carlson <yottzumm at gmail.com>; X3D Graphics public mailing list
> <x3d-public at web3d.org>
> *Subject: *Re: [x3d-public] FW: X3DJSAIL build. Junit jar missing.
>
>
>
> Thanks for report.  Please see stylesheets/ directory, ant build.xml
> target "get.junit5.jars" to remedy the situation.  am fiddling with
> stylesheets/nbproject/ and stylesheets/java/nbproject/ files too, just
> committed some trial changes there.
>
>
>
> note that destination property ${junit5.site} is based on ANT_HOME
> environmental variable, and depends on ant v1.10.3, and remains
> experimental (i.e. not yet working).  i have a eXtreme programming session
> planned Friday afternoon to either successfully finish the port to junit5,
> or else back off and use junit4 instead.
>
>
>
> results will be in the "tests" package so don't worry if the
> FieldObjectTests.java trial program there doesn't yet work.  better yet, a
> beverage of choice awaits anyone who gets it working...  8)
>
>
>
>
>
> On 6/26/2018 9:01 PM, John Carlson wrote:
>
> >      [javac] Compiling 1 source file to C:\x3d-code\www.web3d.org
> \x3d\stylesheets\java\classes
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:34:
> error: package org.junit.jupiter.api does not exist
>
> >
>
> >      [javac] import org.junit.jupiter.api.Test;
>
> >
>
> >      [javac]                             ^
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:35:
> error: package org.junit.jupiter.api does not exist
>
> >
>
> >      [javac] import static org.junit.jupiter.api.Assertions.assertEquals;
>
> >
>
> >      [javac]                                    ^
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:35:
> error: static import only from classes and interfaces
>
> >
>
> >      [javac] import static org.junit.jupiter.api.Assertions.assertEquals;
>
> >
>
> >      [javac] ^
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:36:
> error: package org.junit.jupiter.api does not exist
>
> >
>
> >      [javac] import static org.junit.jupiter.api.Assertions.assertTrue;
>
> >
>
> >      [javac]                                    ^
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:36:
> error: static import only from classes and interfaces
>
> >
>
> >      [javac] import static org.junit.jupiter.api.Assertions.assertTrue;
>
> >
>
> >      [javac] ^
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:57:
> error: cannot find symbol
>
> >
>
> >      [javac]     @Test
>
> >
>
> >      [javac]      ^
>
> >
>
> >      [javac]   symbol:   class Test
>
> >
>
> >      [javac]   location: class FieldObjectTests
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:63:
> error: cannot find symbol
>
> >
>
> >      [javac]         assertTrue(false, "this test should fail");
>
> >
>
> >      [javac]         ^
>
> >
>
> >     [javac]   symbol:   method assertTrue(boolean,String)
>
> >
>
> >      [javac]   location: class FieldObjectTests
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:64:
> error: cannot find symbol
>
> >
>
> >      [javac]         assertTrue(SFBoolObject.matches("blah"),
> "SFBoolObject.matches(\"blah\") should fail");
>
> >
>
> >      [javac]         ^
>
> >
>
> >      [javac]   symbol:   method assertTrue(boolean,String)
>
> >
>
> >      [javac]   location: class FieldObjectTests
>
> >
>
> >      [javac] C:\x3d-code\www.web3d.org\x3d\stylesheets\java\src\org\web3d\x3d\tests\FieldObjectTests.java:65:
> error: cannot find symbol
>
> >
>
> >      [javac]         assertTrue(testSFBoolObject.matches(),
> "testSFBoolObject.matches()");
>
> >
>
> >      [javac]         ^
>
> >
>
> >      [javac]   symbol:   method assertTrue(boolean,String)
>
> >
>
> >      [javac]   location: class FieldObjectTests
>
> >
>
> >      [javac] 9 errors
>
> >
>
> > BUILD FAILED
>
> >
>
> > C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml:343: Compile
> failed; see the compiler error output for details.
>
> >
>
> > Total time: 28 seconds
>
> >
>
> > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
> >
>
> >
>
> >
>
> > _______________________________________________
>
> > x3d-public mailing list
>
> > x3d-public at web3d.org
>
> > http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
> >
>
>
>
>
>
> all the best, Don
>
> --
>
> Don Brutzman  Naval Postgraduate School, Code USW/Br
> brutzman at nps.edu
>
> Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
>
> X3D graphics, virtual worlds, navy robotics
> http://faculty.nps.edu/brutzman
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180628/11e77fb8/attachment-0001.html>


More information about the x3d-public mailing list