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)
- LWJGL 3.3.4 crash in Vulkan natives (MoltenVK) on MacOS HOT 3
- New bindings: bimg HOT 1
- Why LWJGL uses arrays for pointers instead of AtomicIntegers? HOT 1
- virus detected in latest lwjgl.zip download by ms edge HOT 4
- Assimp trying to load 3ds File HOT 2
- [Suggestion]: use canary values to catch memory out of boundary errors when the debug option is enabled
- Unable to create GLFW Window HOT 2
- TinyFileDialogs.ntinyfd_selectFolderDialog freezes UI thread for 65 seconds HOT 2
- Crash caused by Nuklear HOT 12
- /tmp mounted with `noexec` is not handled gracefully HOT 1
- Binding bug on glXGetGPUIDsAMD() in GLXAMDGPUAssociation HOT 1
- [LWJGL] GLFW_PLATFORM_ERROR error on Parallels for Mac HOT 2
- Null result from `aiImportFileFromMemory()` HOT 3
- [Suggestion] Support both 64k and 4k pagesize for lwjgl jemalloc-natives-linux-ppc64le package
- Broken animations on model imported using Assimp HOT 5
- Issue with swapChainExtent changing - kotlin HOT 1
- Trying to load FMODStudio in 3.3.4 crashes with SIGSEGV on Mac OS X HOT 2
- Typing ERROR Contributed to Can't build HOT 1
- LWJGL 3.3.4 GLFW issues on Linux Wayland HOT 6
- Why does GLFWVidMode#refreshRate() not round the refresh rate? 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.