Comments (3)
Hi @ixuz, I'm afraid this is a limitation of Mockito. Have a look at mockito/mockito#3273 for further information.
from lwjgl3.
Thanks so so much for the quick reply 👍
Yes, seems to be related to the GL11
classhaving native
methods.
Tbh, I don't know exactly what that means, but thank you for the reference to the relevant issue.
On a final note, do you have any recommendation on how to unit test these kind of methods?
Meanwhile, I'll close this issue, as it seems like problem is more related to Mockito than LWJGL.
from lwjgl3.
On a final note, do you have any recommendation on how to unit test these kind of methods?
Unfortunately, no. I would just test rendering by comparing screenshots and gbuffers.
from lwjgl3.
Related Issues (20)
- [Question] Is there any reason why Eearly Access 3.3.4 missing lwjgl.jar? HOT 1
- joml-primitives missing HOT 1
- Build fails with zstd 1.5.6, but build without errors with 1.5.5 HOT 3
- Skia API HOT 2
- More javadoc issues
- lwjgl.dll missing while running code from module openvr HOT 1
- [Suggestion] MemoryUtil should support primitive arrays for pointers/memAddresses
- [LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers. HOT 1
- [MacOS] does not render while resizing HOT 5
- loading AWT Font causes glfwPollEvents() to never return HOT 2
- wrong point count for nk_fill_polygon, nk_stroke_polygon, and nk_stroke_polyline HOT 2
- ThreadLocalUtil natives does not check for errors.
- Incorrect buffer size check in meshopt_spatialSortRemap function
- Assimp trying to load 3ds File HOT 1
- [Suggestion]: use canary values to catch memory out of boundary errors when the debug option is enabled
- Unable to create GLFW Window HOT 1
- TinyFileDialogs.ntinyfd_selectFolderDialog freezes UI thread for 65 seconds HOT 1
- Crash caused by Nuklear HOT 1
- /tmp mounted with `noexec` is not handled gracefully HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lwjgl3.