Last tutorial we worked a bit more on meshes and we have also talked about adding colors to our mesh. The most common way of adding colors to your mesh is to add a texture. There is a couple of different steps involved with adding a texture to the mesh I will try to go [...]
Entries from December 2010 ↓
OpenGL ES Tutorial for Android – Part VI – Textures
December 30th, 2010 by Per-Erik Bergman — Android, Embedded, Java
Tags: opengl es, programming, tutorial
Review of Crafting Rails Applications, by José Valim
December 30th, 2010 by Anders Janmyr — Dynamic languages
José Valim is one of the newest members of the Rails core team. Apart from this he has also developed some good gems, Devise, Responders, and SimpleForm, that I use for almost every project. And now he has written a book, a really good book, about advanced Rails programming techniques, called Crafting Rails Applications. The [...]
PowerMock with unsupported frameworks such as JMock
December 28th, 2010 by Johan Haleby — Java, Testing, Tips & Tricks
Currently PowerMock builds on top of EasyMock and Mockito to provide mocking of e.g. static methods and final classes using a familiar API. What most people don’t know is that it’s pretty easy to benefit from PowerMock even for frameworks it doesn’t support. JMock is another popular mocking framework that PowerMock currently doesn’t support but [...]
Tags: automated testing, Java, jmock, powermock
Using PowerMock with Spring integration testing
December 28th, 2010 by Johan Haleby — Java, Testing
I quite often get the question if PowerMock can be used together with Spring integration testing or other frameworks that require a JUnit runner to bootstrap. The answer up until now has been somewhat ambiguous. The reason is that for the last year or so we’ve been working with a new way of bootstrapping PowerMock [...]
Tags: automated testing, frameworks, powermock
REST Assured – Or how to easily test REST services in Java
December 27th, 2010 by Johan Haleby — Java, Testing
Testing and validating REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured is a Java DSL (built on top of HTTP Builder) that brings the simplicity of these languages into the Java domain. Example 1 – JSON Assume that a GET request to http://localhost:8080/lotto returns JSON as: [...]
Tags: automated testing, frameworks, Java, rest
Theme aware panorama background in windows phone 7
December 16th, 2010 by Håkan Reis — Uncategorized
