All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.minimalj.util.mock.Mocking Maven / Gradle / Ivy

Go to download

A java framework aiming for a minimal programming style. Includes GUI and persistence layer.

There is a newer version: 2.5.0.0
Show newest version
package org.minimalj.util.mock;

/**
 * There are two kinds of classes implementing the mocking interface:
 * 
    *
  • Business classes
  • *
  • FormFields
  • *
* * The classes declare with this interface that they are able to fill itself * with random but valid data. It's kind of a 'Lorem Ipsum' for things other * than strings.

* * This can be very helpfull in JUnit tests. But also while manually testing * the GUIs. If DevMode is active there is a 'Demo' button in every dialog. * Instead of filling a complex form by hand a single click fills a fields * with mocked data.

* * The other classes in this package provide help to create good looking * data. * */ public interface Mocking { /** * The object should have random data after this call. And a * possible validation should report no errors. */ public void mock(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy